Skip to content

Commit

Permalink
chore: Use "Minimum version, with restricted compatibility range" for…
Browse files Browse the repository at this point in the history
… all Pact crate versions
  • Loading branch information
rholshausen committed May 23, 2023
1 parent 6df4670 commit ac2e24d
Show file tree
Hide file tree
Showing 9 changed files with 25 additions and 25 deletions.
4 changes: 2 additions & 2 deletions rust/pact_cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ exclude = [
clap = "2.31.2"
serde_json = "1.0"
serde = "1.0"
pact_models = "1.1.2"
pact_matching = { version = "1.1.1", path = "../pact_matching" }
pact_models = "~1.1.2"
pact_matching = { version = "~1.1.1", path = "../pact_matching" }
anyhow = "1.0.40"
log = "0.4.14"
simplelog = "0.12.1"
Expand Down
8 changes: 4 additions & 4 deletions rust/pact_consumer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ exclude = [
]

[dependencies]
pact_models = "1.1.2"
pact_matching = { version = "1.1.1", path = "../pact_matching" }
pact_mock_server = { version = "1.0.2", path = "../pact_mock_server" }
pact_models = "~1.1.2"
pact_matching = { version = "~1.1.1", path = "../pact_matching" }
pact_mock_server = { version = "~1.0.2", path = "../pact_mock_server" }
maplit = "1.0.2"
lazy_static = "1.4.0"
regex = "1.7.3"
Expand All @@ -27,7 +27,7 @@ uuid = { version = "1.3.0", features = ["v4"] }
futures = "0.3.28"
tokio = { version = "1.27.0", features = ["full"] }
anyhow = "1.0.70"
pact-plugin-driver = "0.4.3"
pact-plugin-driver = "~0.4.3"
bytes = "1.4.0"
async-trait = "0.1.68"
tracing = "0.1.37" # This needs to be the same version across all the libs (i.e. plugin driver)
Expand Down
10 changes: 5 additions & 5 deletions rust/pact_ffi/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ exclude = [
[dependencies]
ansi_term = "0.12.1"
anyhow = "1.0.70"
pact_matching = { version = "1.1.1", path = "../pact_matching" }
pact_models = "1.1.2"
pact_mock_server = { version = "1.0.2", path = "../pact_mock_server" }
pact_verifier = { version = "0.15.3", path = "../pact_verifier" }
pact_matching = { version = "~1.1.1", path = "../pact_matching" }
pact_models = "~1.1.2"
pact_mock_server = { version = "~1.0.2", path = "../pact_mock_server" }
pact_verifier = { version = "~0.15.3", path = "../pact_verifier" }
libc = "0.2.141"
zeroize = "1.6.0"
thiserror = "1.0.40"
Expand All @@ -44,7 +44,7 @@ tokio = { version = "1.27.0", features = ["full"] }
tokio-rustls = "0.24.0"
sxd-document = "0.3.2"
either = "1.8.1"
pact-plugin-driver = "0.4.3"
pact-plugin-driver = "~0.4.3"
log = "0.4.17"
tracing = "0.1.37" # This needs to be the same version across all the libs (i.e. plugin driver)
tracing-core = "0.1.30" # This needs to be the same version across all the pact libs (i.e. plugin driver)
Expand Down
4 changes: 2 additions & 2 deletions rust/pact_matching/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ exclude = [
]

[dependencies]
pact_models = "1.1.2"
pact_models = "~1.1.2"
anyhow = "1.0.70"
serde = { version = "^1.0", features = ["derive"] }
serde_json = "^1.0"
Expand All @@ -40,7 +40,7 @@ http = "0.2.9"
mime = "0.3.17"
bytes = { version = "1.4.0", features = ["serde"] }
tokio = { version = "1.27.0", features = ["full"] }
pact-plugin-driver = "0.4.3"
pact-plugin-driver = "~0.4.3"
md5 = "0.7.0"
tracing = "0.1.37" # This needs to be the same version across all the libs (i.e. plugin driver, pact ffi)
tracing-core = "0.1.30" # This needs to be the same version across all the pact libs (i.e. plugin driver, pact ffi)
Expand Down
6 changes: 3 additions & 3 deletions rust/pact_mock_server/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ exclude = [
anyhow = "1.0.70"
serde = { version = "^1.0", features = ["derive"] }
serde_json = "1.0.95"
pact_matching = { version = "1.1.1", path = "../pact_matching" }
pact_models = "1.1.2"
pact_matching = { version = "~1.1.1", path = "../pact_matching" }
pact_models = "~1.1.2"
maplit = "1.0.2"
lazy_static = "1.4.0"
uuid = { version = "1.3.0", features = ["v4"] }
Expand All @@ -32,7 +32,7 @@ rustls = "0.21.0"
tokio-rustls = "0.24.0"
rustls-pemfile = "1.0.2"
thiserror = "1.0.40"
pact-plugin-driver = "0.4.3"
pact-plugin-driver = "~0.4.3"
tracing = "0.1.37" # This needs to be the same version across all the libs (i.e. plugin driver)
tracing-core = "0.1.30" # This needs to be the same version across all the pact libs (i.e. pact ffi)
url = "2.3.1"
Expand Down
6 changes: 3 additions & 3 deletions rust/pact_mock_server_cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ exclude = [
[dependencies]
clap = { version = "3.2.23", features = ["cargo"] }
serde_json = "1.0.95"
pact_models = "1.1.2"
pact_matching = { version = "1.1.1", path = "../pact_matching" }
pact_mock_server = { version = "1.0.2", path = "../pact_mock_server" }
pact_models = "~1.1.2"
pact_matching = { version = "~1.1.1", path = "../pact_matching" }
pact_mock_server = { version = "~1.0.2", path = "../pact_mock_server" }
simplelog = "0.12.1"
log = "0.4.17"
uuid = { version = "1.3.0", features = ["v4"] }
Expand Down
6 changes: 3 additions & 3 deletions rust/pact_verifier/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ exclude = [
anyhow = "1.0.66"
serde = "1.0.147"
serde_json = "1.0.87"
pact_matching = { version = "1.1.1", path = "../pact_matching" }
pact_models = "1.1.2"
pact-plugin-driver = "0.4.3"
pact_matching = { version = "~1.1.1", path = "../pact_matching" }
pact_models = "~1.1.2"
pact-plugin-driver = "~0.4.3"
maplit = "1.0.2"
lazy_static = "1.4.0"
itertools = "0.10.5"
Expand Down
4 changes: 2 additions & 2 deletions rust/pact_verifier_cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ exclude = [
]

[dependencies]
pact_models = "1.1.2"
pact_verifier = { version = "0.15.3", path = "../pact_verifier" }
pact_models = "~1.1.2"
pact_verifier = { version = "~0.15.3", path = "../pact_verifier" }
tokio = { version = "1.27.0", features = ["full"] }
reqwest = { version = "0.11.16", default-features = false, features = ["rustls-tls-native-roots", "blocking", "json"] }
clap = { version = "4.2.1", features = ["cargo", "env"] }
Expand Down
2 changes: 1 addition & 1 deletion rust/pact_wasm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ exclude = [
crate-type = ["cdylib", "rlib"]

[dependencies]
pact_models = "1.1.2"
pact_models = "~1.1.2"
wasm-bindgen = "0.2.79"
console_error_panic_hook = "0.1.7"
console_log = { version = "0.2.0", features = ["color"] }
Expand Down

0 comments on commit ac2e24d

Please sign in to comment.