slick 0.24.0

async ZSH prompt
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "slick"
version = "0.24.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 = "cursor_tests"
path = "tests/cursor_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 = "prompt_regression_fixes_tests"
path = "tests/prompt_regression_fixes_tests.rs"

[[test]]
name = "repository_config_tests"
path = "tests/repository_config_tests.rs"

[[test]]
name = "shorten_tests"
path = "tests/shorten_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.21"
features = ["vendored-libgit2"]
default-features = false

[dependencies.libc]
version = "0.2"

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde_json]
version = "1.0"

[dependencies.tokio]
version = "1"
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