summaryrefslogtreecommitdiffstats
path: root/ipfs-api/Cargo.toml
blob: 92b16cc197857dac6b5376396329fe6950259025 (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
28
29
30
31
32
33
[package]
name                      = "ipfs-api"
description               = "Implementation of an IPFS HTTP API client"
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.12.0"
readme                    = "../README.md"
license                   = "MIT OR Apache-2.0"

[features]
default                   = ["with-hyper", "with-builder"]
with-hyper-tls            = ["with-hyper", "ipfs-api-backend-hyper/with-hyper-tls"]
with-hyper-rustls         = ["with-hyper", "ipfs-api-backend-hyper/with-hyper-rustls"]
with-hyper                = ["ipfs-api-backend-hyper"]
with-actix                = ["ipfs-api-backend-actix"]
with-builder              = ["ipfs-api-prelude/with-builder"]
# Old features, kept for compatibility
actix                     = ["with-actix"]
builder                   = ["with-builder"]

[dependencies]
ipfs-api-prelude          = { version = "0.1", path = "../ipfs-api-prelude" }
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 }

[dev-dependencies]
actix-rt                  = "2.0"
futures                   = "0.3"
tokio                     = { version = "1", features = ["rt-multi-thread", "macros"] }