Yakudatsu/Cargo.toml
2023-12-17 21:45:30 +00:00

32 lines
773 B
TOML

[package]
name = "jisho-cli"
description = "A simple cli tool to lookup Japanese words using jisho.org"
version = "1.0.0"
authors = ["jojii <jojii@gmx.net>", "Hiers <dvmap@protonmail.com"]
readme = "README.md"
repository = "https://github.com/Hiers/jisho-cli"
license = "GPL-3.0"
edition = "2018"
[target.'cfg(windows)'.dependencies]
windows-sys = { version = "0.52.0", features = ["Win32_Foundation", "Win32_System_Console", "Win32_UI_Shell"] }
[target.'cfg(unix)'.dependencies]
libc = "0.2.151"
[dependencies]
ureq = { version = "2.8.0", features = ["json"] }
serde_json = "1.0.108"
colored = "2.1.0"
argparse = "0.2.2"
atty = "0.2.14"
kradical_parsing = "0.1.0"
[features]
[profile.release]
opt-level = 'z'
lto = true
codegen-units = 1
panic = 'abort'
strip = true