From c61fcbe2c3cb7fa0733d9cd94ec65d03f0bfd008 Mon Sep 17 00:00:00 2001 From: Kornel Date: Sun, 1 Sep 2024 13:45:31 +0100 Subject: [PATCH] Disable legacy Cargo features (#1158) --- Cargo.toml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index f42f03c74..7f054d6b8 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,12 +19,14 @@ name = "tokei" readme = "README.md" repository = "https://github.com/XAMPPRocky/tokei.git" version = "13.0.0-alpha.5" +rust-version = "1.71" +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"