-
Notifications
You must be signed in to change notification settings - Fork 16
/
Cargo.toml
executable file
·53 lines (48 loc) · 2.08 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
48
49
50
51
52
53
[package]
authors = ["Jacob Brown <[email protected]>"]
edition = "2018"
name = "jsonrpc-v2"
version = "0.13.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-v1-integration = ["actix-web-v1", "actix-service-v04", "futures-v01", "bytes-v04", "futures/compat"]
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", "tower-service", "bytes-v10"]
macros = ["jsonrpc-v2-macros"]
[dependencies]
erased-serde = "0.3"
futures = "0.3"
futures-v01 = { version = "0.1", package = "futures", optional = true }
hyper = { version = "0.14", optional = true }
async-trait = "0.1.52"
tower-service = { version = "0.3", optional = true }
extensions = "0.2"
jsonrpc-v2-macros = { version = "0.1.0", path = "./jsonrpc-v2-macros", 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 }
actix-web-v1 = { version = "1", package = "actix-web", optional = true }
actix-service-v04 = { version = "0.4", package = "actix-service", optional = true }
bytes-v04 = { version = "0.4", package = "bytes", optional = true }
bytes-v05 = { version = "0.5", package = "bytes", optional = true }
bytes-v10 = { version = "1.0", package = "bytes", 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"