surrealpatch/core/src/lib.rs

65 lines
1 KiB
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;
2024-03-15 11:36:31 +00:00
#[doc(hidden)]
pub mod options;
#[doc(hidden)]
2024-03-19 15:17:38 +00:00
pub mod rpc;
#[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;