[dependencies.arbitrary]
features = ["derive"]
optional = true
version = "1.3.2"
[dependencies.serde]
features = ["derive"]
optional = true
version = "1.0"
[dependencies.tracing]
optional = true
version = "0.1"
[dev-dependencies.arbitrary]
features = ["derive"]
version = "1.3.2"
[dev-dependencies.proptest]
features = ["proptest-macro"]
version = "1.5.0"
[dev-dependencies.serde_json]
version = "1.0"
[features]
arbitrary = ["dep:arbitrary"]
default = []
instrument = ["dep:tracing"]
serde = ["dep:serde"]
[lib]
name = "typeid_prefix"
path = "src/lib.rs"
[lints.clippy]
cargo_common_metadata = "warn"
missing_errors_doc = "warn"
missing_panics_doc = "warn"
module_name_repetitions = "allow"
must_use_candidate = "warn"
[lints.clippy.nursery]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_debug_implementations = "warn"
missing_docs = "deny"
trivial_casts = "warn"
trivial_numeric_casts = "warn"
unsafe_code = "deny"
unused_extern_crates = "warn"
unused_import_braces = "warn"
unused_qualifications = "warn"
unused_results = "warn"
[lints.rust.unexpected_cfgs]
check-cfg = ["cfg(kani)"]
level = "warn"
priority = 0
[package]
authors = ["rrrodzilla@proton.me"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["data-structures", "development-tools"]
description = "A Rust library that implements a type-safe version of the TypePrefix section of the `TypeID` Specification"
documentation = "https://docs.rs/typeid_prefix"
edition = "2021"
keywords = ["typeid", "prefix", "validation", "sanitization"]
license = "MIT OR Apache-2.0"
name = "typeid_prefix"
readme = "README.md"
repository = "https://github.com/GovCraft/mti"
version = "1.2.1"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[[test]]
name = "proofs"
path = "tests/proofs.rs"
[[test]]
name = "proptests"
path = "tests/proptests.rs"
[[test]]
name = "serde_tests"
path = "tests/serde_tests.rs"