Skip to main content

oxilite_core/
lib.rs

1//! oxilite core: an I/O-free SPARQL-to-SQLite compiler.
2//!
3//! Every operation is a [`job::Job`] that produces SQL [`sql::Request`]s and consumes
4//! [`sql::Response`]s, so the same code drives in-process SQLite, a dynamically loaded
5//! `libsqlite3`, Cloudflare D1, or a JavaScript host.
6
7pub mod compiler;
8pub mod encoding;
9pub mod error;
10pub mod fallback;
11pub mod job;
12#[cfg(feature = "serde")]
13pub mod json;
14pub mod ops;
15pub mod query;
16pub mod reason;
17pub mod resolve;
18pub mod schema;
19pub mod sql;
20pub mod stats;
21pub mod text;
22pub mod update;
23pub mod writer;
24
25pub use compiler::QueryOptions;
26pub use error::{Error, Result};
27pub use job::{run_async, run_sync, AsyncBackend, Job, Step, SyncBackend};
28pub use query::{compile_query, CompiledQuery, QueryJob, QueryOutput};
29pub use schema::StoreOptions;
30pub use sql::{Capabilities, Mode, Request, Response, ResultSet, SqlValue, Statement};
31pub use stats::Stats;