Skip to content
This repository was archived by the owner on Apr 8, 2024. It is now read-only.

Commit 2b88e9d

Browse files
committed
Pin protobuf to version 2.18.1
To make it compatible with older tls-api etc
1 parent 4204053 commit 2b88e9d

File tree

9 files changed

+15
-15
lines changed

9 files changed

+15
-15
lines changed

grpc-compiler/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ authors = ["Stepan Koltsov <[email protected]>"]
77
edition = "2018"
88

99
[dependencies]
10-
protobuf = "2"
11-
protobuf-codegen = "2"
10+
protobuf = "~2.18.1"
11+
protobuf-codegen = "~2.18.1"
1212

1313
[[bin]]
1414

grpc-compiler/test-protoc-plugin/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ edition = "2018"
77

88
[dependencies]
99
tls-api = "0.4.*"
10-
protobuf = "2"
10+
protobuf = "~2.18.1"
1111
grpc = { path = "../../grpc" }
1212
grpc-protobuf = { path = "../../grpc-protobuf" }
1313

grpc-examples/greeter/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ path = "../../grpc"
1515
path = "../../grpc-protobuf"
1616

1717
[dependencies]
18-
protobuf = "2"
18+
protobuf = "~2.18.1"
1919
futures = "0.3.*"
2020
tls-api = "0.4.*"
2121
tls-api-native-tls = "0.4.*"
22-
#httpbis = "~0.9"
23-
httpbis = { git = "https://github.com/stepancheg/rust-http2" }
22+
httpbis = "~0.9"
23+
#httpbis = { git = "https://github.com/stepancheg/rust-http2" }
2424
env_logger = "~0.5"
2525

2626
[build-dependencies]

grpc-examples/route_guide/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ path = "../../grpc"
1515
path = "../../grpc-protobuf"
1616

1717
[dependencies]
18-
protobuf = "2"
18+
protobuf = "~2.18.1"
1919
futures = "0.3.*"
2020
tls-api = "0.4.*"
2121
tls-api-native-tls = "0.4.*"

grpc-protobuf/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ keywords = ["grpc"]
1111
edition = "2018"
1212

1313
[dependencies]
14-
protobuf = { version = "2", features = ["with-bytes"] }
14+
protobuf = { version = "~2.18.1", features = ["with-bytes"] }
1515
grpc = { path = "../grpc", version = "=0.9.0-pre" }
1616
bytes = "0.5.*"
1717

grpc/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ log = "0.4"
1515
log-ndc = "0.2.*"
1616
futures = "0.3.1"
1717
tokio = { version = "~0.2.6", features = ["net", "uds", "io-util", "time"] }
18-
#httpbis = "~0.9"
19-
httpbis = { git = "https://github.com/stepancheg/rust-http2" }
18+
httpbis = "~0.9"
19+
#httpbis = { git = "https://github.com/stepancheg/rust-http2" }
2020
tls-api = "0.4.*"
2121
tls-api-stub = "0.4.*"
2222
bytes = "0.5.*"

interop/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ path = "../grpc-protobuf"
1616
bytes = "0.5.*"
1717
log = "0.4.*"
1818
env_logger = "~0.5"
19-
protobuf = "2"
19+
protobuf = "~2.18.1"
2020
futures = "0.3.*"
2121
tls-api = "0.4.*"
2222
chrono = "0.2.25"

long-tests/with-rust/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ path = "../../grpc-protobuf"
1717
[dependencies]
1818
log = "0.4.*"
1919
env_logger = "~0.5"
20-
protobuf = "2"
20+
protobuf = "~2.18.1"
2121
tls-api = "0.4.*"
2222
futures = "0.3.*"
2323

protoc-rust-grpc/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ doctest = false
1515
test = false
1616

1717
[dependencies]
18-
protoc = "2"
19-
protoc-rust = "2"
20-
protobuf = "2"
18+
protoc = "~2.18.1"
19+
protoc-rust = "~2.18.1"
20+
protobuf = "~2.18.1"
2121
grpc-compiler = { path = "../grpc-compiler", version = "=0.9.0-pre" }
2222
tempdir = "0.3"

0 commit comments

Comments
 (0)