feat: finalize Cargo.toml with release profile and metadata

Swadhin Biswas committed 7 months ago
a212737
1 parent fb80dc8
commit a212737
1 file changed
+29 -6
Showing 1 changed file+29-6
▼Cargo.toml
+29-6
1
1
[package]
2
2
name = "fetchx"
3
-version = "0.1.0"
3
+version = "0.2.0"
4
4
edition = "2021"
5
-description = "A fast, modern system information tool written in Rust"
5
+authors = ["FetchX Contributors"]
6
+description = "A blazing-fast neofetch alternative — system information tool with image support, smart caching, 60+ distro logos, and Nerd Font icons"
7
+license = "MIT"
8
+repository = "https://github.com/swadhinbiswas/fetchx"
9
+keywords = ["neofetch", "system-info", "terminal", "fetch", "ascii-art"]
10
+categories = ["command-line-utilities"]
11
+readme = "README.md"
6
12
7
13
[dependencies]
14
+# CLI argument parsing
8
15
clap = { version = "4.4", features = ["derive"] }
16
+
17
+# Configuration
9
18
serde = { version = "1.0", features = ["derive"] }
10
19
toml = "0.8"
11
20
dirs = "5.0"
12
-colored = "2.1"
21
+
22
+# Unicode width for proper terminal alignment
13
23
unicode-width = "0.2"
14
-atty = "0.2"
24
+
25
+# Base64 encoding for kitty image protocol
26
+base64 = "0.22"
27
+
28
+# Image processing for image backends
29
+image = { version = "0.25", default-features = false, features = ["png", "jpeg", "gif", "webp"] }
30
+
31
+# HTTP requests for downloading images (blocking client)
15
32
reqwest = { version = "0.11", features = ["blocking", "json"] }
33
+
34
+# JSON parsing
16
35
serde_json = "1.0"
17
-image = { version = "0.25", features = ["png", "jpeg", "gif", "webp"] }
18
-base64 = "0.22"
36
+
37
+[profile.release]
38
+lto = true
39
+codegen-units = 1
40
+opt-level = 3
41
+strip = true
19
42