Skip to main content

toolu_orm_core/
lib.rs

1// Re-export backend crates so downstream dependents (e.g. orm-cli) can
2// reference row types without declaring their own direct dependency.
3#[cfg(feature = "libsql")]
4pub use libsql;
5#[cfg(feature = "rusqlite")]
6pub use rusqlite;
7#[cfg(feature = "postgres")]
8pub use tokio_postgres;
9
10// `#[table]`'s view structs derive Serialize/Deserialize and `Relational`
11// names `serde_json::Value`, so the expansions reach both through here rather
12// than through the consumer's extern prelude.
13pub use {serde, serde_json};
14
15pub mod column;
16pub mod dialect;
17pub mod diff;
18pub mod error;
19pub mod expr;
20pub mod fts5;
21pub mod index;
22pub mod journal;
23pub mod ordering;
24pub mod query_column;
25pub mod relation;
26pub mod relational_row;
27pub mod rename;
28pub mod row;
29pub mod schema;
30pub mod snapshot;
31pub mod sql;
32pub mod table;
33pub mod value;