forked from containerd/ttrpc-rust
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
38 lines (33 loc) · 1.14 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
[package]
name = "ttrpc"
version = "0.4.11"
authors = ["The AntFin Kata Team <[email protected]>"]
edition = "2018"
license = "Apache-2.0"
keywords = ["ttrpc", "protobuf", "rpc"]
readme = "README.md"
repository = "https://github.com/containerd/ttrpc-rust"
homepage = "https://github.com/containerd/ttrpc-rust"
description = "A Rust version of ttrpc."
[dependencies]
protobuf = { version = "2.0", optional = true }
bytes = { version = "0.4.11", optional = true }
libc = { version = "0.2.59", features = [ "extra_traits" ] }
nix = "0.16.1"
log = "0.4"
byteorder = "1.3.2"
thiserror = "1.0"
async-trait = { version = "0.1.31", optional = true }
tokio = { version = "0.2", features = ["rt-threaded", "sync", "uds", "stream", "macros", "io-util", "time"], optional = true }
futures = { version = "0.3", optional = true }
tokio-vsock = { version = "0.2.1", optional = true }
[build-dependencies]
protobuf-codegen-pure = "2.14.0"
[features]
default = ["protobuf-codec", "sync"]
protobuf-codec = ["protobuf"]
async = ["async-trait", "tokio", "futures", "tokio-vsock"]
sync = []
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]