diff options
Diffstat (limited to 'ipfs-api-examples/Cargo.toml')
-rw-r--r-- | ipfs-api-examples/Cargo.toml | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/ipfs-api-examples/Cargo.toml b/ipfs-api-examples/Cargo.toml new file mode 100644 index 0000000..121df64 --- /dev/null +++ b/ipfs-api-examples/Cargo.toml @@ -0,0 +1,27 @@ +[package] +name = "ipfs-api-examples" +description = "Examples for IPFS HTTP API clients" +authors = ["Ferris Tseng <ferristseng@fastmail.fm>"] +edition = "2018" +documentation = "https://docs.rs/ipfs-api" +repository = "https://github.com/ferristseng/rust-ipfs-api" +keywords = ["ipfs"] +categories = ["filesystem", "web-programming"] +version = "0.1.0" +readme = "../README.md" +license = "MIT OR Apache-2.0" + +[features] +default = ["with-hyper"] +with-hyper = ["ipfs-api-backend-hyper", "tokio/macros", "tokio/rt-multi-thread"] +with-actix = ["ipfs-api-backend-actix", "actix-rt"] + +[dependencies] +actix-rt = { version = "2.0", optional = true } +futures = "0.3" +ipfs-api-backend-actix = { version = "0.1", path = "../ipfs-api-backend-actix", optional = true } +ipfs-api-backend-hyper = { version = "0.1", path = "../ipfs-api-backend-hyper", optional = true } +tar = "0.4" +tokio = { version = "1", features = ["time"] } +tokio-stream = { version = "0.1", features = ["time"] } +tracing-subscriber = { version = "0.2", features = ["fmt"] } |