[package]
name = "cleanlib-cli"
version = "0.1.4"
edition.workspace = true
rust-version.workspace = true
license.workspace = true
repository.workspace = true
homepage.workspace = true
description = "Terminal interface to CleanLibrary — query dependency verdicts and scan package manifests for ALLOW / DENY / WARN signals from the terminal or CI pipelines."
keywords = ["security", "dependencies", "verdicts", "supply-chain", "cli"]
categories = ["command-line-utilities", "development-tools"]
[[bin]]
name = "cleanlib"
path = "src/main.rs"
[[test]]
name = "integration"
path = "tests/integration/main.rs"
[dependencies]
clap = { workspace = true }
cleanlib-client = { workspace = true }
anyhow = { workspace = true }
chrono = { workspace = true }
tokio = { workspace = true, features = ["io-std"] }
serde = { workspace = true }
serde_json = { workspace = true }
toml = { workspace = true }
futures-util = { workspace = true }
owo-colors = { workspace = true }
comfy-table = { workspace = true }
is-terminal = { workspace = true }
keyring = { workspace = true }
sled = { workspace = true }
bincode = { workspace = true }
dirs = { workspace = true }
[dev-dependencies]
wiremock = { workspace = true }
tokio = { workspace = true, features = ["macros", "rt-multi-thread", "io-std"] }
tempfile = "3"
[package.metadata.deb]
name = "cleanlib"
maintainer = "CleanStart Security <security@cleanstart.com>"
copyright = "2026, CleanStart Inc. All rights reserved."
license-file = ["../LICENSE", "0"]
extended-description = """\
CleanLibrary CLI — terminal interface for querying dependency verdicts and
scanning package manifests for ALLOW / DENY / WARN signals directly from the
terminal or CI pipelines. Part of the CleanLibrary supply-chain security \
platform."""
depends = "libc6 (>= 2.31), libssl3"
section = "utils"
priority = "optional"
assets = [
["target/release/cleanlib", "usr/bin/", "755"],
["../README.md", "usr/share/doc/cleanlib/README", "644"],
["CHANGELOG.md", "usr/share/doc/cleanlib/CHANGELOG", "644"],
]
[package.metadata.generate-rpm]
name = "cleanlib"
license = "Proprietary"
summary = "CleanLibrary CLI — dependency verdict queries and manifest scanning"
assets = [
{ source = "target/release/cleanlib", dest = "/usr/bin/cleanlib", mode = "755" },
{ source = "../README.md", dest = "/usr/share/doc/cleanlib/README", mode = "644", doc = true },
{ source = "CHANGELOG.md", dest = "/usr/share/doc/cleanlib/CHANGELOG", mode = "644", doc = true },
]
[package.metadata.generate-rpm.requires]
glibc = ">= 2.31"