[package]
edition = "2024"
name = "shellver"
version = "2.0.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Detect the current shell and its version on Linux by traversing /proc."
readme = "README.md"
keywords = [
"shell",
"linux",
"procfs",
"version",
"detection",
]
categories = ["command-line-interface"]
license = "MIT"
repository = "https://github.com/SzilvasiPeter/shellver"
[lib]
name = "shellver"
path = "src/lib.rs"
[[bin]]
name = "shellver"
path = "src/main.rs"
[[example]]
name = "basic"
path = "examples/basic.rs"
[[test]]
name = "cli"
path = "tests/cli.rs"
[dependencies.regex]
version = "1"
features = ["std"]
default-features = false
[lints.clippy]
all = "deny"
cargo = "deny"
nursery = "deny"
pedantic = "deny"
[lints.rust]
unsafe_code = "forbid"
[profile.release]
opt-level = "z"
lto = true
codegen-units = 1
panic = "abort"
strip = true