[package]
name = "shahanshahi-cli"
description = "CLI for Shahanshahi (Imperial Iranian) ↔ Gregorian date conversion"
version = "0.1.3"
readme = "README.md"
default-run = "shahanshahi"
edition.workspace = true
rust-version.workspace = true
license.workspace = true
repository.workspace = true

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

[[bin]]
name = "shcal"
path = "src/shcal.rs"

[dependencies]
anyhow = "1"
clap = { version = "4", features = ["derive"] }
clap_complete = "4"
csv = "1"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
shahanshahi = { path = "../shahanshahi", version = "0.3.0", features = ["proleptic"] }

[lints.rust]
unsafe_code = "forbid"
