#front-matter #extract #text #string-parser #lib

extract-frontmatter

A library that allows a user to extract an arbitrary number of lines of 'front-matter' from the start of any string

13 stable releases (4 major)

4.1.1 Apr 22, 2022
4.1.0 Apr 19, 2022
3.0.2 Apr 18, 2022
2.1.0 Jan 21, 2021
0.6.2 May 2, 2020

#2419 in Parser implementations

Download history 18/week @ 2024-07-22 21/week @ 2024-07-29 10/week @ 2024-08-05 19/week @ 2024-08-12 7/week @ 2024-08-19 23/week @ 2024-08-26 15/week @ 2024-09-02 22/week @ 2024-09-09 15/week @ 2024-09-16 59/week @ 2024-09-23 19/week @ 2024-09-30 13/week @ 2024-10-14 8/week @ 2024-10-21 24/week @ 2024-10-28 18/week @ 2024-11-04

63 downloads per month
Used in 2 crates

MIT license

16KB
153 lines

extract-frontmatter

Overview

A Rust library that allows a user to extract an arbitrary number of lines of "front-matter" from the start of any multiline string.

Note that absolutely no parsing of extracted front-matter is performed; this is designed to output its results for another library to then parse.

latest build docs.io documentation coverage crates.io version crates.io downloads dependents dependencies license

Versioning

This project follows Semantic Versioning principals starting with v1.0.0

Repository information

This repository is located on GitLab.com.

Usage

Example usage is available on docs.rs.

No runtime deps