[package]
edition = "2024"
rust-version = "1.88"
name = "bastyn"
version = "0.1.5"
authors = ["Bastyn Labs <oss@bastyn.ai>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
default-run = "bastyn"
description = "Single-binary static analysis for AI and agent code."
homepage = "https://bastyn.ai"
readme = "README.md"
keywords = [
"security",
"sast",
"static-analysis",
"scanner",
"cli",
]
categories = [
"command-line-utilities",
"development-tools",
]
license = "Apache-2.0"
repository = "https://github.com/BASTYN-labs/bastyn-scan"
[[bin]]
name = "bastyn"
path = "src/main.rs"
[[test]]
name = "progress"
path = "tests/progress.rs"
[[test]]
name = "scan"
path = "tests/scan.rs"
[dependencies.anyhow]
version = "1.0"
[dependencies.bastyn-core]
version = "0.1.0"
[dependencies.clap]
version = "4.5"
features = [
"derive",
"wrap_help",
]
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dev-dependencies.assert_cmd]
version = "2.0"
[dev-dependencies.predicates]
version = "3.1"
[dev-dependencies.tempfile]
version = "3.10"
[lints.clippy]
expect_used = "warn"
missing_errors_doc = "allow"
module_name_repetitions = "allow"
panic = "warn"
unwrap_used = "warn"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_docs = "warn"
unreachable_pub = "warn"
unsafe_code = "forbid"
[lints.rust.rust_2018_idioms]
level = "warn"
priority = -1