Skip to content

Commit 09805ec

Browse files
authored
feat: Update prost and friends to 0.9 (#791)
1 parent 4604042 commit 09805ec

File tree

21 files changed

+41
-41
lines changed

21 files changed

+41
-41
lines changed

examples/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ path = "src/streaming/server.rs"
180180

181181
[dependencies]
182182
tonic = { path = "../tonic", features = ["tls", "compression"] }
183-
prost = "0.8"
183+
prost = "0.9"
184184
tokio = { version = "1.0", features = ["rt-multi-thread", "time", "fs", "macros", "net"] }
185185
tokio-stream = { version = "0.1", features = ["net"] }
186186
async-stream = "0.3"
@@ -196,7 +196,7 @@ tracing-subscriber = { version = "0.2", features = ["tracing-log"] }
196196
tracing-attributes = "0.1"
197197
tracing-futures = "0.2"
198198
# Required for wellknown types
199-
prost-types = "0.8"
199+
prost-types = "0.9"
200200
# Hyper example
201201
hyper = { version = "0.14", features = ["full"] }
202202
warp = "0.3"

interop/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ tokio = { version = "1.0", features = ["rt-multi-thread", "time", "macros", "fs"
1919
tokio-stream = "0.1"
2020
async-stream = "0.3"
2121
tonic = { path = "../tonic", features = ["tls"] }
22-
prost = "0.8"
23-
prost-derive = "0.8"
22+
prost = "0.9"
23+
prost-derive = "0.9"
2424
bytes = "1.0"
2525
http = "0.2"
2626
futures-core = "0.3"

tests/ambiguous_methods/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ license = "MIT"
1010

1111
[dependencies]
1212
tonic = { path= "../../tonic" }
13-
prost = "0.8"
13+
prost = "0.9"
1414

1515
[build-dependencies]
1616
tonic-build = { path= "../../tonic-build" }

tests/compression/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ license = "MIT"
88

99
[dependencies]
1010
tonic = { path = "../../tonic", features = ["compression"] }
11-
prost = "0.8"
11+
prost = "0.9"
1212
tokio = { version = "1.0", features = ["macros", "rt-multi-thread", "net"] }
1313
tower = { version = "0.4", features = [] }
1414
http-body = "0.4"

tests/extern_path/my_application/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ license = "MIT"
1010

1111
[dependencies]
1212
tonic = { path= "../../../tonic" }
13-
prost = "0.8"
14-
prost-types = "0.8"
13+
prost = "0.9"
14+
prost-types = "0.9"
1515
uuid = { package = "uuid1", path= "../uuid" }
1616

1717
[build-dependencies]

tests/extern_path/uuid/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ license = "MIT"
99
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
1010

1111
[dependencies]
12-
prost = "0.8"
12+
prost = "0.9"
1313
bytes = "1.0"
1414
[build-dependencies]
15-
prost-build = "0.8"
15+
prost-build = "0.9"

tests/included_service/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ license = "MIT"
1010

1111
[dependencies]
1212
tonic = { path = "../../tonic" }
13-
prost = "0.8"
13+
prost = "0.9"
1414

1515
[build-dependencies]
1616
tonic-build = { path = "../../tonic-build" }

tests/integration_tests/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ license = "MIT"
1010

1111
[dependencies]
1212
tonic = { path = "../../tonic" }
13-
prost = "0.8"
13+
prost = "0.9"
1414
futures-util = "0.3"
1515
bytes = "1.0"
1616

tests/root-crate-path/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ license = "MIT"
88

99
[dependencies]
1010
tonic = { path = "../../tonic" }
11-
prost = "0.8"
11+
prost = "0.9"
1212

1313
[build_dependencies]
1414
tonic-build = { path = "../../tonic-build" }

tests/same_name/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ license = "MIT"
1010

1111
[dependencies]
1212
tonic = { path = "../../tonic" }
13-
prost = "0.8"
13+
prost = "0.9"
1414

1515
[build-dependencies]
1616
tonic-build = { path = "../../tonic-build" }

tests/service_named_service/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ license = "MIT"
1010

1111
[dependencies]
1212
tonic = { path = "../../tonic" }
13-
prost = "0.8"
13+
prost = "0.9"
1414

1515
[build-dependencies]
1616
tonic-build = { path = "../../tonic-build" }

tests/stream_conflict/Cargo.toml

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

1010
[dependencies]
1111
tonic = { path = "../../tonic" }
12-
prost = "0.8"
12+
prost = "0.9"
1313

1414
[build-dependencies]
1515
tonic-build = { path = "../../tonic-build" }

tests/wellknown-compiled/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ doctest = false
1313

1414
[dependencies]
1515
tonic = { path = "../../tonic" }
16-
prost = "0.8"
16+
prost = "0.9"
1717

1818
[build-dependencies]
1919
tonic-build = { path = "../../tonic-build" }

tests/wellknown/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ license = "MIT"
1010

1111
[dependencies]
1212
tonic = { path = "../../tonic" }
13-
prost = "0.8"
14-
prost-types = "0.8"
13+
prost = "0.9"
14+
prost-types = "0.9"
1515

1616
[build-dependencies]
1717
tonic-build = { path = "../../tonic-build" }

tonic-build/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
[package]
22
name = "tonic-build"
3-
version = "0.5.2"
3+
version = "0.6.0"
44
authors = ["Lucio Franco <luciofranco14@gmail.com>"]
55
edition = "2018"
66
license = "MIT"
7-
documentation = "https://docs.rs/tonic-build/0.5.2/tonic_build/"
7+
documentation = "https://docs.rs/tonic-build/0.6.0/tonic_build/"
88
repository = "https://github.com/hyperium/tonic"
99
homepage = "https://github.com/hyperium/tonic"
1010
description = """
@@ -16,7 +16,7 @@ keywords = ["rpc", "grpc", "async", "codegen", "protobuf"]
1616

1717

1818
[dependencies]
19-
prost-build = { version = "0.8", optional = true }
19+
prost-build = { version = "0.9", optional = true }
2020
syn = "1.0"
2121
quote = "1.0"
2222
proc-macro2 = "1.0"

tonic-health/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@ transport = ["tonic/transport"]
2020

2121
[dependencies]
2222
tokio = { version = "1.0", features = ["sync"] }
23-
tonic = { version = "0.5", path = "../tonic", features = ["codegen", "prost"] }
23+
tonic = { version = "0.6", path = "../tonic", features = ["codegen", "prost"] }
2424
bytes = "1.0"
25-
prost = "0.8"
25+
prost = "0.9"
2626
tokio-stream = "0.1"
2727
async-stream = "0.3"
2828

2929
[dev-dependencies]
3030
tokio = { version = "1.0", features = ["rt-multi-thread", "macros"]}
3131

3232
[build-dependencies]
33-
tonic-build = { version = "0.5", path = "../tonic-build" }
33+
tonic-build = { version = "0.6", path = "../tonic-build" }

tonic-reflection/Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,14 @@ keywords = ["rpc", "grpc", "async", "reflection"]
1818

1919
[dependencies]
2020
bytes = "1.0"
21-
prost = "0.8"
22-
prost-types = "0.8"
21+
prost = "0.9"
22+
prost-types = "0.9"
2323
tokio = { version = "1.0", features = ["sync"] }
2424
tokio-stream = { version = "0.1", features = ["net"] }
25-
tonic = { version = "0.5", path = "../tonic", features = ["codegen", "prost"] }
25+
tonic = { version = "0.6", path = "../tonic", features = ["codegen", "prost"] }
2626

2727
[build-dependencies]
28-
tonic-build = { version = "0.5", path = "../tonic-build" }
28+
tonic-build = { version = "0.6", path = "../tonic-build" }
2929

3030
[dev-dependencies]
3131
futures = "0.3"

tonic-types/Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
[package]
22
name = "tonic-types"
3-
version = "0.3.0"
3+
version = "0.4.0"
44
authors = ["Lucio Franco <luciofranco14@gmail.com>"]
55
edition = "2018"
66
license = "MIT"
7-
documentation = "https://docs.rs/tonic-types/0.3.0/tonic-types/"
7+
documentation = "https://docs.rs/tonic-types/0.4.0/tonic-types/"
88
repository = "https://github.com/hyperium/tonic"
99
homepage = "https://github.com/hyperium/tonic"
1010
description = """
@@ -15,8 +15,8 @@ categories = ["web-programming", "network-programming", "asynchronous"]
1515
keywords = ["rpc", "grpc", "protobuf"]
1616

1717
[dependencies]
18-
prost = "0.8"
19-
prost-types = "0.8"
18+
prost = "0.9"
19+
prost-types = "0.9"
2020

2121
[build-dependencies]
22-
prost-build = "0.8"
22+
prost-build = "0.9"

tonic-web/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ categories = ["network-programming", "asynchronous"]
1515
keywords = ["rpc", "grpc", "grpc-web"]
1616

1717
[dependencies]
18-
tonic = { version = "0.5", path = "../tonic", default-features = false, features = ["transport"] }
18+
tonic = { version = "0.6", path = "../tonic", default-features = false, features = ["transport"] }
1919
http = "0.2"
2020
base64 = "0.13"
2121
futures-core = "0.3"

tonic-web/tests/integration/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ edition = "2018"
88
[dependencies]
99
tonic = { path = "../../../tonic" }
1010
tonic-web = { path = "../../../tonic-web" }
11-
prost = "0.8"
11+
prost = "0.9"
1212
tokio = { version = "1", features = ["macros", "rt", "net"] }
1313
base64 = "0.13"
1414
bytes = "1.0"

tonic/Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ name = "tonic"
77
# - Cargo.toml
88
# - README.md
99
# - Update CHANGELOG.md.
10-
# - Create "v0.5.x" git tag.
11-
version = "0.5.2"
10+
# - Create "v0.6.x" git tag.
11+
version = "0.6.0"
1212
authors = ["Lucio Franco <luciofranco14@gmail.com>"]
1313
edition = "2018"
1414
license = "MIT"
15-
documentation = "https://docs.rs/tonic/0.5.2/tonic/"
15+
documentation = "https://docs.rs/tonic/0.6.0/tonic/"
1616
repository = "https://github.com/hyperium/tonic"
1717
homepage = "https://github.com/hyperium/tonic"
1818
description = """
@@ -63,8 +63,8 @@ http-body = "0.4.2"
6363
pin-project = "1.0"
6464

6565
# prost
66-
prost1 = { package = "prost", version = "0.8", optional = true }
67-
prost-derive = { version = "0.8", optional = true }
66+
prost1 = { package = "prost", version = "0.9", optional = true }
67+
prost-derive = { version = "0.9", optional = true }
6868

6969
# codegen
7070
async-trait = { version = "0.1.13", optional = true }

0 commit comments

Comments
 (0)