datum: Rust implementation of Datum
Datum is a terse, human-writable data format meant for quick implementation in various languages.
It was originally developed for use in some of my Java programs for the purpose of fulfilling the role of 'terse data language,' with some key distinctions:
- As free-form a syntax as reasonably possible.
- Avoids the problems that YAML has.
- Concise implementation.
It's intended to be reasonably readable by R6RS readers, but not a strict subset. (However, the format has been used in a Java project to implement a "Javaified" Scheme dialect.)
The datum crate is a library for reading and writing Datum values in Rust.
In order to allow use in diverse environments, it attempts to follow some key rules:
#![no_std]#![forbid(unsafe_code)]- completely public-domain
- no external dependencies, but without trying to reinvent the wheel too hard
With that said, it doesn't implement serde support at present.
For further information, please see https://github.com/20kdc/datum.
Features
std: Currently a breakage prevention placeholder as it isn't used right now.alloc: For if alloc is used.detailed_errors: Default feature that includes messages forDatumErrors. If missing, these will be empty.
MSRV Policy
The MSRV is 1.54.0.