surrealdb_core/
lib.rs

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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
#[macro_use]
extern crate tracing;

#[macro_use]
mod mac;

mod cf;
#[doc(hidden)]
pub 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;
#[cfg(all(not(target_arch = "wasm32"), surrealdb_unstable))]
#[doc(hidden)]
pub mod gql;
#[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;
#[doc(hidden)]
pub mod options;
#[doc(hidden)]
pub mod rpc;
#[doc(hidden)]
pub mod syn;

#[cfg(feature = "ml")]
#[doc(hidden)]
pub use surrealml as ml;
#[cfg(feature = "ml")]
#[doc(hidden)]
pub mod obs;

#[doc(hidden)]
pub mod test_helpers {
	pub use crate::vs::conv::to_u128_be;
	pub use crate::vs::generate_versionstamp_sequences;
}

#[doc(hidden)]
/// Channels for receiving a SurrealQL database export
pub mod channel {
	pub use async_channel::bounded;
	pub use async_channel::unbounded;
	pub use async_channel::Receiver;
	pub use async_channel::Sender;
}