# 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.80"
name = "packguard"
version = "0.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "PackGuard — local, multi-repo, multi-ecosystem package version governance with offset policy and embedded dashboard."
readme = "README.md"
keywords = [
    "dependencies",
    "security",
    "supply-chain",
    "npm",
    "pypi",
]
categories = [
    "command-line-utilities",
    "development-tools",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/Tmauc/packguard"

[features]
default = []
ui-embed = ["packguard-server/ui-embed"]

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

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

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

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

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

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

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

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

[dependencies.anyhow]
version = "1"

[dependencies.axum]
version = "0.8"
features = [
    "http1",
    "tokio",
    "json",
    "query",
]
default-features = false

[dependencies.chrono]
version = "0.4"
features = [
    "clock",
    "serde",
]
default-features = false

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

[dependencies.comfy-table]
version = "7"

[dependencies.dirs]
version = "6"

[dependencies.open]
version = "5"

[dependencies.owo-colors]
version = "4"

[dependencies.packguard-core]
version = "0.2.0"

[dependencies.packguard-intel]
version = "0.2.0"

[dependencies.packguard-policy]
version = "0.2.0"

[dependencies.packguard-server]
version = "0.2.0"

[dependencies.packguard-store]
version = "0.2.0"

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.10"

[dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "macros",
    "fs",
    "signal",
    "net",
]

[dependencies.tracing]
version = "0.1"

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

[dev-dependencies.rusqlite]
version = "0.38"
features = ["bundled"]

[dev-dependencies.serde_json]
version = "1"

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