From: Felix Krull Date: Thu, 23 Jul 2020 14:09:15 +0000 (+0200) Subject: Switch from lazy_static to once_cell X-Git-Tag: archive/raspbian/2022.4-1+rpi1^2~9^2^2~20^2~143 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=37f9e3599afd4583d903127bc8dddb3629457655;p=ostree.git Switch from lazy_static to once_cell --- diff --git a/rust-bindings/rust/Cargo.toml b/rust-bindings/rust/Cargo.toml index d3b0cc90..89bb8f63 100644 --- a/rust-bindings/rust/Cargo.toml +++ b/rust-bindings/rust/Cargo.toml @@ -34,12 +34,12 @@ members = [".", "sys"] [dependencies] libc = "0.2" bitflags = "1" -lazy_static = "1.1" glib = "0.9.0" gio = "0.8.0" glib-sys = "0.9.1" gobject-sys = "0.9.1" gio-sys = "0.9.1" +once_cell = "1.0" ostree-sys = { version = "0.5.4", path = "sys" } [dev-dependencies] diff --git a/rust-bindings/rust/src/lib.rs b/rust-bindings/rust/src/lib.rs index 89e49dbc..6046c7c3 100644 --- a/rust-bindings/rust/src/lib.rs +++ b/rust-bindings/rust/src/lib.rs @@ -16,8 +16,7 @@ extern crate gio; extern crate libc; #[macro_use] extern crate bitflags; -#[macro_use] -extern crate lazy_static; +extern crate once_cell; // code generated by gir #[rustfmt::skip]