Commit Graph

5 Commits (13e5713e3084b216c67e9dbc36de6e45b73b9824)

Author SHA1 Message Date
Alaric Senat 656aa597fa build: bump bindgen to 0.72 and migrate to the allowlist API
bindgen 0.59, relied on the now-deprecated whitelist_* builder methods
and the bare CargoCallbacks unit struct. Move to 0.72 and its current
API.
2026-07-23 12:01:58 +02:00
Alaric Senat 9be21665c8 build: fix MSRV to 1.82
Found with cargo-msrv. The new requirement is brought by a subsequent
bindgen update
2026-07-23 12:01:58 +02:00
Alaric Senat 14198a352d build: bump rust edition
This is needed for a bindgen update and the crate will benefit from the
new languages features
2026-07-23 12:01:58 +02:00
Romain Roffé 55310d8bd3 Move libvlc link to libvlc-sys 2022-02-25 16:16:32 +01:00
Romain Roffé 34bd7b2988 Use bindgen
binding.rs generation with bindgen is optional.

By default, a pre-generated binding.rs is copied in OUT_DIR. This allows
for example to build on Windows and link against a standard VLC
installation.

Feature "use-bindgen" will trigger binding generation.
2022-02-25 16:05:10 +01:00