# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "pact_consumer" version = "1.3.1" authors = [ "Ronald Holshausen ", "Eric Kidd ", ] build = false exclude = ["*.iml"] autobins = false autoexamples = false autotests = false autobenches = false description = "Pact-Rust module that provides support for writing consumer pact tests" homepage = "https://www.pact.io" readme = "README.md" keywords = [ "testing", "pact", "cdc", ] license = "MIT AND Apache-2.0" repository = "https://github.com/pact-foundation/pact-reference/blob/master/rust/pact_consumer" [lib] name = "pact_consumer" path = "src/lib.rs" [[test]] name = "messages" path = "tests/messages.rs" [[test]] name = "tests" path = "tests/tests.rs" [dependencies.anyhow] version = "1.0.86" [dependencies.async-trait] version = "0.1.81" [dependencies.bytes] version = "1.6.1" [dependencies.futures] version = "0.3.30" [dependencies.itertools] version = "0.13.0" [dependencies.lazy_static] version = "1.5.0" [dependencies.maplit] version = "1.0.2" [dependencies.pact-plugin-driver] version = "~0.7.0" optional = true default-features = false [dependencies.pact_matching] version = "~1.2.7" default-features = false [dependencies.pact_mock_server] version = "~2.0.1" default-features = false [dependencies.pact_models] version = "~1.2.4" default-features = false [dependencies.regex] version = "1.10.5" [dependencies.serde_json] version = "1.0.120" [dependencies.termsize] version = "0.1.8" [dependencies.tokio] version = "1.38.0" features = ["full"] [dependencies.tracing] version = "0.1.40" [dependencies.tracing-core] version = "0.1.32" [dependencies.url] version = "2.5.2" [dependencies.uuid] version = "1.10.0" features = ["v4"] [dependencies.yansi] version = "1.0.1" optional = true [dev-dependencies.env_logger] version = "0.11.3" [dev-dependencies.expectest] version = "0.12.0" [dev-dependencies.pretty_assertions] version = "1.4.0" [dev-dependencies.quickcheck] version = "1.0.3" [dev-dependencies.rand] version = "0.8.5" [dev-dependencies.reqwest] version = "0.12.5" features = [ "rustls-tls-native-roots", "blocking", "json", ] default-features = false [dev-dependencies.serde] version = "1.0.204" features = ["derive"] [dev-dependencies.test-log] version = "0.2.16" features = ["trace"] [dev-dependencies.tokio-test] version = "0.4.4" [dev-dependencies.tracing-subscriber] version = "0.3.18" features = [ "env-filter", "tracing-log", "fmt", ] [features] colour = ["dep:yansi"] datetime = [ "pact_models/datetime", "pact_matching/datetime", "pact_mock_server/datetime", "pact-plugin-driver?/datetime", ] default = [ "datetime", "xml", "plugins", "multipart", "tls", "colour", ] multipart = [ "pact_matching/multipart", "pact_mock_server/multipart", ] plugins = [ "dep:pact-plugin-driver", "pact_matching/plugins", "pact_mock_server/plugins", ] tls = ["pact_mock_server/tls"] xml = [ "pact_models/xml", "pact_matching/xml", "pact_mock_server/xml", "pact-plugin-driver?/xml", ]