2024-02-02 22:10:47 +00:00
|
|
|
#[macro_use]
|
|
|
|
extern crate tracing;
|
2024-02-27 15:18:25 +00:00
|
|
|
extern crate core;
|
2024-02-02 22:10:47 +00:00
|
|
|
|
|
|
|
#[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;
|
2024-02-06 14:46:44 +00:00
|
|
|
#[doc(hidden)]
|
|
|
|
pub mod fflags;
|
2024-02-02 22:10:47 +00:00
|
|
|
#[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;
|
2024-03-12 10:34:35 +00:00
|
|
|
#[cfg(any(feature = "ml", feature = "ml2"))]
|
2024-02-02 22:10:47 +00:00
|
|
|
#[doc(hidden)]
|
|
|
|
pub mod obs;
|
2024-03-01 17:12:53 +00:00
|
|
|
pub mod options;
|
2024-02-02 22:10:47 +00:00
|
|
|
#[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;
|
|
|
|
}
|
|
|
|
|
2024-02-09 19:31:16 +00:00
|
|
|
#[cfg(all(feature = "ml", not(feature = "ml2")))]
|
2024-02-02 22:10:47 +00:00
|
|
|
#[cfg(not(target_arch = "wasm32"))]
|
|
|
|
#[doc(hidden)]
|
2024-02-12 09:27:57 +00:00
|
|
|
pub use surrealml_core1 as ml;
|
2024-02-09 19:31:16 +00:00
|
|
|
|
|
|
|
#[cfg(feature = "ml2")]
|
|
|
|
#[cfg(not(target_arch = "wasm32"))]
|
|
|
|
#[doc(hidden)]
|
2024-02-12 09:27:57 +00:00
|
|
|
pub use surrealml_core2 as ml;
|