amiss-wire 0.3.0

Canonical JSON, digest domains, and the machine contracts of Amiss
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 = "amiss-wire"
version = "0.3.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Canonical JSON, digest domains, and the machine contracts of Amiss"
readme = "README.md"
license = "FSL-1.1-ALv2"
repository = "https://github.com/HardMax71/amiss"

[lib]
name = "amiss_wire"
path = "src/lib.rs"
bench = false

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

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

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

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

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

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

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

[dependencies.sha2]
version = "0.11"

[dev-dependencies.divan]
version = "0.1.21"

[lints.clippy]
allow_attributes = "deny"
allow_attributes_without_reason = "deny"
arithmetic_side_effects = "warn"
as_conversions = "deny"
cast_possible_truncation = "deny"
cast_possible_wrap = "deny"
cast_precision_loss = "deny"
cast_sign_loss = "deny"
dbg_macro = "deny"
disallowed_methods = "deny"
disallowed_types = "deny"
exit = "deny"
expect_used = "deny"
indexing_slicing = "deny"
iter_over_hash_type = "warn"
map_err_ignore = "warn"
mem_forget = "deny"
missing_errors_doc = "deny"
missing_panics_doc = "deny"
mod_module_files = "warn"
panic = "deny"
print_stderr = "warn"
print_stdout = "warn"
rc_buffer = "warn"
rc_mutex = "warn"
string_slice = "deny"
todo = "deny"
unimplemented = "deny"
unreachable = "deny"
unwrap_used = "deny"
wildcard_enum_match_arm = "deny"

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

[lints.rust]
elided_lifetimes_in_paths = "warn"
trivial_numeric_casts = "warn"
unnameable_types = "warn"
unreachable_pub = "warn"
unsafe_code = "forbid"
unused_qualifications = "warn"