rpm-ostree/bindgen/Cargo.toml
Colin Walters f50f9e8d7e Split cbindgen to separate build, support external version
The problem is building bindgen as part of our single run
locks serde to way old versions, and I want to use newer versions.

Since Fedora will now again ship a `cbindgen` package, let's
also support using it if we find it, saving ourselves
the cost of building it.

For distros that don't ship it (e.g. CentOS) for CI purposes
we build it.  For downstream builds that are offline, rather
than vendor the cbindgen sources like we do with our main Rust,
let's just vendor the `rpmostree-rust.h` file as was suggested
in https://bugzilla.redhat.com/show_bug.cgi?id=1608670

Closes: https://github.com/projectatomic/rpm-ostree/issues/1557

Closes: #1573
Approved by: jlebon
2018-09-25 20:29:21 +00:00

13 lines
240 B
TOML

[package]
name = "rpmostree-bindgen"
version = "0.1.0"
authors = ["Colin Walters <walters@verbum.org>"]
[dependencies]
cbindgen = "0.6.3"
# Might as well keep these from the main Rust source
[profile.release]
panic = "abort"
debug = true