From 3d0a54bf70376646c55086ba9f1f47473d309a5b Mon Sep 17 00:00:00 2001 From: steven-omaha <35634100+steven-omaha@users.noreply.github.com> Date: Tue, 10 Jan 2023 14:20:10 +0100 Subject: [PATCH] remove strum, adjust release profile --- Cargo.lock | 33 --------------------------------- Cargo.toml | 8 +++----- 2 files changed, 3 insertions(+), 38 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 3c02d56..972358a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -222,12 +222,6 @@ version = "0.12.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" -[[package]] -name = "heck" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2540771e65fc8cb83cd6e8a237f70c319bd5c29f78ed1084ba5d50eeac86f7f9" - [[package]] name = "hermit-abi" version = "0.1.19" @@ -355,8 +349,6 @@ dependencies = [ "anyhow", "clap", "criterion", - "strum", - "strum_macros", ] [[package]] @@ -448,12 +440,6 @@ version = "0.6.28" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "456c603be3e8d448b072f410900c09faf164fbce2d480456f50eea6e25f9c848" -[[package]] -name = "rustversion" -version = "1.0.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5583e89e108996506031660fe09baa5011b9dd0341b89029313006d1fb508d70" - [[package]] name = "ryu" version = "1.0.12" @@ -512,25 +498,6 @@ version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623" -[[package]] -name = "strum" -version = "0.24.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "063e6045c0e62079840579a7e47a355ae92f60eb74daaf156fb1e84ba164e63f" - -[[package]] -name = "strum_macros" -version = "0.24.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e385be0d24f186b4ce2f9982191e7101bb737312ad61c1f2f984f34bcf85d59" -dependencies = [ - "heck", - "proc-macro2", - "quote", - "rustversion", - "syn", -] - [[package]] name = "syn" version = "1.0.107" diff --git a/Cargo.toml b/Cargo.toml index 972af51..1483a1d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,18 +3,16 @@ name = "pacdef" version = "0.1.0" edition = "2021" -# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html - [dependencies] alpm = "*" anyhow = "*" # clap 4 until (at least) 4.0.32 have scrapped actual color support. we stay on 3.x until that's fixed. clap = "3.*" -strum = "0.24.1" -strum_macros = "0.24.3" [profile.release] -debug = true +lto = "fat" +codegen-units = 1 +strip = true [dev-dependencies] criterion = "*"