anda_db_schema
anda_db_schema is the type-system layer of the AndaDB workspace. It defines
field types, field values, field entries, schemas, documents, and helper types
used across the embedded database, derive macros, and higher-level memory
components.
What This Crate Provides
FieldTypefor schema-level type declarationsFieldValuefor runtime values validated against schemasFieldEntryfor per-field metadata such as type, uniqueness, and descriptionSchemaand schema buildersDocumentandDocumentOwnedResourceand other shared model types used by the workspace
When to Use It
Use anda_db_schema when you need to:
- define or inspect collection schemas directly
- construct documents programmatically
- validate field values before insertion
- build tooling around AndaDB's type model
- share the same document vocabulary across multiple crates
Getting Started
Add the crate to your project:
[]
= "0.4"
= { = "1", = ["derive"] }
This crate is commonly paired with anda_db_derive when you want schemas to be
generated automatically from Rust structs.
Technical Reference
Deep technical documentation for this crate lives in:
Related Crates
anda_dbfor the embedded database built on top of this type systemanda_db_deriveforAndaDBSchemaandFieldTyped
License
MIT. See LICENSE.