49 lines
1.1 KiB
Rust
49 lines
1.1 KiB
Rust
//! # Rust bindings for **libostree**
|
|
//!
|
|
//! [libostree](https://ostree.readthedocs.io) is both a shared library and suite of command line
|
|
//! tools that combines a "git-like" model for committing and downloading bootable filesystem trees,
|
|
//! along with a layer for deploying them and managing the bootloader configuration.
|
|
|
|
#![doc(html_root_url = "https://fkrull.gitlab.io/ostree-rs")]
|
|
|
|
extern crate gio_sys;
|
|
extern crate glib_sys;
|
|
extern crate gobject_sys;
|
|
extern crate ostree_sys;
|
|
#[macro_use]
|
|
extern crate glib;
|
|
extern crate gio;
|
|
extern crate libc;
|
|
#[macro_use]
|
|
extern crate bitflags;
|
|
#[macro_use]
|
|
extern crate lazy_static;
|
|
|
|
use glib::Error;
|
|
|
|
// code generated by gir
|
|
#[allow(unused_imports)]
|
|
#[cfg_attr(rustfmt, rustfmt_skip)]
|
|
mod auto;
|
|
pub use crate::auto::functions::*;
|
|
pub use crate::auto::*;
|
|
|
|
// handwritten code
|
|
#[cfg(any(feature = "v2018_6", feature = "dox"))]
|
|
mod collection_ref;
|
|
mod object_name;
|
|
mod repo;
|
|
#[cfg(any(feature = "v2018_6", feature = "dox"))]
|
|
pub use crate::collection_ref::*;
|
|
pub use crate::object_name::*;
|
|
pub use crate::repo::*;
|
|
|
|
// tests
|
|
#[cfg(test)]
|
|
mod tests;
|
|
|
|
// prelude
|
|
pub mod prelude {
|
|
pub use crate::auto::traits::*;
|
|
}
|