use-security 0.0.1

Feature-gated facade crate for RustUse security primitives
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"
rust-version = "1.95.0"
name = "use-security"
version = "0.0.1"
authors = ["RustUse Contributors"]
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Feature-gated facade crate for RustUse security primitives"
homepage = "https://rustuse.org"
documentation = "https://rustuse.org"
readme = "README.md"
keywords = [
    "security",
    "cve",
    "cwe",
    "cvss",
    "facade",
]
categories = [
    "development-tools",
    "data-structures",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/RustUse/use-security"
resolver = "2"

[package.metadata.docs.rs]
all-features = true

[features]
authn = ["dep:use-authn"]
authz = ["dep:use-authz"]
crypto = ["dep:use-crypto"]
cve = ["dep:use-cve"]
cvss = ["dep:use-cvss"]
cwe = ["dep:use-cwe"]
default = []
finding = ["dep:use-security-finding"]
full = [
    "authn",
    "authz",
    "crypto",
    "cve",
    "cvss",
    "cwe",
    "owasp",
    "risk",
    "threat",
    "finding",
    "secret",
    "security-header",
    "sbom",
]
owasp = ["dep:use-owasp"]
risk = ["dep:use-security-risk"]
sbom = ["dep:use-sbom"]
secret = ["dep:use-secret"]
security-header = ["dep:use-security-header"]
threat = ["dep:use-threat"]

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

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

[dependencies.use-authn]
version = "0.0.1"
optional = true

[dependencies.use-authz]
version = "0.0.1"
optional = true

[dependencies.use-crypto]
version = "0.0.1"
optional = true

[dependencies.use-cve]
version = "0.0.1"
optional = true

[dependencies.use-cvss]
version = "0.0.1"
optional = true

[dependencies.use-cwe]
version = "0.0.1"
optional = true

[dependencies.use-owasp]
version = "0.0.1"
optional = true

[dependencies.use-sbom]
version = "0.0.1"
optional = true

[dependencies.use-secret]
version = "0.0.1"
optional = true

[dependencies.use-security-finding]
version = "0.0.1"
optional = true

[dependencies.use-security-header]
version = "0.0.1"
optional = true

[dependencies.use-security-risk]
version = "0.0.1"
optional = true

[dependencies.use-threat]
version = "0.0.1"
optional = true

[lints.clippy]
expect_used = "allow"
float_cmp = "allow"
missing_const_for_fn = "allow"
missing_errors_doc = "allow"
multiple_crate_versions = "allow"
todo = "deny"
unimplemented = "deny"
unwrap_used = "warn"

[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.rust]
unsafe_code = "forbid"