aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-07-20 14:29:45 +0200
committerHampusM <hampus@hampusmat.com>2022-07-20 14:29:45 +0200
commit2d1a6b2d432408d74eb57e0bda3f7434617e1070 (patch)
tree7e21f8126edfdfd9c40b4b51ba5626c6440442d9 /src/lib.rs
parent7863d9859a5cbce99c3769e4fdb40283115d358d (diff)
refactor: reorganize folder hierarchy
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
new file mode 100644
index 0000000..992f276
--- /dev/null
+++ b/src/lib.rs
@@ -0,0 +1,22 @@
+#![feature(unboxed_closures, fn_traits)]
+#![deny(clippy::all)]
+#![deny(clippy::pedantic)]
+
+//! Syrette
+//!
+//! Syrette is a collection of utilities useful for performing dependency injection.
+
+pub mod castable_factory;
+pub mod di_container;
+pub mod errors;
+pub mod interfaces;
+pub mod ptr;
+
+pub use di_container::*;
+pub use syrette_macros::*;
+
+#[doc(hidden)]
+pub mod libs;
+
+// Private
+mod provider;