summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Cargo.lock30
-rw-r--r--Cargo.toml27
2 files changed, 34 insertions, 23 deletions
diff --git a/Cargo.lock b/Cargo.lock
index 77f2306..e5bd94d 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -3,6 +3,21 @@
version = 4
[[package]]
+name = "WeatherFetch"
+version = "0.0.2"
+dependencies = [
+ "clap 4.5.51",
+ "clap_derive",
+ "reqwest",
+ "serde",
+ "serde_json",
+ "serde_yml",
+ "termimage",
+ "tokio",
+ "toml",
+]
+
+[[package]]
name = "addr2line"
version = "0.24.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -2233,21 +2248,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a28ac98ddc8b9274cb41bb4d9d4d5c425b6020c50c46f25559911905610b4a88"
[[package]]
-name = "wfetch"
-version = "0.0.2"
-dependencies = [
- "clap 4.5.51",
- "clap_derive",
- "reqwest",
- "serde",
- "serde_json",
- "serde_yml",
- "termimage",
- "tokio",
- "toml",
-]
-
-[[package]]
name = "winapi"
version = "0.3.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
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 <namilsk@namilsk.tech>"]
-license = "MIT"
+name = "WeatherFetch"
+version = "0.0.2"
+edition = "2021"
+categories = ["command-line-utilities"]
+authors = ["namilsk <namilsk@namilsk.tech>"]
+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