Skip to content

Define policy for handling versions of the vendor library #19

Open
@newAM

Description

@newAM
  1. How should vendor library updates be handled?
    a. support only the latest
    b. support multiple versions
  2. 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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions