sbom-tools 0.1.14

Semantic SBOM diff and analysis tool
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.88"
name = "sbom-tools"
version = "0.1.14"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Semantic SBOM diff and analysis tool"
readme = "README.md"
keywords = [
    "sbom",
    "cyclonedx",
    "spdx",
    "diff",
    "security",
]
categories = [
    "command-line-utilities",
    "development-tools",
    "security",
]
license = "MIT"
repository = "https://github.com/sbom-tool/sbom-tools"

[features]
default = ["enrichment"]
enrichment = [
    "reqwest",
    "sha2",
]

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

[[bin]]
name = "sbom-tools"
path = "src/main.rs"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.anyhow]
version = "1.0"

[dependencies.chrono]
version = "0.4.44"
features = ["serde"]

[dependencies.clap]
version = "4.5"
features = [
    "derive",
    "env",
]

[dependencies.clap_complete]
version = "4.5"

[dependencies.clap_mangen]
version = "0.2"

[dependencies.crossterm]
version = "0.29"

[dependencies.ctrlc]
version = "3.5"

[dependencies.dirs]
version = "6.0.0"

[dependencies.indexmap]
version = "2.13"
features = ["serde"]

[dependencies.pathfinding]
version = "4"

[dependencies.quick-xml]
version = "0.39"
features = ["serialize"]

[dependencies.ratatui]
version = "0.30"
features = ["crossterm"]

[dependencies.rayon]
version = "1.10"

[dependencies.regex]
version = "1.10"

[dependencies.reqwest]
version = "0.13"
features = [
    "blocking",
    "json",
    "rustls",
]
optional = true
default-features = false

[dependencies.schemars]
version = "1.2"

[dependencies.semver]
version = "1.0"
features = ["serde"]

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde_json]
version = "1.0"

[dependencies.serde_yaml_ng]
version = "0.10"

[dependencies.sha2]
version = "0.10"
optional = true

[dependencies.spdx]
version = "0.13"

[dependencies.strsim]
version = "0.11"

[dependencies.thiserror]
version = "2.0"

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3.22"
features = ["env-filter"]

[dependencies.unicode-width]
version = "0.2"

[dependencies.xxhash-rust]
version = "0.8"
features = ["xxh3"]

[dev-dependencies.criterion]
version = "0.8"

[dev-dependencies.proptest]
version = "1.5"

[dev-dependencies.tempfile]
version = "3.25"

[profile.release]
lto = true
codegen-units = 1