Skip to content

Commit 58cf93e

Browse files
authored
Merge pull request #121 from Tim-Zhang/remove-feature-protobuf-codec
0.6.0-prepare: remove feature flag protobuf-codec
2 parents ad2d372 + 0585d1d commit 58cf93e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Cargo.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ homepage = "https://github.com/containerd/ttrpc-rust"
1111
description = "A Rust version of ttrpc."
1212

1313
[dependencies]
14-
protobuf = { version = "2.0", optional = true }
14+
protobuf = { version = "2.0" }
1515
bytes = { version = "0.4.11", optional = true }
1616
libc = { version = "0.2.59", features = [ "extra_traits" ] }
1717
nix = "0.23.0"
@@ -30,8 +30,7 @@ tokio-vsock = { version = "0.3.1", optional = true }
3030
protobuf-codegen-pure = "2.14.0"
3131

3232
[features]
33-
default = ["protobuf-codec", "sync"]
34-
protobuf-codec = ["protobuf"]
33+
default = ["sync"]
3534
async = ["async-trait", "tokio", "futures", "tokio-vsock"]
3635
sync = []
3736

0 commit comments

Comments
 (0)