Cargo.toml 1.12 KB
Newer Older
Niklas Adolfsson's avatar
Niklas Adolfsson committed
1
2
[package]
name = "jsonrpsee-http-client"
Niklas Adolfsson's avatar
Niklas Adolfsson committed
3
version = "0.11.0"
Niklas Adolfsson's avatar
Niklas Adolfsson committed
4
5
authors = ["Parity Technologies <admin@parity.io>", "Pierre Krieger <pierre.krieger1708@gmail.com>"]
description = "HTTP client for JSON-RPC"
6
edition = "2021"
Niklas Adolfsson's avatar
Niklas Adolfsson committed
7
license = "MIT"
8
9
10
repository = "https://github.com/paritytech/jsonrpsee"
homepage = "https://github.com/paritytech/jsonrpsee"
documentation = "https://docs.rs/jsonrpsee-http-client"
Niklas Adolfsson's avatar
Niklas Adolfsson committed
11
12

[dependencies]
13
async-trait = "0.1"
14
rustc-hash = "1"
15
hyper = { version = "0.14.10", features = ["client", "http1", "http2", "tcp"] }
16
hyper-rustls = { version = "0.23", optional = true }
Niklas Adolfsson's avatar
Niklas Adolfsson committed
17
18
jsonrpsee-types = { path = "../../types", version = "0.11.0" }
jsonrpsee-core = { path = "../../core", version = "0.11.0", features = ["client", "http-helpers"] }
Niklas Adolfsson's avatar
Niklas Adolfsson committed
19
20
21
serde = { version = "1.0", default-features = false, features = ["derive"] }
serde_json = "1.0"
thiserror = "1.0"
Niklas Adolfsson's avatar
Niklas Adolfsson committed
22
tokio = { version = "1.8", features = ["time"] }
23
tracing = "0.1"
Niklas Adolfsson's avatar
Niklas Adolfsson committed
24
25

[dev-dependencies]
26
jsonrpsee-test-utils = { path = "../../test-utils" }
Niklas Adolfsson's avatar
Niklas Adolfsson committed
27
tokio = { version = "1.8", features = ["net", "rt-multi-thread", "macros"] }
28
29
30
31

[features]
default = ["tls"]
tls = ["hyper-rustls/webpki-tokio"]