Skip to main content

akar_main/
lib.rs

1//! Akar public API — Database, Connection, QueryResult, PreparedStatement.
2
3pub mod connection;
4pub mod database;
5pub mod prepared_statement;
6pub mod query_result;
7pub mod remote;
8pub mod storage_driver;
9
10#[cfg(feature = "adbc")]
11pub mod adbc;
12
13#[cfg(all(feature = "ml-extension", not(akar_wasm)))]
14pub mod ml;
15
16#[cfg(test)]
17mod connection_test;
18
19/// Test helpers — shared setup/teardown utilities for all Akar tests.
20/// Always compiled (not cfg(test)-gated) so integration tests in `tests/` can use them.
21pub mod test_helpers;
22
23pub use connection::Connection;
24pub use database::{Database, SystemConfig};
25pub use prepared_statement::PreparedStatement;
26pub use query_result::QueryResult;
27pub use remote::RemoteDatabase;
28pub use storage_driver::StorageDriver;