docs.rs failed to build sql-values-0.3.1
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
sql-values-0.8.0
sql-values
sql-values holds the semantics of SQL values. It ports PostgreSQL's own value rules (input, canonical output, order, arithmetic and the explicit cast of a literal), 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!;
let level = cast_literal.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.