60e605b34e
cxx-rs only supports a few basic types in `Vec<T>`/`CxxVector<T>` and we need to pass an array of GObjects in a few cases. Add a wrapper class hack instead of using `u64` so we at least have some basic safety here and have a convenient place to grep for later when we want to improve this.
36 lines
721 B
TOML
36 lines
721 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]
|
|
cxx = "1.0.32"
|
|
glib = "0.10.3"
|
|
|
|
[lib]
|
|
name = "libdnf_sys"
|
|
path = "lib.rs"
|
|
|
|
[build-dependencies]
|
|
cmake = "0.1.45"
|
|
system-deps = "3.0"
|
|
anyhow = "1.0"
|
|
cxx-build = "1.0.32"
|
|
|
|
# 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" }
|
|
glib = { name = "glib-2.0", version = "2" }
|