From 4de69edd76aef0bff4c9322fc00316ff65dbb6a6 Mon Sep 17 00:00:00 2001 From: Kornel Date: Sun, 1 Sep 2024 12:25:58 +0100 Subject: [PATCH 1/2] Declare MSRV --- Cargo.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index f42f03c74..c4510be60 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,6 @@ authors = ["Erin Power "] build = "build.rs" categories = ["command-line-utilities", "development-tools", "visualization"] description = "Count your code, quickly." -edition = "2018" homepage = "https://tokei.rs" include = [ "Cargo.lock", @@ -20,6 +19,8 @@ name = "tokei" readme = "README.md" repository = "https://github.com/XAMPPRocky/tokei.git" version = "13.0.0-alpha.5" +rust-version = "1.71" +edition = "2018" [features] all = ["cbor", "yaml"] From 087c4c816051d74413af90bbe9697713c365476f Mon Sep 17 00:00:00 2001 From: Kornel Date: Sun, 1 Sep 2024 12:26:12 +0100 Subject: [PATCH 2/2] Don't expose implicit Cargo features --- Cargo.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index c4510be60..7f054d6b8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -20,13 +20,13 @@ readme = "README.md" repository = "https://github.com/XAMPPRocky/tokei.git" version = "13.0.0-alpha.5" rust-version = "1.71" -edition = "2018" +edition = "2021" [features] all = ["cbor", "yaml"] -cbor = ["hex", "serde_cbor"] +cbor = ["dep:hex", "dep:serde_cbor"] default = [] -yaml = ["serde_yaml"] +yaml = ["dep:serde_yaml"] [profile.release] lto = "thin"