1################################################################################
2#
3# rust-bindgen
4#
5################################################################################
6
7RUST_BINDGEN_VERSION = 0.65.1
8RUST_BINDGEN_SITE = $(call github,rust-lang,rust-bindgen,v$(RUST_BINDGEN_VERSION))
9RUST_BINDGEN_LICENSE = BSD-3-clause
10RUST_BINDGEN_LICENSE_FILES = LICENSE
11
12# The Cargo.toml at the root directory is a "virtual manifest".
13# Since we only want to build and install bindgen use the Cargo.toml
14# from the bindgen-cli subdirectory.
15RUST_BINDGEN_SUBDIR = bindgen-cli
16
17$(eval $(host-cargo-package))
18