| Crates.io | vibesql-types |
| lib.rs | vibesql-types |
| version | 0.1.4 |
| created_at | 2025-12-04 00:01:11.467971+00 |
| updated_at | 2026-01-19 06:23:48.000294+00 |
| description | Type system for vibesql SQL database engine |
| homepage | |
| repository | https://github.com/rjwalters/vibesql |
| max_upload_size | |
| id | 1965517 |
| size | 211,408 |
SQL:1999 type system for VibeSQL database engine.
This crate provides the foundational type system for SQL:1999 compliance, including data type definitions, SQL value representations, and type compatibility rules.
Add this to your Cargo.toml:
[dependencies]
vibesql-types = "0.1"
Basic example:
use vibesql_types::{DataType, SqlValue};
// Define a data type
let int_type = DataType::Integer;
// Create SQL values
let value = SqlValue::Integer(42);
let null_value = SqlValue::Null;
// Check type compatibility
assert!(value.is_compatible_with(&int_type));
This project is licensed under either of:
at your option.