Open
Description
- How should vendor library updates be handled?
a. support only the latest
b. support multiple versions - If supporting multiple versions, with what method?
The most common method of supporting multiple versions of a library with C FFI is feature flags, e.g. vendor_1_4_8
would enable version 1.4.8
, and vendor_1_4_22
would enable 1.4.22
. The best example I have seen of this in action is ffmpeg-sys
.
However, as I recently learned from #15 cargo features should be additive because of feature-unification.
Are there any *-sys
style crates that have other ways of handling this?