Add a prelude module for star imports

This commit is contained in:
Felix Krull authored and Colin Walters committed 2022-05-06 12:53:52 -04:00
1 parent 4c51e595f0
commit 1ea604a531
3 files changed
+7 -3

No files matched your search

-2
View File
@@ -18,8 +18,6 @@ manual = [
"GLib.Variant", "GLib.Variant",
"Gio.Cancellable", "Gio.Cancellable",
"Gio.File", "Gio.File",
#"OSTree.RepoCheckoutAtOptions",
] ]
[[object]] [[object]]
+6 -1
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::*;
@@ -0,0 +1 @@
pub use traits::*;