mirror of
https://github.com/ostreedev/ostree.git
synced 2024-12-22 17:35:55 +03:00
Add a prelude module for star imports
This commit is contained in:
parent
4c51e595f0
commit
1ea604a531
@ -18,8 +18,6 @@ manual = [
|
||||
"GLib.Variant",
|
||||
"Gio.Cancellable",
|
||||
"Gio.File",
|
||||
|
||||
#"OSTree.RepoCheckoutAtOptions",
|
||||
]
|
||||
|
||||
[[object]]
|
||||
|
@ -7,7 +7,12 @@ extern crate gobject_sys as gobject_ffi;
|
||||
extern crate glib;
|
||||
extern crate gio;
|
||||
|
||||
pub use glib::Error;
|
||||
use glib::Error;
|
||||
|
||||
// re-exports
|
||||
mod auto;
|
||||
pub use auto::*;
|
||||
|
||||
// public modules
|
||||
pub mod prelude;
|
||||
pub use prelude::*;
|
||||
|
1
rust-bindings/rust/libostree/src/prelude.rs
Normal file
1
rust-bindings/rust/libostree/src/prelude.rs
Normal file
@ -0,0 +1 @@
|
||||
pub use traits::*;
|
Loading…
Reference in New Issue
Block a user