Skip to content

Commit

Permalink
reduce binary size
Browse files Browse the repository at this point in the history
Signed-off-by: Marc Schöchlin <[email protected]>
  • Loading branch information
scoopex committed Nov 24, 2024
1 parent 8174eca commit ae954e0
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 50 deletions.
59 changes: 12 additions & 47 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 6 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,17 +1,20 @@
[profile.release]
strip = true
opt-level = "z"
codegen-units = 1
lto = true

[package]
name = "hostctl"
version = "0.1.0"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
hostname = "0.3.1"
libc = "0.2.153"
env_logger = "0.11.3"
clap = { version = "4.5.4", features = ["derive"] }
clap_complete = "4.2"
colored = "2.1.0"
inline_colorization = "0.1.6"
serde_json = "1.0.115"
regex = "1.10.4"
Expand Down

0 comments on commit ae954e0

Please sign in to comment.