# 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_matching" version = "1.2.7" authors = ["Ronald Holshausen "] build = false exclude = ["*.iml"] autobins = false autoexamples = false autotests = false autobenches = false description = "Pact-Rust support library that implements request and response matching logic" homepage = "https://www.pact.io" documentation = "https://docs.rs/pact_matching/" readme = "README.md" keywords = [ "testing", "pact", "cdc", ] license = "MIT" repository = "https://github.com/pact-foundation/pact-reference/blob/master/rust/pact_matching" [lib] name = "pact_matching" path = "src/lib.rs" [[test]] name = "tests" path = "tests/tests.rs" [dependencies.ansi_term] version = "0.12.1" [dependencies.anyhow] version = "1.0.82" [dependencies.base64] version = "0.22.0" [dependencies.bytes] version = "1.6.0" features = ["serde"] [dependencies.chrono] version = "0.4.38" features = [ "std", "clock", ] optional = true default-features = false [dependencies.difference] version = "2.0.0" [dependencies.futures] version = "0.3.30" [dependencies.hex] version = "0.4.3" [dependencies.http] version = "1.1.0" [dependencies.infer] version = "0.16.0" [dependencies.itertools] version = "0.13.0" [dependencies.lazy_static] version = "1.4.0" [dependencies.lenient_semver] version = "0.4.2" [dependencies.maplit] version = "1.0.2" [dependencies.md5] version = "0.7.0" [dependencies.mime] version = "0.3.17" [dependencies.multer] version = "3.0.0" features = ["all"] optional = true [dependencies.nom] version = "7.1.3" [dependencies.onig] version = "6.4.0" default-features = false [dependencies.pact-plugin-driver] version = "~0.7.0" optional = true default-features = false [dependencies.pact_models] version = "~1.2.4" default-features = false [dependencies.rand] version = "0.8.5" [dependencies.reqwest] version = "0.12.3" features = [ "rustls-tls-native-roots", "json", ] default-features = false [dependencies.semver] version = "1.0.22" [dependencies.serde] version = "^1.0" features = ["derive"] [dependencies.serde_json] version = "^1.0" [dependencies.serde_urlencoded] version = "0.7.1" [dependencies.sxd-document] version = "0.3.2" optional = true [dependencies.tokio] version = "1.37.0" features = ["full"] [dependencies.tracing] version = "0.1.40" [dependencies.tracing-core] version = "0.1.32" [dependencies.tree_magic_mini] version = "3.1.5" [dependencies.uuid] version = "1.8.0" features = ["v4"] [dev-dependencies.env_logger] version = "0.11.3" [dev-dependencies.expectest] version = "0.12.0" [dev-dependencies.hamcrest2] version = "0.3.0" [dev-dependencies.ntest] version = "0.9.0" [dev-dependencies.pretty_assertions] version = "1.4.0" [dev-dependencies.quickcheck] version = "1" [dev-dependencies.rstest] version = "0.22.0" [dev-dependencies.test-log] version = "0.2.15" features = ["trace"] [dev-dependencies.tracing-subscriber] version = "0.3.18" features = [ "env-filter", "tracing-log", "fmt", ] [features] datetime = [ "pact_models/datetime", "pact-plugin-driver?/datetime", "dep:chrono", ] default = [ "datetime", "xml", "plugins", "multipart", ] multipart = ["dep:multer"] plugins = ["dep:pact-plugin-driver"] xml = [ "pact_models/xml", "pact-plugin-driver?/xml", "dep:sxd-document", ]