diff --git a/Cargo.toml b/Cargo.toml index d8fc185..ba374e9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -15,10 +15,9 @@ categories = ["command-line-utilities"] colored = "2.0" gumdrop = "0.8" hmac-sha256 = "1.1" -itertools = "0.10" -serde = "1.0" -serde_derive = "1.0" -toml = "0.5" +itertools = "0.11" +serde = { version = "1.0", features = ["derive"] } +toml = "0.8" [profile.release] lto = true diff --git a/src/main.rs b/src/main.rs index e090eaf..d159179 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,11 +1,11 @@ -pub(crate) mod error; +mod error; use crate::error::Error; use colored::*; use gumdrop::{Options, ParsingStyle}; use hmac_sha256::Hash; use itertools::Itertools; -use serde_derive::Deserialize; +use serde::Deserialize; use std::ffi::OsString; use std::fs::{DirEntry, File}; use std::io::{BufWriter, Write}; @@ -25,17 +25,13 @@ const LICENSES: &[&str] = &[ struct Args { /// Display this help message. help: bool, - /// Display the current version of this software. version: bool, - /// Unused. #[options(free)] args: Vec, - /// Use the MUSL build target to produce a static binary. musl: bool, - /// Don't actually build anything. dryrun: bool, }