[package]
edition = "2024"
rust-version = "1.94"
name = "qubit-validator"
version = "0.1.2"
authors = ["Haixing Hu <starfish.hu@gmail.com>"]
build = false
include = [
"/Cargo.toml",
"/LICENSE",
"/README.md",
"/README.zh_CN.md",
"/src/**",
"/doc/**",
"/examples/**",
"/tests/**",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Type-safe validation traits and registries for Qubit applications"
homepage = "https://github.com/qubit-ltd/rs-validator"
documentation = "https://docs.rs/qubit-validator"
readme = "README.md"
keywords = [
"validation",
"validator",
"registry",
"qubit",
"rust",
]
categories = [
"data-structures",
"development-tools",
]
license = "Apache-2.0"
repository = "https://github.com/qubit-ltd/rs-validator"
[package.metadata.docs.rs]
features = ["inventory"]
[features]
default = []
inventory = ["dep:inventory"]
[lib]
name = "qubit_validator"
path = "src/lib.rs"
[[example]]
name = "local_registry"
path = "examples/local_registry.rs"
[[example]]
name = "validate_named_bench"
path = "examples/validate_named_bench.rs"
[[test]]
name = "argument_debug_tests"
path = "tests/argument_debug_tests.rs"
[[test]]
name = "binding"
path = "tests/binding/main.rs"
[[test]]
name = "binding_tests"
path = "tests/binding_tests.rs"
[[test]]
name = "documentation_examples_tests"
path = "tests/documentation_examples_tests.rs"
[[test]]
name = "inventory_error_tests"
path = "tests/inventory_error_tests.rs"
[[test]]
name = "mod"
path = "tests/mod.rs"
[[test]]
name = "protocol"
path = "tests/protocol/main.rs"
[[test]]
name = "registry"
path = "tests/registry/main.rs"
[[test]]
name = "registry_tests"
path = "tests/registry_tests.rs"
[[test]]
name = "report_tests"
path = "tests/report_tests.rs"
[[test]]
name = "security_tests"
path = "tests/security_tests.rs"
[dependencies.inventory]
version = "^0.3"
optional = true
[dependencies.thiserror]
version = "^2.0"
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(coverage)"]