forked from n0-computer/quic-rpc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
46 lines (40 loc) · 1.41 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
[package]
name = "quic-rpc"
version = "0.2.2"
edition = "2021"
authors = ["Rüdiger Klaehn <[email protected]>"]
keywords = ["api", "protocol", "network", "rpc"]
categories = ["network-programming"]
license = "Apache-2.0/MIT"
repository = "https://github.com/n0-computer/quic-rpc"
description = "A streaming rpc system based on quic"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
bincode = { version = "1.3.3", optional = true }
bytes = { version = "1.3.0", optional = true }
flume = "0.10.14"
futures = "0.3.25"
hyper = { version = "0.14.23", features = ["full"], optional = true }
pin-project = "1"
quinn = { version = "0.9.0", optional = true }
serde = { version = "1" }
tokio = { version = "1", features = ["full"] }
tokio-serde = { version = "0.8.0", features = ["bincode"], optional = true }
tokio-util = { version = "0.7.4", features = ["codec"], optional = true }
tracing = "0.1"
[dev-dependencies]
anyhow = "1"
async-stream = "0.3.3"
derive_more = "0.99.17"
serde = { version = "1", features = ["derive"] }
tokio = { version = "1", features = ["full"] }
quinn = "0.9.0"
rcgen = "0.10.0"
rustls = "0.20.7"
thousands = "0.2.0"
[features]
http2 = ["hyper", "bincode", "bytes"]
quic = ["quinn", "bincode", "tokio-serde", "tokio-util"]
default = ["quic", "http2"]
[workspace]
members = ["examples/split/types", "examples/split/server", "examples/split/client"]