From fd4a1e309d565d88c5e394e9e8411f4968499d18 Mon Sep 17 00:00:00 2001 From: Ferris Tseng Date: Tue, 23 Feb 2021 23:25:42 -0500 Subject: add imports to make examples work --- ipfs-api-prelude/Cargo.toml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'ipfs-api-prelude') 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 "] 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"] } -- cgit v1.2.3