1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
//! Idiomatic Rust bindings to the `emf-core-base` interface.
//!
//! This crate provides the function and type definitions of the
//! [emf-core-base](https://github.com/fimoengine/emf/tree/main/emf_core_base) interface.
#![feature(c_unwind)]
#![feature(const_fn)]
#![warn(
    missing_docs,
    rust_2018_idioms,
    missing_debug_implementations,
    broken_intra_doc_links
)]
pub use emf_core_base_rs_ffi as ffi;

mod cbase;
mod to_os_path_buff;

#[cfg(feature = "init")]
mod init;

pub mod fn_caster;
pub mod library;
pub mod module;
pub mod ownership;
pub mod sys;
pub mod version;

#[cfg(feature = "global_api")]
pub mod global;

#[cfg(feature = "extensions")]
pub mod extensions;

pub use cbase::{CBase, CBaseAPI, CBaseAccess, CBaseInterfaceInfo, CBaseRef};
pub use init::CBaseAPILoader;
pub use to_os_path_buff::ToOsPathBuff;