agent: fix protobuf depenedency

So that we don't use the latest one that requires unstable rust
features.

Signed-off-by: Peng Tao <bergwolf@hyper.sh>
This commit is contained in:
Peng Tao 2020-07-02 10:40:13 +08:00
parent e902aeb5cf
commit 1f21947dd1
4 changed files with 4 additions and 4 deletions

View File

@ -13,7 +13,7 @@ netlink = { path = "netlink" }
lazy_static = "1.3.0" lazy_static = "1.3.0"
error-chain = "0.12.1" error-chain = "0.12.1"
grpcio = { git="https://github.com/alipay/grpc-rs", branch="rust_agent" } grpcio = { git="https://github.com/alipay/grpc-rs", branch="rust_agent" }
protobuf = "2.6.1" protobuf = "=2.6.1"
futures = "0.1.27" futures = "0.1.27"
libc = "0.2.58" libc = "0.2.58"
nix = "0.17.0" nix = "0.17.0"

View File

@ -9,7 +9,7 @@ edition = "2018"
[dependencies] [dependencies]
libc = "0.2.58" libc = "0.2.58"
nix = "0.17.0" nix = "0.17.0"
protobuf = "2.6.1" protobuf = "=2.6.1"
rustjail = { path = "../rustjail" } rustjail = { path = "../rustjail" }
protocols = { path = "../protocols" } protocols = { path = "../protocols" }
slog = { version = "2.5.2", features = ["dynamic-keys", "max_level_trace", "release_max_level_info"] } slog = { version = "2.5.2", features = ["dynamic-keys", "max_level_trace", "release_max_level_info"] }

View File

@ -6,5 +6,5 @@ edition = "2018"
[dependencies] [dependencies]
grpcio = { git="https://github.com/alipay/grpc-rs", branch="rust_agent" } grpcio = { git="https://github.com/alipay/grpc-rs", branch="rust_agent" }
protobuf = "2.6.1" protobuf = "=2.6.1"
futures = "0.1.27" futures = "0.1.27"

View File

@ -17,7 +17,7 @@ scopeguard = "1.0.0"
prctl = "1.0.0" prctl = "1.0.0"
lazy_static = "1.3.0" lazy_static = "1.3.0"
libc = "0.2.58" libc = "0.2.58"
protobuf = "2.6.1" protobuf = "=2.6.1"
slog = "2.5.2" slog = "2.5.2"
slog-scope = "4.1.2" slog-scope = "4.1.2"
scan_fmt = "0.2" scan_fmt = "0.2"