From 844251c478378b13e21c4637d37085844b17ccc8 Mon Sep 17 00:00:00 2001 From: Ed Page Date: Mon, 1 Nov 2021 16:26:02 -0500 Subject: [PATCH] test: Easier to test with minimal features PR #2979 reduced what dependencies we push on users and made us one step closer to being able to test more with fewer features. Looks like I also need to update `clap_derive`. I verified locally that #2976 fails with this. `clap_derive` still needs `env` because of examples / tests that use it. I feel like moving `clap_derive`s tests out to `clap` would be the way to fix this. --- clap_derive/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clap_derive/Cargo.toml b/clap_derive/Cargo.toml index 284e3326..159d7515 100644 --- a/clap_derive/Cargo.toml +++ b/clap_derive/Cargo.toml @@ -39,7 +39,7 @@ heck = "0.3.0" proc-macro-error = "1" [dev-dependencies] -clap = { path = "../" } +clap = { path = "../", default-features = false, features = ["std", "derive", "env"] } trybuild = "1.0" rustversion = "1" version-sync = "0.9"