Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optional dependencies aren't shown in External Libraries #651

Closed
sfackler opened this issue Sep 2, 2016 · 2 comments
Closed

Optional dependencies aren't shown in External Libraries #651

sfackler opened this issue Sep 2, 2016 · 2 comments

Comments

@sfackler
Copy link

sfackler commented Sep 2, 2016

Note that log does appear but libc does not. I'm running 0.0.1.903 on OSX.

screen shot 2016-09-02 at 4 55 25 pm

@matklad
Copy link
Member

matklad commented Sep 2, 2016

Hey, looks like the necessary functionality was just implemented in Cargo: rust-lang/cargo#3038

@sfackler
Copy link
Author

sfackler commented Sep 2, 2016

Ah, great!

@matklad matklad closed this as completed in ecce3fa Sep 5, 2016
kumbayo added a commit to kumbayo/intellij-rust that referenced this issue Sep 5, 2018
We want to accurately track feature flags so lets not tell cargo
to always enable all features for us.

This essentially reverts intellij-rust#651 ecce3fa.
kumbayo added a commit to kumbayo/intellij-rust that referenced this issue Sep 11, 2018
We want to accurately track feature flags so lets not tell cargo
to always enable all features for us.

This essentially reverts intellij-rust#651 ecce3fa.
kumbayo added a commit to kumbayo/intellij-rust that referenced this issue Oct 21, 2018
We want to accurately track feature flags so lets not tell cargo
to always enable all features for us.
Always enabling all features can also causes problems as some non standard
feature dependency may not be available.

Instead let the user to configure which features should be enabled.
The new default behavior is to only enable default features.
This setting is stored per project and reachable via Settings >
Languages & Frameworks > Rust > Cargo.

We do not yet use this features setting for any other commands like
- cargo check
- cargo build
- cargo test
- cargo run
- ...

Fixes intellij-rust#2635
See also intellij-rust#651 ecce3fa.

The field cargoFeaturesAdditional in State needs to be a mutable list
as the deserialization writes to the list instead of allocating a new list.
kumbayo added a commit to kumbayo/intellij-rust that referenced this issue Oct 29, 2018
We want to accurately track feature flags so lets not tell cargo
to always enable all features for us.
Always enabling all features can also causes problems as some non standard
feature dependency may not be available.

Instead let the user to configure which features should be enabled.
The new default behavior is to only enable default features.
This setting is stored per project and reachable via Settings >
Languages & Frameworks > Rust > Cargo.

We do not yet use this features setting for any other commands like
- cargo check
- cargo build
- cargo test
- cargo run
- ...

Fixes intellij-rust#2635
See also intellij-rust#651 ecce3fa.

The field cargoFeaturesAdditional in State needs to be a mutable list
as the deserialization writes to the list instead of allocating a new list.
kumbayo added a commit to kumbayo/intellij-rust that referenced this issue Nov 7, 2018
We want to accurately track feature flags so lets not tell cargo
to always enable all features for us.
Always enabling all features can also causes problems as some non standard
feature dependency may not be available.

Instead let the user configure which features should be enabled.
The new default behavior is to only enable default features.

This setting is stored per project and reachable via Settings >
Languages & Frameworks > Rust > Cargo.

We do not yet use this features setting for any other commands like
- cargo check
- cargo build
- cargo test
- cargo run
- ...

Fixes intellij-rust#2635
See also intellij-rust#651 ecce3fa.
kumbayo added a commit to kumbayo/intellij-rust that referenced this issue Nov 11, 2018
We want to accurately track feature flags so lets not tell cargo
to always enable all features for us.
Always enabling all features can also causes problems as some non standard
feature dependency may not be available.

Instead let the user configure which features should be enabled.
The new default behavior is to only enable default features.

This setting is stored per project and reachable via Settings >
Languages & Frameworks > Rust > Cargo.

We do not yet use this features setting for any other commands like
- cargo check
- cargo build
- cargo test
- cargo run
- ...

Fixes intellij-rust#2635
See also intellij-rust#651 ecce3fa.
kumbayo added a commit to kumbayo/intellij-rust that referenced this issue Dec 17, 2018
We want to accurately track feature flags so lets not tell cargo
to always enable all features for us.
Always enabling all features can also causes problems as some non standard
feature dependency may not be available.

Instead let the user configure which features should be enabled.
The new default behavior is to only enable default features.

This setting is stored per project and reachable via Settings >
Languages & Frameworks > Rust > Cargo.

We do not yet use this features setting for any other commands like
- cargo check
- cargo build
- cargo test
- cargo run
- ...

Fixes intellij-rust#2635
See also intellij-rust#651 ecce3fa.
kumbayo added a commit to kumbayo/intellij-rust that referenced this issue Jan 13, 2019
We want to accurately track feature flags so lets not tell cargo
to always enable all features for us.
Always enabling all features can also causes problems as some non standard
feature dependency may not be available.

Instead let the user configure which features should be enabled.
The new default behavior is to only enable default features.

This setting is stored per project and reachable via Settings >
Languages & Frameworks > Rust > Cargo.

We do not yet use this features setting for any other commands like
- cargo check
- cargo build
- cargo test
- cargo run
- ...

Fixes intellij-rust#2635
See also intellij-rust#651 ecce3fa.
kumbayo added a commit to kumbayo/intellij-rust that referenced this issue Feb 17, 2019
We want to accurately track feature flags so lets not tell cargo
to always enable all features for us.
Always enabling all features can also causes problems as some non standard
feature dependency may not be available.

Instead let the user configure which features should be enabled.
The new default behavior is to only enable default features.

This setting is stored per project and reachable via Settings >
Languages & Frameworks > Rust > Cargo.

We do not yet use this features setting for any other commands like
- cargo check
- cargo build
- cargo test
- cargo run
- ...

Fixes intellij-rust#2635
See also intellij-rust#651 ecce3fa.
kumbayo added a commit to kumbayo/intellij-rust that referenced this issue Feb 18, 2019
We want to accurately track feature flags so lets not tell cargo
to always enable all features for us.
Always enabling all features can also causes problems as some non standard
feature dependency may not be available.

Instead let the user configure which features should be enabled.
The new default behavior is to only enable default features.

This setting is stored per project and reachable via Settings >
Languages & Frameworks > Rust > Cargo.

We do not yet use this features setting for any other commands like
- cargo check
- cargo build
- cargo test
- cargo run
- ...

Fixes intellij-rust#2635
See also intellij-rust#651 ecce3fa.
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

No branches or pull requests

2 participants