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 version;
26pub mod writer;
27
28pub use compiler::{QueryOptions, ValueType};
29pub use error::{Error, Result};
30pub use job::{run_async, run_sync, AsyncBackend, Job, Step, SyncBackend};
31pub use query::{compile_query, CompiledQuery, QueryJob, QueryOutput};
32pub use registry::{SchemaGraph, SchemaRole};
33pub use schema::StoreOptions;
34pub use shapes::{PropertyShape, ShapeIndex};
35pub use sql::{Capabilities, Mode, Request, Response, ResultSet, SqlValue, Statement};
36pub use stats::Stats;
37pub use version::{CommitInfo, LevelChange, VersionRef, VersionState, Versioning};