# 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"
rust-version = "1.88"
name = "limb"
version = "0.2.1"
authors = ["Steele S. <steele@steelesh.dev>"]
build = false
exclude = [
    "/.github",
    "/contrib",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A focused CLI for git worktree management"
homepage = "https://github.com/ss0923/limb"
readme = "README.md"
keywords = [
    "git",
    "worktree",
    "cli",
    "tui",
]
categories = [
    "command-line-utilities",
    "development-tools",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/ss0923/limb"

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

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

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

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

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

[dependencies.anstream]
version = "1"

[dependencies.anstyle]
version = "1"

[dependencies.anyhow]
version = "1"

[dependencies.clap]
version = "4"
features = [
    "derive",
    "env",
]

[dependencies.clap_complete]
version = "4"

[dependencies.crossterm]
version = "0.29"

[dependencies.ctrlc]
version = "3.5"
features = ["termination"]

[dependencies.dirs]
version = "6"

[dependencies.nucleo-matcher]
version = "0.3"

[dependencies.pathdiff]
version = "0.2"

[dependencies.ratatui]
version = "0.30"
features = [
    "crossterm",
    "crossterm_0_29",
]
default-features = false

[dependencies.rayon]
version = "1"

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

[dependencies.serde_json]
version = "1"

[dependencies.strsim]
version = "0.11"

[dependencies.toml]
version = "1"

[dev-dependencies.assert_cmd]
version = "2"

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

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

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

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

[lints.clippy]
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
unsafe_code = "deny"

[lints.rustdoc]
broken_intra_doc_links = "deny"
invalid_rust_codeblocks = "deny"
private_intra_doc_links = "deny"

[profile.bench]
lto = false
codegen-units = 16
debug = 2
inherits = "release"
strip = false

[profile.dist]
lto = "thin"
inherits = "release"

[profile.release]
lto = true
codegen-units = 1
strip = true
