You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For the next minor release I would suggest we don't adjust any CLI options which are currently
--features <FEATURES> Space-separated list of features to activate.
--all-features Activate all available features.
--no-default-features Do not activate the `default` feature.
Questions
I am not sure whether anyone runs cargo geiger on CI or something i.e. if we introduce breaking change to CLI options in future? I heavily doubt there were any other than new options but for as the future expectation i am most concerned with.
Do people expect these CLI options to stay same or follow cargo ones 1:1 both the way they are named and set ?
Would it be preferable to match cargo build options 1:1 and create as expectation how we follow cargo release?
Approach Proposed
For now I will just translate the current arguments to current structures and use the new constructor functions provided
I will use CliFeatures::from_command_line to construct the features
For the next major version de-couple / reduce translation between CLI and cargo so it's easier to change that dependency.
Notes
Cargo has comma/space separated list whilst cargo geiger has space separated --features <FEATURES>... Space or comma separated list of features to activate
We will have to handle errors better in future e.g. from from_command_line but it will require some overall reforms.
The text was updated successfully, but these errors were encountered:
This comment was made as part of 0.58.0 bump via 0.11.2 release
See 0.12.0 major changes from the next comment
See #244 for general discussion re: changes outside sub-issues - I've limited this issue to keep track of agreed changes
As part of working Cargo bump at #208
I came across the bit that builds the CompileOptions I have to adjust for cargo >= 0.58.0
0.52.0 CompileOptions - https://docs.rs/cargo/0.52.0/cargo/ops/struct.CompileOptions.html
0.58.0 CompileOptions - https://docs.rs/cargo/latest/cargo/ops/struct.CompileOptions.html
For the next minor release I would suggest we don't adjust any CLI options which are currently
Questions
Approach Proposed
Notes
--features <FEATURES>... Space or comma separated list of features to activate
The text was updated successfully, but these errors were encountered: