summaryrefslogtreecommitdiffstats
path: root/ipfs-api-backend-hyper/Cargo.toml
blob: 3be4d041e10d8eeee49f11c1825421f52fc29f31 (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
[package]
name                      = "ipfs-api-backend-hyper"
description               = "Hyper implementation of IPFS HTTP API"
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-hyper-tls            = ["hyper-tls"]
with-hyper-rustls         = ["hyper-rustls"]

[dependencies]
async-trait               = "0.1"
bytes                     = "1.0"
futures                   = "0.3"
http                      = "0.2"
hyper                     = { version = "0.14", features = ["http1", "http2", "client", "tcp"] }
hyper-multipart-rfc7578   = "0.5"
hyper-rustls              = { version = "0.22", optional = true }
hyper-tls                 = { version = "0.5", optional = true }
ipfs-api-prelude          = { version = "0.1.0", path = "../ipfs-api-prelude" }
serde                     = "1.0"
thiserror                 = "1.0"