-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
43 lines (38 loc) · 1.05 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
[package]
name = "printenv2"
version = "0.1.3"
edition = "2021"
authors = [
"Xinkai Chen <[email protected]>",
]
description = "A printenv rewrite in Rust"
readme = "README.md"
categories = ["command-line-utilities"]
repository = "https://github.com/Xinkai/printenv2/"
license = "MIT"
keywords = ["printenv", "coreutils"]
build = "build.rs"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
colored = { version = "2.0.4" }
clap = { version = "4.4.6", features = ["derive"] }
serde = { version = "1.0.160" }
serde_json = { version = "1.0.95" }
[target.'cfg(target_family = "windows")'.dependencies]
windows = { version = "0.42.0", features = [
"Win32_System_Threading",
"Win32_Foundation",
"Win32_Security",
"Win32_System_SystemServices",
"Win32_System_Kernel",
"Win32_System_Diagnostics_Debug",
"Win32_System_LibraryLoader",
] }
[build-dependencies]
bindgen = { version = "0.63.0" }
[profile.release]
opt-level = 3
lto = true
panic = "abort"
strip = true
codegen-units = 1