Open orium opened 1 year ago
I'm glad you gave it a try. There's still some work to do (not to mention the code is really messy right now), but I should be able to work on it occasionally.
I was thinking of starting simply with --all-features
. I might add a first class features
option (both in the command line and config file) in the future that can override that default behavior.
Not sure about arbitrary cargo flags, at least for now. I can be convinced otherwise if there are compelling use cases.
I was thinking of starting simply with
--all-features
.
I think that might be problematic, as a lot of repos tend to declare features like nightly
or no_std
or unstable
etc, which are usually not desirable and might break more things than --all-features
fixes.
Not sure about arbitrary cargo flags, at least for now. I can be convinced otherwise if there are compelling use cases.
Yeah I can't really think of other compelling cases for now, but it is a pattern that other cargo-based tools tend to follow, so figured might be easiest to support. Explicit --features
sounds good though.
I think that might be problematic, as a lot of repos tend to declare features like nightly or no_std or unstable etc, which are usually not desirable and might break more things than --all-features fixes.
That's true. I'll have an explicit features options and default to whatever default features the package has.
Trying out the branch - looks pretty good so far, but one thing I'm finding missing is ability to pass custom Cargo args (maybe as
cargo rdme -- ...[cargo options]...
?) as some projects require--features
to be passed in to compile at all.