Skip to content

Commit

Permalink
chore: Upgrade Tonic to 0.12.0 and Hyper to 1.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
rholshausen committed Jul 18, 2024
1 parent f7c459a commit 8baefcb
Show file tree
Hide file tree
Showing 15 changed files with 404 additions and 757 deletions.
877 changes: 254 additions & 623 deletions Cargo.lock

Large diffs are not rendered by default.

29 changes: 15 additions & 14 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ members = [

[package]
name = "pact-protobuf-plugin"
version = "0.4.1"
version = "0.5.0"
edition = "2021"
authors = ["Ronald Holshausen <ronald.holshausen@gmail.com>"]
description = "Pact plugin for Protobufs and gRPC"
Expand All @@ -32,23 +32,24 @@ async-trait = "0.1.81"
base64 = "0.22.1"
bytes = "1.6.1"
clap = { version = "4.5.9", features = ["cargo", "env"] }
chrono = { version = "0.4.28", features = ["std", "clock"], default_features = false }
chrono = { version = "0.4.28", features = ["std", "clock"], default-features = false }
futures = "0.3.30"
http = "0.2.11"
http-body = "0.4.6"
hyper = { version = "0.14.28", features = [ "full" ] }
http = "1.1.0"
http-body = "1.0.1"
hyper = { version = "1.4.1", features = [ "full" ] }
hyper-util = { version = "0.1.6", features = ["full"] }
itertools = "0.13.0"
lazy_static = "1.5.0"
maplit = "1.0.2"
md5 = "0.7.0"
num = "0.4.3"
os_info = "3.8.2"
pact_matching = "~1.2.1"
pact_models = "~1.1.18"
pact-plugin-driver = "~0.6.0"
pact_verifier = "~1.2.0"
prost = "0.12.6"
prost-types = "0.12.6"
pact_matching = "~1.2.5"
pact_models = "~1.2.2"
pact-plugin-driver = "~0.7.0"
pact_verifier = "~1.2.3"
prost = "0.13.1"
prost-types = "0.13.1"
rand = "0.8.5"
rand_regex = "0.17.0"
regex = "1.10.5"
Expand All @@ -57,10 +58,10 @@ reqwest = { version = "0.12.5", default-features = false, features = ["rustls-tl
serde_json = "1.0.120"
serde_yaml = "0.9.33"
tempfile = "3.10.1"
tonic = "0.11.0"
tonic = "0.12.1"
tokio = { version = "1.38.1", features = ["full"] }
tower = { version = "0.4.13", features = [ "full" ] }
tower-http = { version = "0.4.0", features = [ "full" ] }
tower-http = { version = "0.5.2", features = [ "full" ] }
tower-service = { version = "0.3.2" }
tracing = "0.1.40"
tracing-bunyan-formatter = "0.3.9"
Expand All @@ -75,7 +76,7 @@ zip = "2.1.3"
env_logger = "0.11.3"
expectest = "0.12.0"
home = "0.5.9"
pact_consumer = "~1.2.0"
pact_consumer = "~1.2.3"
panic-message = "0.3.0"
pretty_assertions = "1.4.0"
rocket = "0.5.1"
Expand Down
14 changes: 7 additions & 7 deletions integrated_tests/default_values/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,19 @@ edition = "2021"
[dependencies]
tokio = { version = "1", features = ["full"] }
anyhow = "1.0.43"
tonic = "0.8.3"
prost = "0.11.9"
prost-types = "0.11.9"
tonic = "0.12.1"
prost = "0.13.1"
prost-types = "0.13.1"
tracing = { version = "0.1", features = [ "log-always" ] }
tracing-subscriber = { version = "0.3", features = ["env-filter"] }

[dev-dependencies]
expectest = "0.12.0"
env_logger = "0.10.1"
pact-plugin-driver = "0.4.6"
pact_consumer = "1.0.5"
env_logger = "0.11.3"
pact-plugin-driver = "0.7.0"
pact_consumer = "1.2.3"
serde_json = "1.0.66"
maplit = "1.0.2"

[build-dependencies]
tonic-build = "0.8.4"
tonic-build = "0.12.1"
16 changes: 8 additions & 8 deletions integrated_tests/imported_message/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,20 @@ edition = "2021"
[dependencies]
tokio = { version = "1", features = ["full"] }
anyhow = "1.0.43"
tonic = "0.11.0"
prost = "0.12.6"
prost-types = "0.12.6"
tonic = "0.12.1"
prost = "0.13.1"
prost-types = "0.13.1"
tracing = { version = "0.1", features = [ "log-always" ] }
tracing-subscriber = { version = "0.3", features = ["env-filter"] }

[dev-dependencies]
expectest = "0.12.0"
env_logger = "0.10.1"
pact-plugin-driver = "0.4.6"
pact_consumer = "1.0.5"
env_logger = "0.11.3"
pact-plugin-driver = "0.7.0"
pact_consumer = "1.2.3"
serde_json = "1.0.66"
maplit = "1.0.2"

[build-dependencies]
tonic-build = "0.11.0"
prost-build = "0.12.6"
tonic-build = "0.12.1"
prost-build = "0.13.1"
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,20 @@ edition = "2021"
[dependencies]
tokio = { version = "1", features = ["full"] }
anyhow = "1.0.43"
tonic = "0.11.0"
prost = "0.12.6"
prost-types = "0.12.6"
tonic = "0.12.1"
prost = "0.13.1"
prost-types = "0.13.1"
tracing = { version = "0.1", features = [ "log-always" ] }
tracing-subscriber = { version = "0.3", features = ["env-filter"] }

[dev-dependencies]
expectest = "0.12.0"
env_logger = "0.10.1"
pact-plugin-driver = "0.4.6"
pact_consumer = "1.0.5"
env_logger = "0.11.3"
pact-plugin-driver = "0.7.0"
pact_consumer = "1.2.3"
serde_json = "1.0.66"
maplit = "1.0.2"

[build-dependencies]
tonic-build = "0.11.0"
prost-build = "0.12.6"
tonic-build = "0.12.1"
prost-build = "0.13.1"
16 changes: 8 additions & 8 deletions integrated_tests/imported_without_package/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,20 @@ edition = "2021"
[dependencies]
tokio = { version = "1", features = ["full"] }
anyhow = "1.0.43"
tonic = "0.11.0"
prost = "0.12.6"
prost-types = "0.12.6"
tonic = "0.12.1"
prost = "0.13.1"
prost-types = "0.13.1"
tracing = { version = "0.1", features = [ "log-always" ] }
tracing-subscriber = { version = "0.3", features = ["env-filter"] }

[dev-dependencies]
expectest = "0.12.0"
env_logger = "0.10.1"
pact-plugin-driver = "0.4.6"
pact_consumer = "1.0.5"
env_logger = "0.11.3"
pact-plugin-driver = "0.7.0"
pact_consumer = "1.2.3"
serde_json = "1.0.66"
maplit = "1.0.2"

[build-dependencies]
tonic-build = "0.11.0"
prost-build = "0.12.6"
tonic-build = "0.12.1"
prost-build = "0.13.1"
16 changes: 8 additions & 8 deletions integrated_tests/matching_maps/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,20 @@ edition = "2021"
[dependencies]
tokio = { version = "1", features = ["full"] }
anyhow = "1.0.43"
tonic = "0.10.2"
prost = "0.12.3"
prost-types = "0.12.3"
tonic = "0.12.1"
prost = "0.13.1"
prost-types = "0.13.1"
tracing = { version = "0.1", features = [ "log-always" ] }
tracing-subscriber = { version = "0.3", features = ["env-filter"] }

[dev-dependencies]
expectest = "0.12.0"
env_logger = "0.11.1"
pact-plugin-driver = "0.5.1"
pact_consumer = "1.1.1"
pact_models = "1.1.18"
env_logger = "0.11.3"
pact-plugin-driver = "0.7.0"
pact_consumer = "1.2.3"
pact_models = "1.2.2"
serde_json = "1.0.113"
maplit = "1.0.2"

[build-dependencies]
tonic-build = "0.10.2"
tonic-build = "0.12.1"
12 changes: 6 additions & 6 deletions integrated_tests/new_fields/consumer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,19 @@ edition = "2021"
[dependencies]
tokio = { version = "1", features = ["full"] }
anyhow = "1.0.43"
tonic = "0.11.0"
prost = "0.12.4"
prost-types = "0.12.4"
tonic = "0.12.1"
prost = "0.13.1"
prost-types = "0.13.1"
tracing = { version = "0.1", features = [ "log-always" ] }
tracing-subscriber = { version = "0.3", features = ["env-filter"] }

[dev-dependencies]
expectest = "0.12.0"
env_logger = "0.11.3"
pact-plugin-driver = "0.5.1"
pact_consumer = "1.1.2"
pact-plugin-driver = "0.7.0"
pact_consumer = "1.2.3"
serde_json = "1.0.66"
maplit = "1.0.2"

[build-dependencies]
tonic-build = "0.11.0"
tonic-build = "0.12.1"
12 changes: 6 additions & 6 deletions integrated_tests/new_fields/new_provider/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ edition = "2021"

[dependencies]
fake = "2.9.2"
prost = "0.12.4"
prost-types = "0.12.4"
regex = "1.10.4"
tokio = { version = "1.37.0", features = ["full"] }
tonic = "0.11.0"
prost = "0.13.1"
prost-types = "0.13.1"
regex = "1.10.5"
tokio = { version = "1.38.1", features = ["full"] }
tonic = "0.12.1"
tracing = "0.1.40"
tracing-core = "0.1.32"
tracing-subscriber = { version = "0.3.18", features = ["env-filter", "local-time", "tracing-log"] }
Expand All @@ -20,4 +20,4 @@ tracing-subscriber = { version = "0.3.18", features = ["env-filter", "local-time
test-log = "0.2.15"

[build-dependencies]
tonic-build = "0.11.0"
tonic-build = "0.12.1"
10 changes: 5 additions & 5 deletions integrated_tests/new_fields/old_provider/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ edition = "2021"

[dependencies]
fake = "2.9.2"
prost = "0.12.4"
prost-types = "0.12.4"
regex = "1.10.4"
prost = "0.13.1"
prost-types = "0.13.1"
regex = "1.10.5"
tokio = { version = "1.37.0", features = ["full"] }
tonic = "0.11.0"
tonic = "0.12.1"
tracing = "0.1.40"
tracing-core = "0.1.32"
tracing-subscriber = { version = "0.3.18", features = ["env-filter", "local-time", "tracing-log"] }
Expand All @@ -20,4 +20,4 @@ tracing-subscriber = { version = "0.3.18", features = ["env-filter", "local-time
test-log = "0.2.15"

[build-dependencies]
tonic-build = "0.11.0"
tonic-build = "0.12.1"
14 changes: 7 additions & 7 deletions integrated_tests/repeated_enums/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,19 @@ edition = "2021"
[dependencies]
tokio = { version = "1", features = ["full"] }
anyhow = "1.0.43"
tonic = "0.8.3"
prost = "0.11.9"
prost-types = "0.11.9"
tonic = "0.12.1"
prost = "0.13.1"
prost-types = "0.13.1"
tracing = { version = "0.1", features = [ "log-always" ] }
tracing-subscriber = { version = "0.3", features = ["env-filter"] }

[dev-dependencies]
expectest = "0.12.0"
env_logger = "0.10.1"
pact-plugin-driver = "0.4.6"
pact_consumer = "1.0.5"
env_logger = "0.11.3"
pact-plugin-driver = "0.7.0"
pact_consumer = "1.2.3"
serde_json = "1.0.66"
maplit = "1.0.2"

[build-dependencies]
tonic-build = "0.8.4"
tonic-build = "0.12.1"
16 changes: 8 additions & 8 deletions integrated_tests/response_metadata/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,21 @@ edition = "2021"
[dependencies]
tokio = { version = "1", features = ["full"] }
anyhow = "1.0.43"
tonic = "0.11.0"
prost = "0.12.3"
prost-types = "0.12.3"
tonic = "0.12.1"
prost = "0.13.1"
prost-types = "0.13.1"
tracing = { version = "0.1", features = [ "log-always" ] }
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
once_cell = "1.19.0"

[dev-dependencies]
expectest = "0.12.0"
env_logger = "0.11.1"
pact-plugin-driver = "~0.6.0"
pact_consumer = "~1.2.0"
pact_models = "~1.1.18"
env_logger = "0.11.3"
pact-plugin-driver = "~0.7.0"
pact_consumer = "~1.2.3"
pact_models = "~1.2.2"
serde_json = "1.0.66"
maplit = "1.0.2"

[build-dependencies]
tonic-build = "0.11.0"
tonic-build = "0.12.1"
2 changes: 1 addition & 1 deletion pact-plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"manifestVersion": 1,
"pluginInterfaceVersion": 1,
"name": "protobuf",
"version": "0.4.1",
"version": "0.5.0",
"executableType": "exec",
"entryPoint": "pact-protobuf-plugin",
"pluginConfig": {
Expand Down
Loading

0 comments on commit 8baefcb

Please sign in to comment.