# 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 = "2021"
rust-version = "1.70"
name = "sbom-cli"
version = "0.6.0-alpha.3"
authors = ["Jens Reimann <ctron@dentrassi.de>"]
description = "A CLI to work with SBOM data"
readme = "README.md"
keywords = [
    "sbom",
    "cli",
]
categories = [
    "command-line-utilities",
    "data-structures",
]
license = "Apache-2.0"
repository = "https://github.com/ctron/csaf-walker"

[package.metadata.binstall]
pkg-fmt = "bin"
pkg-url = "{ repo }/releases/download/v{ version }/sbom-{ target }{ binary-ext }"

[package.metadata.cargo-all-features]
always_include_features = ["crypto-nettle"]
denylist = [
    "crypto-cng",
    "crypto-openssl",
    "crypto-botan",
    "crypto-rust",
]

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

[dependencies.anyhow]
version = "1"

[dependencies.async-trait]
version = "0.1"

[dependencies.bzip2-rs]
version = "0.1"
features = ["rustc_1_37"]

[dependencies.clap]
version = "4"
features = [
    "derive",
    "color",
]

[dependencies.comrak]
version = "0.20.0"

[dependencies.csaf]
version = "0.5.0"
default-features = false

[dependencies.env_logger]
version = "0.10.0"

[dependencies.flexible-time]
version = "0.1.1"

[dependencies.html-escape]
version = "0.2.13"

[dependencies.humantime]
version = "2"

[dependencies.indicatif]
version = "0.17.3"
features = []

[dependencies.indicatif-log-bridge]
version = "0.2.1"

[dependencies.log]
version = "0.4.17"

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

[dependencies.reqwest]
version = "0.11"
features = ["json"]

[dependencies.sbom-walker]
version = "0.6.0-alpha.3"
features = [
    "cyclonedx-bom",
    "spdx-rs",
]
default-features = false

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "1"

[dependencies.time]
version = "0.3.20"

[dependencies.tokio]
version = "1"
features = ["full"]

[dependencies.walker-common]
version = "0.6.0-alpha.3"

[dependencies.walker-extras]
version = "0.6.0-alpha.3"

[features]
crypto-botan = ["sbom-walker/crypto-botan"]
crypto-cng = ["sbom-walker/crypto-cng"]
crypto-nettle = ["sbom-walker/crypto-nettle"]
crypto-openssl = ["sbom-walker/crypto-openssl"]
crypto-rust = ["sbom-walker/crypto-rust"]
default = ["crypto-nettle"]
vendored = ["openssl/vendored"]
