[package]
edition = "2024"
rust-version = "1.98"
name = "protocol-droid-schema"
version = "0.5.0"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Per-revision Model Context Protocol wire types generated from the official schema.json for every published revision."
documentation = "https://docs.rs/protocol-droid-schema"
readme = "README.md"
keywords = [
"mcp",
"jsonrpc",
"model-context",
"protocol",
]
categories = [
"parser-implementations",
"encoding",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/greysquirr3l/protocol-droid"
[features]
codegen = []
default = ["codegen"]
[lib]
name = "protocol_droid_schema"
path = "src/lib.rs"
[[test]]
name = "content_member_order"
path = "tests/content_member_order.rs"
[[test]]
name = "generation"
path = "tests/generation.rs"
[[test]]
name = "manifest_verification"
path = "tests/manifest_verification.rs"
[[test]]
name = "property"
path = "tests/property.rs"
[[test]]
name = "readme"
path = "tests/readme.rs"
[[test]]
name = "roundtrip"
path = "tests/roundtrip.rs"
[dependencies.serde]
version = "1.0.229"
features = [
"derive",
"rc",
]
[dependencies.serde_json]
version = "1.0.151"
features = ["raw_value"]
[dependencies.sha2]
version = "0.11.1"
[dependencies.thiserror]
version = "2.0.21"
[dependencies.toml]
version = "1.1.6"
features = [
"parse",
"serde",
]
[dev-dependencies.assert_matches]
version = "1.5.0"
[dev-dependencies.jsonschema]
version = "0.58.5"
default-features = false
[dev-dependencies.proptest]
version = "1.11.0"
features = [
"std",
"bit-set",
]
default-features = false
[build-dependencies.serde]
version = "1.0.229"
features = [
"derive",
"rc",
]
[build-dependencies.serde_json]
version = "1.0.151"
features = ["raw_value"]
[build-dependencies.sha2]
version = "0.11.1"
[build-dependencies.thiserror]
version = "2.0.21"
[build-dependencies.toml]
version = "1.1.6"
features = [
"parse",
"serde",
]
[lints.clippy]
cast_ptr_alignment = "deny"
expect_used = "deny"
indexing_slicing = "deny"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
multiple_crate_versions = "allow"
must_use_candidate = "allow"
panic = "deny"
struct_excessive_bools = "allow"
unwrap_used = "deny"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.cargo]
level = "warn"
priority = -1
[lints.clippy.nursery]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.clippy.perf]
level = "warn"
priority = -1
[lints.clippy.suspicious]
level = "deny"
priority = -1
[lints.rust]
ambiguous_glob_imported_traits = "deny"
dead_code_pub_in_binary = "warn"
missing_debug_implementations = "warn"
missing_docs = "deny"
uninhabited_static = "deny"
unreachable_pub = "warn"
warnings = "deny"
[lints.rust.rust_2018_idioms]
level = "warn"
priority = -1