From 37f9e3599afd4583d903127bc8dddb3629457655 Mon Sep 17 00:00:00 2001 From: Felix Krull Date: Thu, 23 Jul 2020 16:09:15 +0200 Subject: [PATCH] Switch from lazy_static to once_cell --- rust-bindings/rust/Cargo.toml | 2 +- rust-bindings/rust/src/lib.rs | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) 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]