Skip to content

Add a vendored feature flag (like OpenSSL) #7

@jannikac

Description

@jannikac

Hi this is a feature request. A vendored feature flag would be cool because i don't want to package my application for each distro / os there is and ensure libmtp is installed on the running system. Some other crates expose this as a feature flag, like OpenSSL.

[dependencies]
openssl = { version = "0.10", features = ["vendored"] }

For my application I've managed to do it using AI to generate the code because I wouldn't have known how to do it otherwise. https://github.com/jannikac/mtp-filler/tree/main/vendor/libmtp-sys

So it is possible in theory, I'd like it if it was in this upstream library.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions