-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathCargo.toml
executable file
·47 lines (43 loc) · 1.7 KB
/
Cargo.toml
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
40
41
42
43
44
45
46
47
[package]
authors = ["Jacob Brown <[email protected]>"]
edition = "2018"
name = "jsonrpc-v2"
version = "0.14.0-beta.0"
description = "JSONRPC 2.0 server"
keywords = ["jsonrpc", "json-rpc", "jsonrpc2", "rpc"]
license = "MIT"
readme = "README.md"
repository = "https://github.com/kardeiz/jsonrpc-v2"
[features]
default = ["actix-web-v4-integration"]
easy-errors = []
actix-web-v2-integration = ["actix-web-v2", "actix-service-v1", "bytes-v05"]
actix-web-v3-integration = ["actix-web-v3", "actix-service-v1", "bytes-v05"]
actix-web-v4-integration = ["actix-web-v4", "actix-service-v2", "bytes-v10"]
hyper-integration = ["hyper", "hyper/full", "bytes-v10", "http-body-util"]
[dependencies]
erased-serde = "0.3"
futures = "0.3"
hyper = { version = "1.5.2", optional = true, features = ["full"] }
async-trait = "0.1.52"
tower-service = { version = "0.3.3", optional = true }
actix-web-v4 = { version = "4", package = "actix-web", optional = true }
actix-web-v3 = { version = "3", package = "actix-web", optional = true }
actix-web-v2 = { version = "2", package = "actix-web", optional = true }
actix-service-v1 = { version = "1", package = "actix-service", optional = true }
actix-service-v2 = { version = "2", package = "actix-service", optional = true }
bytes-v05 = { version = "0.5", package = "bytes", optional = true }
bytes-v10 = { version = "1.0", package = "bytes", optional = true }
type-map = "0.5.0"
http-body-util = { version = "0.1.2", optional = true }
[dependencies.serde]
features = ["derive"]
version = "1"
[dependencies.serde_json]
features = ["raw_value"]
version = "1"
[dev-dependencies]
http = "0.1.15"
tokio = { version = "1", features = ["full"] }
actix-rt = "1"
hyper-util = { version = "0.1.10", features = ["tokio"] }