From 2951bfb09d9c187b205cd04c5204eabb1a70748d Mon Sep 17 00:00:00 2001 From: Joe Richey Date: Thu, 12 Dec 2024 20:54:55 -0800 Subject: [PATCH] Use dep: style features for rustc-dep-of-std This prevents this crate from having features `compiler_builtins` and `core`. I didn't initally add this because it requires an MSRV of 1.60, but our MSRV is 1.63 now, so this is OK. Signed-off-by: Joe Richey --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 05ff4b1b..f3d3a720 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -75,7 +75,7 @@ wasm-bindgen-test = "0.3" # use std to retrieve OS error descriptions std = [] # Unstable feature to support being a libstd dependency -rustc-dep-of-std = ["compiler_builtins", "core"] +rustc-dep-of-std = ["dep:compiler_builtins", "dep:core"] [lints.rust.unexpected_cfgs] level = "warn"