588541c60d
This is now further migration towards Cargo/Rust possible because we switched our main binary. We've had an internal `libdnf-sys` crate for a while, but now it can take over the build of the underlying library too (like many `-sys` crates support). This itself is just an incremental step towards migrating the main rpm-ostree build system to e.g. cmake too (or perhaps directly with the `cc` crate, not sure yet) and driving it via `cargo` too.
33 lines
638 B
TOML
33 lines
638 B
TOML
[package]
|
|
name = "libdnf-sys"
|
|
version = "0.1.0"
|
|
authors = ["Colin Walters <walters@verbum.org>", "Jonathan Lebon <jonathan@jlebon.com>"]
|
|
edition = "2018"
|
|
links = "dnf"
|
|
|
|
[dependencies]
|
|
libc = "0.2"
|
|
|
|
[lib]
|
|
name = "libdnf_sys"
|
|
path = "lib.rs"
|
|
|
|
[build-dependencies]
|
|
cmake = "0.1.45"
|
|
system-deps = "2.0"
|
|
anyhow = "1.0"
|
|
|
|
# This currently needs to duplicate the libraries from libdnf
|
|
[package.metadata.system-deps]
|
|
rpm = "4"
|
|
# libdnf dependencies
|
|
librepo = "1"
|
|
libsolv = "0.7"
|
|
libsolvext = "0.7"
|
|
gpgme = "1"
|
|
openssl = "1"
|
|
libcurl = "7"
|
|
sqlite3 = "3"
|
|
modulemd = { name = "modulemd-2.0", version = "2" }
|
|
jsonc = { name = "json-c", version = "0" }
|