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 functions;
12pub mod job;
13#[cfg(feature = "serde")]
14pub mod json;
15pub mod ops;
16pub mod query;
17pub mod reason;
18pub mod registry;
19pub mod resolve;
20pub mod schema;
21pub mod shapes;
22pub mod sql;
23pub mod stats;
24pub mod text;
25pub mod update;
26pub mod vector;
27pub mod version;
28pub mod writer;
29
30pub use compiler::{QueryOptions, ValueType};
31pub use error::{Error, Result};
32pub use job::{run_async, run_sync, AsyncBackend, Job, Step, SyncBackend};
33pub use query::{compile_query, CompiledQuery, QueryJob, QueryOutput};
34pub use registry::{SchemaGraph, SchemaRole};
35pub use schema::StoreOptions;
36pub use shapes::{PropertyShape, ShapeIndex};
37pub use sql::{Capabilities, Mode, Request, Response, ResultSet, SqlValue, Statement};
38pub use stats::Stats;
39pub use version::{CommitInfo, LevelChange, VersionRef, VersionState, Versioning};