1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
[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-hyper", "tokio-hyper/macros", "tokio-hyper/rt-multi-thread"]
with-actix = ["ipfs-api-backend-actix", "tokio-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-actix = { package = "tokio", version = "1.0", features = ["time"], optional = true }
tokio-hyper = { package = "tokio", version = "1.2", features = ["time"], optional = true }
tokio-stream = { version = "0.1", features = ["time"] }
tracing-subscriber = { version = "0.2", features = ["fmt"] }
|