surrealpatch/core/src/lib.rs

62 lines
987 B
Rust
Raw Normal View History

#[macro_use]
extern crate tracing;
extern crate core;
#[macro_use]
mod mac;
mod cf;
mod ctx;
mod doc;
mod exe;
mod fnc;
mod vs;
pub mod sql;
#[doc(hidden)]
pub mod cnf;
#[doc(hidden)]
pub mod dbs;
#[doc(hidden)]
pub mod env;
#[doc(hidden)]
pub mod err;
#[doc(hidden)]
pub mod fflags;
#[doc(hidden)]
pub mod iam;
#[doc(hidden)]
pub mod idg;
#[doc(hidden)]
pub mod idx;
#[doc(hidden)]
pub mod key;
#[doc(hidden)]
pub mod kvs;
#[cfg(any(feature = "ml", feature = "ml2"))]
#[doc(hidden)]
pub mod obs;
pub mod options;
#[doc(hidden)]
pub mod syn;
#[doc(hidden)]
/// Channels for receiving a SurrealQL database export
pub mod channel {
pub use channel::bounded;
pub use channel::unbounded;
pub use channel::Receiver;
pub use channel::Sender;
}
#[cfg(all(feature = "ml", not(feature = "ml2")))]
#[cfg(not(target_arch = "wasm32"))]
#[doc(hidden)]
pub use surrealml_core1 as ml;
#[cfg(feature = "ml2")]
#[cfg(not(target_arch = "wasm32"))]
#[doc(hidden)]
pub use surrealml_core2 as ml;