[package]
edition = "2024"
name = "slick"
version = "0.20.0"
authors = ["Nicolas Embriz <nbari@tequila.io>"]
build = false
exclude = ["AGENTS.md"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "async ZSH prompt"
homepage = "https://github.com/nbari/slick"
documentation = "https://github.com/nbari/slick/blob/master/README.md"
readme = "README.md"
keywords = [
"prompt",
"zsh",
"shell",
"terminal",
"git",
]
categories = [
"command-line-utilities",
"command-line-interface",
]
license = "BSD-3-Clause"
repository = "https://github.com/nbari/slick"
[[package.metadata.generate-rpm.assets]]
source = "target/release/slick"
dest = "/usr/bin/slick"
mode = "0755"
[package.metadata.deb]
assets = [[
"target/release/slick",
"/usr/bin/slick",
"755",
]]
depends = ""
[lib]
name = "slick"
path = "src/lib.rs"
[[bin]]
name = "slick"
path = "src/bin/slick.rs"
[[test]]
name = "auth_cache_tests"
path = "tests/auth_cache_tests.rs"
[[test]]
name = "env_tests"
path = "tests/env_tests.rs"
[[test]]
name = "git_integration_tests"
path = "tests/git_integration_tests.rs"
[[test]]
name = "git_unit_tests"
path = "tests/git_unit_tests.rs"
[[test]]
name = "prompt_elapsed_tests"
path = "tests/prompt_elapsed_tests.rs"
[[test]]
name = "toolbox_prompt_tests"
path = "tests/toolbox_prompt_tests.rs"
[[bench]]
name = "prompt_bench"
path = "benches/prompt_bench.rs"
harness = false
[dependencies.clap]
version = "4"
[dependencies.compound_duration]
version = "2"
[dependencies.git2]
version = "0.20"
features = ["vendored-libgit2"]
default-features = false
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.tokio]
version = "1.51"
features = [
"rt-multi-thread",
"process",
"macros",
"time",
]
[dependencies.uzers]
version = "0.12"
[dev-dependencies.criterion]
version = "0.8"
[dev-dependencies.tempfile]
version = "3"
[lints.clippy]
all = "deny"
await_holding_lock = "deny"
complexity = "deny"
correctness = "deny"
expect_used = "deny"
indexing_slicing = "deny"
large_stack_arrays = "deny"
needless_borrow = "deny"
needless_collect = "deny"
panic = "deny"
pedantic = "deny"
perf = "deny"
suspicious = "deny"
unwrap_used = "deny"
[lints.clippy.nursery]
level = "allow"
priority = -1
[lints.rust]
warnings = "deny"
[profile.release]
opt-level = 3
lto = "thin"
codegen-units = 1
strip = true