jcs-admit 0.1.3

Admission control for JSON about to be signed: refuses duplicate object members, nesting past a depth cap, non-scalar strings and unsafe integers on the raw bytes, then delegates RFC 8785 canonicalization to serde_json_canonicalizer
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 = "2021"
rust-version = "1.74"
name = "jcs-admit"
version = "0.1.3"
build = false
exclude = [
    "/scripts",
    "/tools/humanizer_config",
    "/interop",
    "/npm",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Admission control for JSON about to be signed: refuses duplicate object members, nesting past a depth cap, non-scalar strings and unsafe integers on the raw bytes, then delegates RFC 8785 canonicalization to serde_json_canonicalizer"
homepage = "https://github.com/probityai/agent-evidence/tree/main/crates/jcs-admit#readme"
documentation = "https://docs.rs/jcs-admit"
readme = "README.md"
keywords = [
    "jcs",
    "rfc8785",
    "canonicalization",
    "attestation",
    "in-toto",
]
categories = [
    "encoding",
    "cryptography",
    "parser-implementations",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/probityai/agent-evidence"

[features]
default = []
serde = ["serde/derive"]

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

[[example]]
name = "a2a_jcs"
path = "examples/a2a_jcs.rs"

[[example]]
name = "wasm_oracle"
path = "examples/wasm_oracle.rs"
required-features = ["serde"]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.serde]
version = "1.0.100"
features = ["std"]
default-features = false

[dependencies.serde_json_canonicalizer]
version = "0.3.2"

[dev-dependencies.serde_json]
version = "1.0.87"

[lints.clippy]
await_holding_lock = "deny"
expect_used = "deny"
panic = "deny"
todo = "deny"
undocumented_unsafe_blocks = "deny"
unimplemented = "deny"
unwrap_used = "deny"

[lints.clippy.all]
level = "deny"
priority = -1

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

[lints.rust.rust_2018_idioms]
level = "deny"
priority = -1