Rain

Results 514 comments of Rain

Thanks for the report! hakari has the ability to define exclusions in the config: [`traversal-excludes`](https://docs.rs/cargo-hakari/latest/cargo_hakari/config/index.html#traversal-excludes) and [`final-excludes`](https://docs.rs/cargo-hakari/latest/cargo_hakari/config/index.html#final-excludes). Another option is to specify your feature as a platform-specific one if possible,...

Could you paste the contents of the relevant sections of `.config/hakari.toml`? > I do want to pull in transitive-dep, just not enable its features unconditionally. You'll be able to pull...

Ahh I did some experimentation and it looks like you have to specify both the URL and the branch: ```toml [final-excludes] third-party = [ { name = "transitive-dep", git =...

Yeah, I think that would be a pretty good addition! This is honestly the first time excluding just a single feature (rather than an entire package) has come up like...

> Awesome, glad to hear! I'm happy to take a stab at implementing it if you can point me in the right direction :) A little warning: it's maybe a...

> What should { name = "my-other-crate", features = [] } mean? "Ignore all features", same as "my-other-crate" on its own? Or "ignore no features", i.e. a no-op? I'd make...

Yeah, I think that's serde(flatten).

Where the `is_omitted` call happens you could also filter by feature index rather than just the package index as happens today.

Feel free to put up whatever you have, I'm happy to finish it up in the next week or so