Prepare for publishing

This commit is contained in:
Diggory Blake 2018-09-18 11:43:20 +01:00
parent 37a4b43a29
commit 61230f5ef7
2 changed files with 3 additions and 10 deletions

View file

@ -3,6 +3,9 @@ name = "aerosol"
version = "0.1.0" version = "0.1.0"
authors = ["Diggory Blake <diggsey@googlemail.com>"] authors = ["Diggory Blake <diggsey@googlemail.com>"]
edition = "2018" edition = "2018"
description = "Dependency injection with compile-time guarantees"
repository = "https://github.com/Diggsey/aerosol"
license = "MIT OR Apache-2.0"
[dependencies] [dependencies]
tt-call = "1.0" tt-call = "1.0"

View file

@ -19,13 +19,3 @@ pub trait Factory {
pub trait ProvideWith<T>: Provide<T> + Sized { pub trait ProvideWith<T>: Provide<T> + Sized {
fn provide_with<E, F: FnOnce(T) -> Result<T, E>>(&self, f: F) -> Result<Self, E>; fn provide_with<E, F: FnOnce(T) -> Result<T, E>>(&self, f: F) -> Result<Self, E>;
} }
#[cfg(test)]
mod tests {
#[test]
fn it_works() {
assert_eq!(2 + 2, 4);
}
}