[package]
name = "cerium"
description = "Yet, another ls-like util that is not trying to replace ls"
version = "0.1.13"
edition = "2024"
authors = ["Ritchie Mwewa <hi@rly0nheart.com>"]
repository = "https://codeberg.org/rly0nheart/cerium"
license = "MIT"
readme = "README.md"

[dependencies]
chrono = "0.4"
clap = { version = "4.5", features = ["derive"] }
serde = { version = "1.0", features = ["derive"] }
phf = { version = "0.13", features = ["macros"] }
humanly = "0.1"
nu-ansi-term = "0.50"
libc = "0.2"
toml = "0.9.11"

crc32fast = { version = "1.5", optional = true }
filemagic = { version = "0.13", optional = true }
md5 = { version = "0.8", optional = true}
sha2 = { version = "0.10", optional = true }

[features]
magic = ["dep:filemagic"]
checksum = ["dep:md5", "dep:sha2", "dep:crc32fast"]

[dev-dependencies]
tempfile = "3.24"

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

[package.metadata.docs.rs]
# This is a binary crate, no library documentation to generate
targets = []

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