[package]
edition = "2021"
rust-version = "1.70"
name = "shrinkpath"
version = "0.1.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Smart cross-platform path shortening for CLIs, prompts, and tools"
homepage = "https://github.com/SecurityRonin/shrinkpath"
readme = "README.md"
keywords = [
"path",
"shorten",
]
categories = [
"command-line-utilities",
"filesystem",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/SecurityRonin/shrinkpath"
[features]
cli = ["clap"]
default = ["cli"]
fs = []
[lib]
name = "shrinkpath"
path = "src/lib.rs"
[[bin]]
name = "shrinkpath"
path = "src/main.rs"
required-features = ["cli"]
[dependencies.clap]
version = "4"
features = ["derive"]
optional = true
[profile.release]
lto = true
codegen-units = 1
panic = "abort"
strip = true