mcp-trace-validator 0.2.0

Deterministic offline validator for recorded Model Context Protocol traces: requirement-level findings, machine-readable reports
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"
rust-version = "1.88"
name = "mcp-trace-validator"
version = "0.2.0"
authors = ["Tom F."]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Deterministic offline validator for recorded Model Context Protocol traces: requirement-level findings, machine-readable reports"
homepage = "https://github.com/tomtom215/mcp-conformance"
readme = "README.md"
keywords = [
    "mcp",
    "conformance",
    "validator",
    "testing",
    "protocol",
]
categories = [
    "development-tools::testing",
    "command-line-utilities",
]
license = "MIT"
repository = "https://github.com/tomtom215/mcp-conformance"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--generate-link-to-definition"]

[features]
cli = ["dep:clap"]
default = ["cli"]

[lib]
name = "mcp_trace_validator"
path = "src/lib.rs"

[[bin]]
name = "mcp-trace-validator"
path = "src/main.rs"
required-features = ["cli"]

[[test]]
name = "cli"
path = "tests/cli.rs"

[[test]]
name = "golden"
path = "tests/golden.rs"

[[test]]
name = "readme_examples"
path = "tests/readme_examples.rs"

[[bench]]
name = "validate"
path = "benches/validate.rs"
harness = false

[dependencies.clap]
version = ">=4.5, <5"
features = ["derive"]
optional = true

[dependencies.mcp-conformance-core]
version = "0.2.0"

[dependencies.serde]
version = ">=1.0.200, <2"
features = ["derive"]

[dependencies.serde_json]
version = ">=1.0.115, <2"
features = ["float_roundtrip"]

[dev-dependencies.criterion]
version = ">=0.7, <0.8"
features = ["cargo_bench_support"]
default-features = false

[dev-dependencies.proptest]
version = ">=1.4, <2"

[lints.clippy]
expect_used = "warn"
unwrap_used = "warn"

[lints.clippy.nursery]
level = "warn"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
missing_debug_implementations = "warn"
missing_docs = "deny"
unreachable_pub = "warn"
unsafe_code = "forbid"