# 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-walker"
version = "0.5.1"
authors = ["Jens Reimann <ctron@dentrassi.de>"]
description = "A library to work with SBOM data"
readme = "README.md"
keywords = ["csaf"]
categories = ["data-structures"]
license = "Apache-2.0"
repository = "https://github.com/ctron/csaf-walker"

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

[dependencies.anyhow]
version = "1"

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

[dependencies.bytes]
version = "1"

[dependencies.chrono]
version = "0.4.24"
features = ["serde"]
default-features = false

[dependencies.csv]
version = "1"

[dependencies.cyclonedx-bom]
version = "0.4"
optional = true

[dependencies.digest]
version = "0.10.6"

[dependencies.filetime]
version = "0.2"

[dependencies.futures]
version = "0.3"

[dependencies.http]
version = "0.2"

[dependencies.humantime]
version = "2"

[dependencies.log]
version = "0.4.17"

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

[dependencies.sequoia-openpgp]
version = "1"
default-features = false

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

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.10.6"

[dependencies.spdx-rs]
version = "0.5.4"
optional = true

[dependencies.thiserror]
version = "1"

[dependencies.time]
version = "0.3.20"
features = [
    "formatting",
    "parsing",
    "serde",
]

[dependencies.tokio]
version = "1"
features = [
    "macros",
    "fs",
]

[dependencies.url]
version = "2.3.1"
features = ["serde"]

[dependencies.walker-common]
version = "0.5"

[features]
crypto-botan = ["sequoia-openpgp/crypto-botan"]
crypto-cng = ["sequoia-openpgp/crypto-cng"]
crypto-nettle = ["sequoia-openpgp/crypto-nettle"]
crypto-openssl = ["sequoia-openpgp/crypto-openssl"]
crypto-rust = ["sequoia-openpgp/crypto-rust"]
default = [
    "crypto-nettle",
    "cyclonedx-bom",
    "spdx-rs",
]
