summaryrefslogtreecommitdiffstats
path: root/ipfs-api-prelude/Cargo.toml
blob: 2182f8518b276b759160047d0a23c0fb82a5af3d (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
34
35
36
37
38
39
[package]
name                      = "ipfs-api-prelude"
description               = "Shared code 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]
with-builder              = ["typed-builder"]

[dependencies]
async-trait               = "0.1"
bytes                     = "1.0"
common-multipart-rfc7578  = "0.3"
dirs                      = "3.0"
futures                   = "0.3"
http                      = "0.2"
parity-multiaddr          = "0.11"
serde                     = { version = "1.0", features = ["derive"] }
serde_json                = "1.0"
serde_urlencoded          = "0.7"
thiserror                 = "1.0"
tokio                     = "1"
tokio-util                = { version = "0.6", features = ["codec"] }
tracing                   = "0.1"
typed-builder             = { version = "0.9", optional = true }
walkdir                   = "2.3"

[dev-dependencies]
tokio                     = { version = "1.2", features = ["rt-multi-thread", "macros", "time"] }
ipfs-api                  = { package = "ipfs-api-backend-hyper", version = "0.1", path = "../ipfs-api-backend-hyper" }
tokio-stream              = { version = "0.1", features = ["time"] }
tracing-subscriber        = { version = "0.2", features = ["fmt"] }