prmt 0.4.0

Ultra-fast, customizable shell prompt generator with zero-copy parsing
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 = "prmt"
version = "0.4.0"
authors = ["Ivan Zakharchanka <3axap4eHko@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Ultra-fast, customizable shell prompt generator with zero-copy parsing"
homepage = "https://github.com/3axap4eHko/prmt"
readme = "README.md"
keywords = [
    "prompt",
    "shell",
    "terminal",
    "cli",
    "performance",
]
categories = [
    "command-line-utilities",
    "command-line-interface",
]
license = "MIT"
repository = "https://github.com/3axap4eHko/prmt"

[features]
default = ["git-gix"]
git-gix = ["dep:gix"]

[lib]
name = "prmt"
path = "src/lib.rs"

[[bin]]
name = "prmt"
path = "src/main.rs"

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

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

[[bench]]
name = "comprehensive_bench"
path = "benches/comprehensive_bench.rs"
harness = false

[[bench]]
name = "prompt_bench"
path = "benches/prompt_bench.rs"
harness = false

[dependencies.bitflags]
version = "2"

[dependencies.dirs]
version = "6"

[dependencies.gix]
version = "0.79.0"
features = [
    "parallel",
    "revision",
    "status",
]
optional = true
default-features = false

[dependencies.is-terminal]
version = "0.4"

[dependencies.lexopt]
version = "0.3"

[dependencies.libc]
version = "0.2"

[dependencies.memchr]
version = "2"

[dependencies.once_cell]
version = "1"

[dependencies.rayon]
version = "1"

[dependencies.serde_json]
version = "1.0.149"
features = ["std"]
default-features = false

[dependencies.thiserror]
version = "2"

[dependencies.toml]
version = "0.9"
features = [
    "parse",
    "serde",
]
default-features = false

[dependencies.unicode-width]
version = "0.2"

[dev-dependencies.criterion]
version = "0.7"
features = ["html_reports"]

[dev-dependencies.regex]
version = "1"

[dev-dependencies.serial_test]
version = "3"

[dev-dependencies.tempfile]
version = "3"

[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1
panic = "abort"
strip = true