# 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.79"
name = "pysentry"
version = "0.4.4"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Security vulnerability auditing for Python packages"
readme = "README.md"
keywords = [
    "python",
    "security",
    "audit",
    "vulnerabilities",
]
categories = ["development-tools"]
license = "MIT"
repository = "https://github.com/nyudenkov/pysentry"

[features]
hotpath = [
    "dep:hotpath",
    "hotpath/hotpath",
]
hotpath-alloc = [
    "dep:hotpath",
    "hotpath/hotpath-alloc",
]
python = ["pyo3"]

[lib]
name = "pysentry"
crate-type = [
    "cdylib",
    "rlib",
]
path = "src/lib.rs"

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

[dependencies.anyhow]
version = "1.0.100"

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

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

[dependencies.clap]
version = "4.5.54"
features = ["derive"]

[dependencies.clap-verbosity-flag]
version = "3.0"
features = ["tracing"]
default-features = false

[dependencies.dirs]
version = "6.0.0"

[dependencies.enable-ansi-support]
version = "0.2.1"

[dependencies.fs-err]
version = "3.2.2"

[dependencies.futures]
version = "0.3.31"

[dependencies.hotpath]
version = "0.9"
optional = true

[dependencies.indicatif]
version = "0.18.3"

[dependencies.owo-colors]
version = "4.2.3"
features = ["supports-colors"]

[dependencies.pep440_rs]
version = "0.7.3"

[dependencies.polycvss]
version = "0.3"

[dependencies.pyo3]
version = "0.26.0"
features = ["extension-module"]
optional = true

[dependencies.regex]
version = "1.12.2"

[dependencies.reqwest]
version = "0.12.28"
features = [
    "json",
    "stream",
    "rustls-tls-native-roots",
]
default-features = false

[dependencies.rustc-hash]
version = "2.1.1"

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

[dependencies.serde-sarif]
version = "0.8"

[dependencies.serde_json]
version = "1.0.149"

[dependencies.serde_yaml]
version = "0.9.34"

[dependencies.sha2]
version = "0.10.9"

[dependencies.tabled]
version = "0.20"
features = ["ansi"]

[dependencies.tempfile]
version = "3.24.0"

[dependencies.terminal_size]
version = "0.4"

[dependencies.thiserror]
version = "2.0.18"

[dependencies.tokio]
version = "1.49.0"
features = [
    "fs",
    "io-util",
    "rt-multi-thread",
    "macros",
    "process",
]

[dependencies.toml]
version = "0.9.11"

[dependencies.tracing]
version = "0.1.44"

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

[dependencies.zip]
version = "5.1.1"
features = ["deflate"]
default-features = false
