fraiseql_wire/lib.rs
1//! fraiseql-wire: Streaming JSON query engine for Postgres 17
2//!
3//! This crate provides a minimal, async Rust query engine that streams JSON
4//! data from Postgres with low latency and bounded memory usage.
5//!
6//! # Supported Query Shape
7//!
8//! ```sql
9//! SELECT data
10//! FROM v_{entity}
11//! WHERE predicate
12//! [ORDER BY expression]
13//! ```
14
15#![warn(missing_docs, rust_2018_idioms)]
16
17pub mod auth;
18pub mod client;
19pub mod connection;
20pub mod error;
21pub mod json;
22pub mod metrics;
23pub mod operators;
24pub mod protocol;
25pub mod stream;
26pub mod util;
27
28// Re-export commonly used types
29pub use client::FraiseClient;
30pub use error::{Error, Result};
31pub use operators::{Field, OrderByClause, SortOrder, Value, WhereOperator};
32
33/// Library version
34pub const VERSION: &str = env!("CARGO_PKG_VERSION");