summaryrefslogtreecommitdiffstats
path: root/ipfs-api-examples/Cargo.toml
blob: 121df641c4a3a09f9b1dc248286f905c40379869 (plain)
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
[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"] }