ormdantic-core 2.0.1

Shared Rust primitives for Ormdantic
Documentation
  • Coverage
  • 0.74%
    1 out of 136 items documented1 out of 53 items with examples
  • Size
  • Source code size: 48.6 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.7 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 3s Average build duration of successful builds.
  • all releases: 3s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • yezz123/ormdantic
    154 4 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • yezz123

ormdantic-core

Shared primitives for the Ormdantic Rust workspace.

ormdantic-core is intentionally small and dependency-free. It defines the common error type, result alias, and typed identifiers used by the schema, dialect, SQL, hydration, engine, and PyO3 crates.

Public API

Item Purpose
OrmdanticResult<T> Workspace-wide alias for Result<T, OrmdanticError>.
TableId Opaque table registry identifier.
ColumnId Opaque column registry identifier.
RelationshipId Opaque relationship registry identifier.
OrmdanticError Shared validation, dialect, SQL compilation, and hydration error enum.

Dependencies

This crate has no internal or external dependencies.

Tests

The crate tests typed ID copy semantics and display strings for OrmdanticError.