Crate icydb

Crate icydb 

Source
Expand description

§Crate layout

  • base: builtin design-time helpers, sanitizers, and validators.
  • build: internal codegen helpers used by macros and tests.
  • core: runtime data model, filters, queries, values, and observability.
  • error: shared error types for generated and runtime code.
  • macros: derive macros for entities, schemas, and views.
  • schema: schema AST, builder, and validation utilities.

The prelude module mirrors the runtime surface used inside actor code; design::prelude exposes schema and macro-facing helpers.

Re-exports§

pub use icydb_base as base;
pub use icydb_build as build;
pub use icydb_core as core;
pub use icydb_error as error;
pub use icydb_macros as macros;
pub use icydb_schema as schema;

Modules§

db
design
Schema/design-facing helpers (separate from the actor/runtime prelude).
prelude
Bring the runtime-facing types, traits, and helpers into scope for actor code.

Macros§

build
Build-script helper that runs IcyDB codegen for the specified canister actor path.
db
Access the current canister’s database session; use db!() or db!(debug) for verbose tracing.
start
Include the generated actor module emitted by build! (placed in OUT_DIR/actor.rs).

Enums§

Error
Error

Constants§

VERSION
Workspace version re-export for downstream tooling/tests.