# 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 = "cship"
version = "1.7.1"
build = false
exclude = [".github/"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A beautiful, fully customizable statusline for Claude Code — Starship-style TOML config, themeable colours, Nerd Font glyphs, and tunable cost/context/usage thresholds"
homepage = "https://cship.dev"
documentation = "https://cship.dev"
readme = "README.md"
keywords = [
    "starship",
    "claude",
    "statusline",
    "terminal",
]
categories = ["command-line-utilities"]
license = "Apache-2.0"
repository = "https://github.com/stephenleo/cship"

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

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

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

[dependencies.anyhow]
version = "1"

[dependencies.clap]
version = "4.5"
features = ["derive"]

[dependencies.nu-ansi-term]
version = "0.50"

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

[dependencies.serde_json]
version = "1"
features = ["preserve_order"]

[dependencies.thiserror]
version = "2"

[dependencies.toml]
version = "1"

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]

[dependencies.ureq]
version = "3"
features = ["json"]

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

[dev-dependencies.filetime]
version = "0.2"

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

[dev-dependencies.rstest]
version = "0.26"

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

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