mirror of
https://github.com/ostreedev/ostree.git
synced 2025-02-03 17:47:40 +03:00
Re-export glib, gio
Re-export our dependencies. See https://gtk-rs.org/blog/2021/06/22/new-release.html "Dependencies are re-exported". Users will need e.g. `gio::File`, so this avoids them needing to update matching versions. Closes: https://github.com/ostreedev/ostree-rs/issues/12
This commit is contained in:
parent
6303229c4e
commit
deedffde06
@ -6,6 +6,12 @@
|
||||
|
||||
#![doc(html_root_url = "https://fkrull.gitlab.io/ostree-rs")]
|
||||
|
||||
// Re-export our dependencies. See https://gtk-rs.org/blog/2021/06/22/new-release.html
|
||||
// "Dependencies are re-exported". Users will need e.g. `gio::File`, so this avoids
|
||||
// them needing to update matching versions.
|
||||
pub use gio;
|
||||
pub use glib;
|
||||
|
||||
// code generated by gir
|
||||
#[rustfmt::skip]
|
||||
#[allow(clippy::all)]
|
||||
@ -59,4 +65,9 @@ mod tests;
|
||||
// prelude
|
||||
pub mod prelude {
|
||||
pub use crate::auto::traits::*;
|
||||
// See "Re-export dependencies above".
|
||||
#[doc(hidden)]
|
||||
pub use gio::prelude::*;
|
||||
#[doc(hidden)]
|
||||
pub use glib::prelude::*;
|
||||
}
|
||||
|
@ -1,6 +1,7 @@
|
||||
use crate::util::*;
|
||||
use gio::{prelude::*, NONE_CANCELLABLE};
|
||||
use ostree::{ObjectType, *};
|
||||
use ostree::gio::NONE_CANCELLABLE;
|
||||
use ostree::prelude::*;
|
||||
use ostree::{ObjectName, ObjectType};
|
||||
|
||||
#[cfg(feature = "v2016_8")]
|
||||
mod checkout_at;
|
||||
|
Loading…
x
Reference in New Issue
Block a user