| 1 | // Take a look at the license at the top of the repository in the LICENSE file. |
| 2 | |
| 3 | #![cfg_attr(docsrs, feature(doc_cfg))] |
| 4 | #![doc = include_str!("../README.md")] |
| 5 | pub use gio_unix_sys as ffi; |
| 6 | |
| 7 | #[allow(unused_imports)] |
| 8 | #[allow(clippy::derived_hash_with_manual_eq)] |
| 9 | #[allow(clippy::let_and_return)] |
| 10 | mod auto; |
| 11 | pub use auto::*; |
| 12 | |
| 13 | #[cfg(feature = "v2_58")] |
| 14 | mod desktop_app_info; |
| 15 | mod fd_message; |
| 16 | mod file_descriptor_based; |
| 17 | mod input_stream; |
| 18 | #[cfg(feature = "v2_84")] |
| 19 | mod mount_entry; |
| 20 | mod mount_point; |
| 21 | mod output_stream; |
| 22 | |
| 23 | pub mod functions { |
| 24 | pub use super::auto::functions::*; |
| 25 | } |
| 26 | |
| 27 | pub mod prelude { |
| 28 | pub use gio::prelude::*; |
| 29 | |
| 30 | pub use super::auto::traits::*; |
| 31 | |
| 32 | #[cfg(feature = "v2_58")] |
| 33 | pub use crate::desktop_app_info::DesktopAppInfoExtManual; |
| 34 | |
| 35 | pub use crate::fd_message::FDMessageExtManual; |
| 36 | pub use crate::file_descriptor_based::FileDescriptorBasedExtManual; |
| 37 | pub use crate::input_stream::UnixInputStreamExtManual; |
| 38 | pub use crate::output_stream::UnixOutputStreamExtManual; |
| 39 | } |