-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathCargo.toml
More file actions
29 lines (25 loc) · 791 Bytes
/
Cargo.toml
File metadata and controls
29 lines (25 loc) · 791 Bytes
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 = "json-rpc2"
version = "0.11.1"
authors = ["muji <muji@tmpfs.org>"]
edition = "2024"
description = "Simple, robust and pragmatic JSON-RPC 2.0 implementation"
keywords = ["JSON", "RPC", "JSON-RPC"]
repository = "https://github.com/tmpfs/json-rpc2"
license = "MIT OR Apache-2.0"
readme = "README.md"
[dependencies]
thiserror = "1"
rand = "0.8"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
async-trait = { version = "0.1", optional = true }
[dev-dependencies]
tokio = { version = "1", features = ["full"] }
# Hack so we don't have to enable features for `cargo test`
# See: https://github.com/rust-lang/cargo/issues/2911
json-rpc2 = { path = ".", features = ["async"] }
[features]
async = ["async-trait"]
[package.metadata.docs.rs]
features = ["async"]