diff options
author | Ferris Tseng <ferristseng@fastmail.fm> | 2021-02-23 23:25:42 -0500 |
---|---|---|
committer | Ferris Tseng <ferristseng@fastmail.fm> | 2021-02-23 23:25:42 -0500 |
commit | fd4a1e309d565d88c5e394e9e8411f4968499d18 (patch) | |
tree | 9daf4bb40c4dda43869dc68ba5d5c822d26e19c0 /ipfs-api-prelude | |
parent | 2263944af0da6b0b837285af78dafad765853853 (diff) |
add imports to make examples work
Diffstat (limited to 'ipfs-api-prelude')
-rw-r--r-- | ipfs-api-prelude/Cargo.toml | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/ipfs-api-prelude/Cargo.toml b/ipfs-api-prelude/Cargo.toml index 4d2b00a..21f9088 100644 --- a/ipfs-api-prelude/Cargo.toml +++ b/ipfs-api-prelude/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ipfs-api-prelude" -description = "Shared code for IPFS HTTP API client" +description = "Shared code for IPFS HTTP API clients" authors = ["Ferris Tseng <ferristseng@fastmail.fm>"] edition = "2018" documentation = "https://docs.rs/ipfs-api" @@ -31,3 +31,9 @@ tokio-util = { version = "0.6", features = ["codec"] } tracing = "0.1" typed-builder = { version = "0.9", optional = true } walkdir = "2.3" + +[dev-dependencies] +ipfs-api = { package = "ipfs-api-backend-hyper", version = "0.1.0", path = "../ipfs-api-backend-hyper" } +tokio = { version = "1.2", features = ["rt-multi-thread", "macros", "time"] } +tokio-stream = { version = "0.1", features = ["time"] } +tracing-subscriber = { version = "0.2", features = ["fmt"] } |