Skip to content

Fix features definition#98

Open
Brayan-724 wants to merge 1 commit intodotenv-rs:masterfrom
Brayan-724:patch-1
Open

Fix features definition#98
Brayan-724 wants to merge 1 commit intodotenv-rs:masterfrom
Brayan-724:patch-1

Conversation

@Brayan-724
Copy link

The current cli feature is using an implicit clap feature, and with 2 features is confusing to know the meaning of that intermediate feature. The fix is in the docs.

If you specify the optional dependency with the dep: prefix anywhere in the [features] table, that disables the implicit feature.

The current `cli` feature is using an implicit `clap` feature, and with 2 features is confusing to know the meaning of that intermediate feature. The fix is in the [docs](https://doc.rust-lang.org/cargo/reference/features.html#optional-dependencies).

> If you specify the optional dependency with the dep: prefix anywhere in the [features] table, that disables the implicit feature.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant