-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Expand file tree
/
Copy pathCargo.toml
More file actions
50 lines (45 loc) · 1.27 KB
/
Copy pathCargo.toml
File metadata and controls
50 lines (45 loc) · 1.27 KB
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
[package]
name = "grpc"
version = "0.9.0-alpha.1"
edition = "2021"
authors = ["gRPC Authors"]
license = "MIT"
[dependencies]
bytes = "1.10.1"
futures-core = "0.3.31"
futures-util = "0.3.31"
hickory-resolver = { version = "0.25.1", optional = true }
http = "1.1.0"
http-body = "1.0.1"
hyper = { version = "1.6.0", features = ["client", "http2"] }
hyper-util = "0.1.14"
once_cell = "1.19.0"
parking_lot = "0.12.4"
pin-project-lite = "0.2.16"
rand = "0.9"
serde = { version = "1.0.219", features = ["derive"] }
serde_json = "1.0.140"
socket2 = "0.5.10"
tokio = { version = "1.37.0", features = ["sync", "rt", "net", "time", "macros"] }
tokio-stream = "0.1.17"
tonic = { version = "0.14.0", path = "../tonic", default-features = false, features = ["codegen", "transport"] }
tower = "0.5.2"
tower-service = "0.3.3"
url = "2.5.0"
[dev-dependencies]
async-stream = "0.3.6"
tonic = { version = "0.14.0", path = "../tonic", default-features = false, features = ["server", "router"] }
hickory-server = "0.25.2"
prost = "0.14"
[features]
default = ["dns"]
dns = ["dep:hickory-resolver"]
[lints]
workspace = true
[package.metadata.cargo_check_external_types]
allowed_external_types = [
"tonic::*",
"futures_core::stream::Stream",
"tokio::sync::oneshot::Sender",
"once_cell::sync::Lazy",
]