Expand description
Shared host-side support for icydb.toml project configuration.
This crate owns existing config discovery, TOML parsing, and validation for
build scripts and CLI commands. Runtime crates and generated actor code
should consume only the generated actor source emitted by icydb-build.
Structs§
- Generated
Canister Config - Validated generated settings for one canister.
- Generated
Icydb Config - Validated IcyDB project config ready for build-script consumption.
- Generated
SqlIntrospection Policy - Local/IC policy for generated read-only SQL operational introspection.
- Resolved
Icydb Config - Resolved IcyDB config and the path it came from, if a manifest exists.
Enums§
- Config
Error - Config loading error with path-aware diagnostics.
- Generated
Build Target - Build target used to resolve target-sensitive generated canister settings.
- Generated
SqlUpdate Policy - Generated SQL update endpoint policy selected by
icydb.toml.
Constants§
- ICYDB_
BUILD_ TARGET_ ENV - Build-script environment variable used to resolve target-sensitive defaults.
- ICYDB_
CONFIG_ FILE_ NAME - Standard IcyDB project configuration filename.
Functions§
- emit_
config_ for_ build_ script - Resolve and validate config for a canister build script.
- load_
resolved_ icydb_ toml - Resolve and validate config from a starting directory without writing
generated files. This is intended for host tools such as
icydb config. - resolve_
existing_ icydb_ toml - Locate an existing
icydb.tomlfrom one start directory.