2018-05-31 23:31:22 +03:00
[ package ]
2018-07-04 21:50:40 +03:00
name = "rpmostree-rust"
2018-05-31 23:31:22 +03:00
version = "0.1.0"
2018-10-05 19:57:00 +03:00
authors = [ "Colin Walters <walters@verbum.org>" , "Jonathan Lebon <jonathan@jlebon.com>" ]
2019-04-14 21:54:32 +03:00
edition = "2018"
2021-01-23 18:32:05 +03:00
links = "rpmostreeinternals"
# This currently needs to duplicate the libraries in configure.ac
# until we unify on Cargo as our build system
[ package . metadata . system-deps ]
libarchive = "3.0"
jsonglib = { name = "json-glib-1.0" , version = "1" }
polkitgobject = { name = "polkit-gobject-1" , version = "0" }
rpm = "4"
librepo = "1"
libsolv = "0.7"
2018-05-31 23:31:22 +03:00
[ dependencies ]
2021-01-25 12:18:15 +03:00
anyhow = "1.0.38"
2020-12-23 03:51:07 +03:00
paste = "1.0"
2021-01-26 13:34:13 +03:00
serde = { version = "1.0.123" , features = [ "derive" ] }
2020-12-09 01:57:50 +03:00
serde_derive = "1.0.118"
2021-01-20 17:33:04 +03:00
serde_json = "1.0.61"
2021-01-25 14:42:13 +03:00
serde_yaml = "0.8.15"
2021-01-25 12:17:56 +03:00
libc = "0.2.82"
2021-01-25 17:32:46 +03:00
cxx = "1.0.28"
2020-11-30 09:29:52 +03:00
nix = "0.19.1"
2020-09-21 10:22:04 +03:00
glib-sys = "0.10.1"
2020-10-19 17:58:26 +03:00
glib = "0.10.3"
gio-sys = "0.10.1"
gio = "0.9.1"
ostree = { version = "0.9.1" , features = [ "v2020_4" ] }
ostree-sys = "0.7.1"
2021-01-25 16:50:45 +03:00
tempfile = "3.2.0"
2020-10-19 17:58:26 +03:00
clap = "2.33.3"
2020-12-09 00:33:37 +03:00
structopt = "0.3.21"
2020-06-15 21:32:40 +03:00
openat = "0.1.19"
2021-01-12 00:53:05 +03:00
openat-ext = "^0.1.11"
2020-10-19 17:58:26 +03:00
curl = "0.4.34"
2020-10-26 09:32:58 +03:00
rayon = "1.5.0"
2018-09-27 16:31:50 +03:00
c_utf8 = "0.1.0"
2021-01-26 13:34:13 +03:00
rand = "0.8.3"
2020-12-23 20:01:33 +03:00
phf = { version = "0.8" , features = [ "macros" ] }
2021-01-25 14:42:11 +03:00
systemd = "0.8.2"
2020-06-15 12:31:43 +03:00
indicatif = "0.15.0"
2020-10-19 17:58:26 +03:00
lazy_static = "1.4.0"
2020-04-06 17:53:34 +03:00
envsubst = "0.2.0"
2020-10-30 21:43:35 +03:00
subprocess = "0.2.6"
2020-10-05 10:19:54 +03:00
chrono = { version = "0.4.19" , features = [ "serde" ] }
2020-12-08 21:29:05 +03:00
libdnf-sys = { path = "rust/libdnf-sys" , version = "0.1.0" }
2021-01-12 21:43:58 +03:00
memfd = "0.3.0"
2021-01-25 17:22:07 +03:00
rust-ini = "0.16.1"
2020-10-13 18:46:00 +03:00
os-release = "0.1.0"
2018-05-31 23:31:22 +03:00
2020-12-31 19:55:19 +03:00
[ build-dependencies ]
cbindgen = "0.16.0"
2021-01-23 18:32:05 +03:00
system-deps = "2.0"
2020-12-28 17:16:32 +03:00
anyhow = "1.0"
2020-12-31 19:55:19 +03:00
2018-05-31 23:31:22 +03:00
[ lib ]
2018-07-04 21:50:40 +03:00
name = "rpmostree_rust"
2020-12-08 21:29:05 +03:00
path = "rust/src/lib.rs"
2018-05-31 23:31:22 +03:00
crate-type = [ "staticlib" ]
[ profile . release ]
2018-11-05 18:50:24 +03:00
# Unwinding across FFI boundaries is undefined behavior, and anyways, we're
# [crash-only](https://en.wikipedia.org/wiki/Crash-only_software)
2018-05-31 23:31:22 +03:00
panic = "abort"
2018-11-05 18:50:24 +03:00
# We assume we're being delivered via e.g. RPM which supports split debuginfo
2018-09-10 20:50:24 +03:00
debug = true
2020-10-28 23:06:26 +03:00
# We need this to avoid leaking symbols, see
# https://internals.rust-lang.org/t/rust-staticlibs-and-optimizing-for-size/5746
lto = true
2020-12-22 01:27:52 +03:00
[ features ]
sqlite-rpmdb-default = [ ]
2020-12-28 17:16:32 +03:00
fedora-integration = [ ]
2020-12-22 01:27:52 +03:00
default = [ ]