Skip to content

Commit 0025f1b

Browse files
rholshausenclaude
andcommitted
chore: bump pact_matching/pact_models/pact-plugin-driver requirements
Bumps to ~2.0.7 / ~1.3.11 / ~1.1.0 respectively, matching what pact-reference's own crates now require. This is needed for pact_mock_server to pick up pact-plugin-driver's new host-provided core content matcher/generator capabilities (proposal 009) recently added to pact_matching. Also adds patch.crates-io entries tracking the unreleased git state of pact_models/pact_matching (pact-reference) and pact-plugin-driver (pact-plugins), so the whole chain can be built and tested together before any of the three crates are published to crates.io. Verified locally: pact_mock_server builds and its full test suite (25 tests) passes against the patched dependencies. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
1 parent 824c060 commit 0025f1b

4 files changed

Lines changed: 21 additions & 16 deletions

File tree

Cargo.lock

Lines changed: 9 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,10 @@ members = [
33
"pact_*"
44
]
55
resolver = "2"
6+
7+
[patch.crates-io]
8+
# Track unreleased changes in the crates this workspace depends on but doesn't own, so the whole
9+
# chain can be built and tested together before any of them are published to crates.io.
10+
pact_models = { git = "https://github.com/pact-foundation/pact-reference.git" }
11+
pact_matching = { git = "https://github.com/pact-foundation/pact-reference.git" }
12+
pact-plugin-driver = { git = "https://github.com/pact-foundation/pact-plugins.git" }

pact_mock_server/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ hyper-util = { version = "0.1.19", features = ["full"] }
3333
itertools = "0.14.0"
3434
lazy_static = "1.5.0"
3535
maplit = "1.0.2"
36-
pact_matching = { version = "~2.0.5", default-features = false }
37-
pact_models = { version = "~1.3.10", default-features = false }
38-
pact-plugin-driver = { version = "~1.0.0-beta.2", optional = true, default-features = false }
36+
pact_matching = { version = "~2.0.7", default-features = false }
37+
pact_models = { version = "~1.3.11", default-features = false }
38+
pact-plugin-driver = { version = "~1.1.0", optional = true, default-features = false }
3939
rcgen = { version = "0.14.6", optional = true, default-features = false, features = ["pem", "crypto", "ring"] }
4040
rustls = { version = "0.23.36", optional = true, default-features = false, features = ["ring"] }
4141
rustls-pemfile = { version = "2.2.0", optional = true }

pact_mock_server_cli/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ maplit = "1.0.2"
3333
itertools = "0.14.0"
3434
log = "0.4.28"
3535
lazy_static = "1.5.0"
36-
pact_matching = { version = "~2.0.5", default-features = false }
36+
pact_matching = { version = "~2.0.7", default-features = false }
3737
pact_mock_server = { version = "~2.2.1", path = "../pact_mock_server", default-features = false }
38-
pact_models = { version = "~1.3.10", default-features = false }
38+
pact_models = { version = "~1.3.11", default-features = false }
3939
rand = "0.9.2"
4040
regex = "1.12.2"
4141
reqwest = { version = "0.12.24", default-features = false, features = ["rustls-tls-native-roots", "blocking", "json"] }

0 commit comments

Comments
 (0)