sql-values
sql-values holds the semantics of SQL values. It ports PostgreSQL's own value rules (input, canonical output, order and arithmetic), each checked against PostgreSQL 18, and it reads the text forms PostgreSQL, MySQL and SQLite emit for scalar values, so every wire-text consumer decodes the same spelling to the same Rust value.
use ;
assert_eq!;
let span = parse_interval.unwrap;
assert_eq!;
assert_eq!;
let at = parse_timestamp.unwrap;
let month = parse_interval.unwrap;
assert_eq!;
The crate supports no_std. Decimal parsing is available through the decimal feature, and serde derives for interval values through the serde feature.