[package]
authors = ["Tom Planche <tomplanche@proton.me>"]
categories = ["command-line-utilities"]
description = "A simple CLI tool to help you with your git workflow."
edition = "2024"
homepage = "https://github.com/rona-rs/rona"
include = [
    "/Cargo.toml",
    "/LICENSE-APACHE",
    "/LICENSE-MIT",
    "/README.md",
    "/src/**",
]
keywords = ["cli", "git", "helper", "commands"]
license = "Apache-2.0 OR MIT"
name = "rona"
readme = "README.md"
repository = "https://github.com/rona-rs/rona"
version = "2.24.0"

[[bin]]
doc = true
name = "rona"
path = "src/main.rs"

[dependencies]
clap = { version = "4.6.1", features = ["derive"] }
clap_complete = "4.6.5"
inquire = { version = "0.7" }
glob = "0.3.3"
regex = "1.12.4"
thiserror = "2.0.18"
config = "0.14.1"
serde = { version = "1.0", features = ["derive"] }
dirs = "5.0.1"
toml = "0.8"
chrono = { version = "0.4", features = ["serde"] }
arboard = "3.6"
indicatif = "0.18"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
colored = "3.1.1"

[dev-dependencies]
assert_cmd = "2.2.2"
mockall = "0.13.1"
tempfile = "3.27.0"


[lints.rust]
dead_code                     = "deny"
missing_debug_implementations = "deny"
unreachable_pub               = "deny"
unsafe_code                   = "forbid"
unused_imports                = "deny"
unused_variables              = "deny"

[lints.clippy]
correctness        = { level = "deny", priority = -1 }
suspicious         = { level = "deny", priority = -1 }
complexity         = { level = "deny", priority = -1 }
perf               = { level = "deny", priority = -1 }
style              = { level = "deny", priority = -1 }
pedantic           = { level = "deny", priority = -1 }
nursery            = { level = "warn", priority = -1 }
redundant_pub_crate = "allow"

expect_used = "warn"
panic       = "warn"
todo        = "warn"
unwrap_used = "warn"
