Add a prelude module for star imports

This commit is contained in:
Felix Krull 2018-09-29 18:02:51 +02:00 committed by Colin Walters
parent 4c51e595f0
commit 1ea604a531
3 changed files with 7 additions and 3 deletions

View File

@ -18,8 +18,6 @@ manual = [
"GLib.Variant", "GLib.Variant",
"Gio.Cancellable", "Gio.Cancellable",
"Gio.File", "Gio.File",
#"OSTree.RepoCheckoutAtOptions",
] ]
[[object]] [[object]]

View File

@ -7,7 +7,12 @@ extern crate gobject_sys as gobject_ffi;
extern crate glib; extern crate glib;
extern crate gio; extern crate gio;
pub use glib::Error; use glib::Error;
// re-exports
mod auto; mod auto;
pub use auto::*; pub use auto::*;
// public modules
pub mod prelude;
pub use prelude::*;

View File

@ -0,0 +1 @@
pub use traits::*;