From 61230f5ef79a8914cf875733f4b052d06d00e8f9 Mon Sep 17 00:00:00 2001 From: Diggory Blake Date: Tue, 18 Sep 2018 11:43:20 +0100 Subject: [PATCH] Prepare for publishing --- Cargo.toml | 3 +++ src/lib.rs | 10 ---------- 2 files changed, 3 insertions(+), 10 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index dfe632b..4e2c77c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,6 +3,9 @@ name = "aerosol" version = "0.1.0" authors = ["Diggory Blake "] edition = "2018" +description = "Dependency injection with compile-time guarantees" +repository = "https://github.com/Diggsey/aerosol" +license = "MIT OR Apache-2.0" [dependencies] tt-call = "1.0" diff --git a/src/lib.rs b/src/lib.rs index f2625ce..6a835c1 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -19,13 +19,3 @@ pub trait Factory { pub trait ProvideWith: Provide + Sized { fn provide_with Result>(&self, f: F) -> Result; } - - - -#[cfg(test)] -mod tests { - #[test] - fn it_works() { - assert_eq!(2 + 2, 4); - } -}