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
//! QAIL SchemaOps CLI library surface.
//!
//! The `qail` crate is primarily installed as a command-line tool:
//!
//! ```text
//! cargo install qail
//! qail pull --url postgres://... > schema.qail
//! qail diff _ schema.qail --live --url postgres://...
//! qail migrate apply --phase expand
//! qail migrate apply --phase backfill
//! qail migrate apply --phase contract --codebase ./src
//! ```
//!
//! For application runtime code, start with:
//!
//! - `qail-core` for the AST Kernel: typed query AST, expressions, RLS, and
//! native access policy.
//! - `qail-pg` for the Postgres Driver: async wire-protocol execution of QAIL
//! AST commands.
//! - `qail-gateway` for the Access Gateway: AutoREST, WebSocket, OpenAPI, and
//! policy enforcement.
//!
//! This library re-exports selected parser and AST modules for the CLI's own
//! internals and for advanced tooling. It is not the preferred runtime entry
//! point for database access.
pub use parse;
pub use prelude;
pub use ;
// CLI modules