Crate drizzle_types

Crate drizzle_types 

Source
Expand description

Shared type definitions for Drizzle ORM

This crate provides common type definitions used across multiple Drizzle crates, including:

  • Dialect - Database dialect enum (SQLite, PostgreSQL, MySQL)
  • SQLite types in the sqlite module
  • PostgreSQL types in the postgres module

§Features

  • std - Standard library support (enabled by default)
  • alloc - Allocator support for no_std environments
  • uuid - Enable UUID type support
  • serde - Enable serde serialization/deserialization
  • chrono - Enable chrono date/time type support
  • time - Enable time crate type support
  • geo-types - Enable geometric type support
  • cidr - Enable network address type support
  • bit-vec - Enable bit vector type support

Modules§

postgres
PostgreSQL type definitions
prelude
Prelude module for commonly used types
serde_helpers
Serde helpers for Cow<’static, str> deserialization
sqlite
SQLite type definitions

Structs§

DialectParseError
Error returned when parsing an unknown dialect string

Enums§

Dialect
SQL dialect for database-specific behavior