From fc12cd0bfad207cef069add75ca6ea6664792e9c Mon Sep 17 00:00:00 2001 From: namilsk Date: Wed, 11 Feb 2026 13:46:58 +0300 Subject: Switched crate-name for crates.io publish and added optimisations to `Cargo.toml` --- Cargo.toml | 27 +++++++++++++++++++-------- 1 file changed, 19 insertions(+), 8 deletions(-) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index 0863bc0..f0cde32 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,10 +1,12 @@ [package] -name = "wfetch" -version = "0.0.2" -edition = "2021" -categories = ["command-line-utilities"] -authors = ["namilsk "] -license = "MIT" +name = "WeatherFetch" +version = "0.0.2" +edition = "2021" +categories = ["command-line-utilities"] +authors = ["namilsk "] +license = "MIT" +description = "Fastfetch but for weather" +repository = "https://github.com/Nam4ik/WeatherFetch" # "https://git.namilsk.tech/wfetch.git" [dependencies] serde = { version = "1.0", features = ["derive"] } @@ -14,5 +16,14 @@ clap = { version = "4.4", features = ["derive"] } reqwest = { version = "0.11", features = ["json"] } tokio = { version = "1.0", features = ["full"] } clap_derive = "4.5.49" -serde_yml = "0.0.12" -termimage = "1.2.2" +serde_yml = "0.0.12" +termimage = "1.2.2" + +[[bin]] +name = "wfetch" +path = "src/main.rs" + +[profile.release] +strip = true +lto = "fat" +codegen-units = 1 -- cgit v1.2.3