1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
//! # WASM DBMS API
//!
//! Runtime-agnostic API types and traits for the wasm-dbms engine.
//!
//! This crate provides all shared types, traits, and abstractions needed
//! to interact with a wasm-dbms instance. It is independent of any specific
//! WASM runtime (IC, WASI, Wasmtime, etc.).
//!
//! Import all useful types and traits via the prelude:
//!
//! ```rust
//! use wasm_dbms_api::prelude::*;
//! ```
//!
//! ## Feature flags
//!
//! - `candid`: Enables `CandidType` derives on all public types and exposes
//! Candid-specific API boundary types (`JoinColumnDef`, `CandidDataTypeKind`).
// Makes the crate accessible as `wasm_dbms_api` in macros.
extern crate self as wasm_dbms_api;