DeterminateSystems / riff

Riff automatically provides external dependencies for Rust projects, with support for other languages coming soon.
https://riff.sh
Mozilla Public License 2.0
486 stars 13 forks source link

optional/feature dependent build-inputs #114

Open konstin opened 2 years ago

konstin commented 2 years ago

When i build programs with external dependencies, i try to make them optional dependencies or able to be switched out, e.g. selecting openssl vs. rustls at build time or optionally depending on patchelf. Would it possible to make build-inputs that depend on features?

grahamc commented 2 years ago

We discussed this ticket in our daily standup today, and we decided to hold off on this until we've implemented support for another language or two. We want to do this so we have a handle on how other languages work before we start building out features that are very hard / impossible to reimplement elsewhere. Anyway, the long and short of it is thanks for the idea -- we like it, but we're not looking to do this yet.