Skip to content

Commit

Permalink
优化生成程序的大小
Browse files Browse the repository at this point in the history
  • Loading branch information
sndnvaps committed Oct 20, 2022
1 parent 0083dad commit 506f493
Show file tree
Hide file tree
Showing 3 changed files with 78 additions and 21 deletions.
86 changes: 69 additions & 17 deletions Cargo.lock

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

12 changes: 9 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,20 @@
[package]
name = "ups_monitor_rust"
version = "0.1.0"
version = "0.1.1"
edition = "2021"

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

[profile.release]
opt-level = "z"
lto = true
codegen-units = 1


[dependencies]
linux-embedded-hal = "0.2"
ina219_rs = "0.2.1"
ina219_rs = { version = "0.5.0", features = ["ina219"] }


ctrlc = "3.2.3"
tracing = "0.1.36"
tracing = "0.1.36"
1 change: 0 additions & 1 deletion src/mod.rs

This file was deleted.

0 comments on commit 506f493

Please sign in to comment.