| Crates.io | ocaml-sexplib |
| lib.rs | ocaml-sexplib |
| version | 0.0.1 |
| created_at | 2025-08-18 04:33:27.833233+00 |
| updated_at | 2025-08-18 04:33:27.833233+00 |
| description | An implementation of OCaml's sexplib library |
| homepage | |
| repository | https://github.com/PaulJuliusMartinez/ocaml-sexplib-for-rust |
| max_upload_size | |
| id | 1799943 |
| size | 174,420 |
An implementation of Jane Street's sexplib
S-expression data format, with serde support for serialization and deserialization.
Unlike OCaml (de)serialization with ppx_sexp_conv,
which requires materialization an entire Sexp.t in memory, the serde implementations
in this crate serialize directly to/from the string representation.
memchr where appropriateInputRef::Transient from RawTokenizer when using a SliceInputfrom_reader/many_from_reader/iter_from_reader functionsfrom_{slice,str}_owned functions that read from in memory data, but don't keep a reference to it.sexp::Sexp should store bytes instead of a str, and/or there should be separate sexp::str
and sexp::bytes modulesecho '"ab\xg"' | sexp print prints "ab\\xg"serde and OCaml/ppx_sexp_conv data
models and serialization rules