DeterminateSystems / riff

Riff automatically provides external dependencies for Rust projects, with support for other languages coming soon.

Home Page:https://riff.sh

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

optional/feature dependent build-inputs

konstin opened this issue · comments

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?

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.