pact_consumer 1.4.10

Pact-Rust module that provides support for writing consumer pact tests
Documentation
# 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 = "2024"
name = "pact_consumer"
version = "1.4.10"
authors = [
    "Ronald Holshausen <ronald.holshausen@gmail.com>",
    "Eric Kidd <git@randomhacks.net>",
]
build = false
exclude = ["*.iml"]
autolib = false
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"
resolver = "2"

[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",
    "dep:uuid",
    "pact_matching/plugins",
    "pact_mock_server/plugins",
    "pact-plugin-driver/default",
]
tls = ["pact_mock_server/tls"]
xml = [
    "pact_models/xml",
    "pact_matching/xml",
    "pact_mock_server/xml",
    "pact-plugin-driver?/xml",
]

[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.104"

[dependencies.async-trait]
version = "0.1.91"

[dependencies.bytes]
version = "1.12.1"

[dependencies.itertools]
version = "0.15.0"

[dependencies.maplit]
version = "1.0.2"

[dependencies.pact-plugin-driver]
version = "~1.2.1"
optional = true
default-features = false

[dependencies.pact_matching]
version = "~2.0.10"
default-features = false

[dependencies.pact_mock_server]
version = "~2.2.5"
default-features = false

[dependencies.pact_models]
version = "~1.3.14"
default-features = false

[dependencies.regex]
version = "1.13.1"

[dependencies.rustls]
version = "0.23.43"
features = [
    "ring",
    "logging",
    "tls12",
    "std",
]
default-features = false

[dependencies.serde_json]
version = "1.0.151"

[dependencies.termsize]
version = "0.1.9"

[dependencies.tokio]
version = "1.53.1"
features = ["full"]

[dependencies.tracing]
version = "0.1.44"

[dependencies.url]
version = "2.5.8"

[dependencies.uuid]
version = "1.24.0"
features = ["v4"]
optional = true

[dependencies.yansi]
version = "1.0.1"
optional = true

[dev-dependencies.env_logger]
version = "0.11.11"

[dev-dependencies.expectest]
version = "0.12.0"

[dev-dependencies.pretty_assertions]
version = "1.4.1"

[dev-dependencies.proclaim-it]
version = "0.0.1"

[dev-dependencies.rand]
version = "0.8.7"

[dev-dependencies.reqwest]
version = "0.13.4"
features = [
    "rustls-no-provider",
    "blocking",
    "json",
]
default-features = false

[dev-dependencies.serde]
version = "1.0.229"
features = ["derive"]

[dev-dependencies.tempfile]
version = "3.27.0"

[dev-dependencies.test-log]
version = "0.2.21"
features = ["trace"]

[dev-dependencies.tokio-test]
version = "0.4.5"

[dev-dependencies.tracing-subscriber]
version = "0.3.23"
features = [
    "env-filter",
    "tracing-log",
    "fmt",
]