1 unstable release

0.1.0 Sep 18, 2022

#2886 in Parser implementations

33 downloads per month
Used in sbvc_lib

MPL-2.0 license

12KB
261 lines

An implementation of a NELF parser written in Rust

NELF (No Escape List Format) is a human-readable file format for encoding lists of arbitrary strings without escaping their contents. This file format has the same use cases as CSV and allows programs to take out strings contained in a NELF list by taking a pointer (A string slice, view) to the source string, which removes the need to allocate additional space for them. The specification is yet to be developed.

Stability

The API for this cratee is unstable, if you want to use it, always specify the minor version you want to use in your Cargo.toml.

There are plans to generalize the parser for string slices and to use serde crate for easier serializing/deserizalizing in the future.

Get started

The API docs are available here

License

This library is licensed under Mozilla Public License, v. 2.0. The text of the license is available here.


lib.rs:

No Escape List Format parser library

This library provides a simple implementation for NELF parser, a human-readable textfile format used to represent lists of strings of bytes without needing to escape any characters, which allows to borrow strings from the string that represents the encoded list without the need to allocate additional space.

Stability

The API for this crate is unstable, if you want to use it, always specify the minor version you want to use in your Cargo.toml.

Get started

To get started, check the documentation for the following structures and traits:

No runtime deps