[package] name = "cargo-sbom" version = "0.9.1" edition = "2021" description = "Create software bill of materials (SBOM) for Rust" license = "MIT" readme = "README.md" authors = ["Paul Sastrasinh "] keywords = ["sbom", "spdx", "cyclonedx", "cli", "terminal"] categories = ["command-line-utilities"] homepage = "https://github.com/psastras/sbom-rs" documentation = "https://docs.rs/cargo_sbom" repository = "https://github.com/psastras/sbom-rs" [dependencies] anyhow = "1.0.82" cargo_metadata = "0.18.1" chrono = "0.4.38" clap = { version = "4.5.4", features = ["derive", "string"] } clap-cargo = "0.14.0" packageurl = "0.3.0" petgraph = "0.6.4" semver = "1.0.22" serde-cyclonedx = { path = "../serde-cyclonedx", version = "0.9.1" } serde-spdx = { path = "../serde-spdx", version = "0.9.1" } serde_json = "1.0.116" spdx = "0.10.4" whoami = "1.5.1" [[bin]] name = "cargo-sbom" path = "src/main.rs" [build-dependencies] built = "0.7" [dependencies.uuid] version = "1.8.0" features = [ "v4", # Lets you generate random UUIDs ] [dev-dependencies] duct = "0.13.7" duct_sh = "0.13.7" [package.metadata.binstall] pkg-url = "{ repo }/releases/download/{ name }-v{ version }/{ name }-{ target }" pkg-fmt = "bin"