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 registry;
18pub mod resolve;
19pub mod schema;
20pub mod shapes;
21pub mod sql;
22pub mod stats;
23pub mod text;
24pub mod update;
25pub mod writer;
26
27pub use compiler::{QueryOptions, ValueType};
28pub use error::{Error, Result};
29pub use job::{run_async, run_sync, AsyncBackend, Job, Step, SyncBackend};
30pub use query::{compile_query, CompiledQuery, QueryJob, QueryOutput};
31pub use registry::{SchemaGraph, SchemaRole};
32pub use schema::StoreOptions;
33pub use shapes::{PropertyShape, ShapeIndex};
34pub use sql::{Capabilities, Mode, Request, Response, ResultSet, SqlValue, Statement};
35pub use stats::Stats;