#extract #slice #yaml #string #wrapper #trivial #fairly

frontmatter

A Fairly Trivial Wrapper for yaml-rust to Extract Frontmatter from a String Slice

6 releases (3 breaking)

Uses old Rust 2015

0.4.0 Jun 11, 2020
0.3.1 Jun 11, 2020
0.3.0 Jan 29, 2016
0.2.0 Jan 29, 2016
0.1.1 Jan 26, 2016

#2 in #trivial

Download history 65/week @ 2024-06-17 93/week @ 2024-06-24 40/week @ 2024-07-01 94/week @ 2024-07-08 132/week @ 2024-07-15 126/week @ 2024-07-22 70/week @ 2024-07-29 72/week @ 2024-08-05 88/week @ 2024-08-12 70/week @ 2024-08-19 89/week @ 2024-08-26 75/week @ 2024-09-02 108/week @ 2024-09-09 111/week @ 2024-09-16 125/week @ 2024-09-23 113/week @ 2024-09-30

466 downloads per month
Used in 6 crates (5 directly)

MIT/Apache

6KB
108 lines

Rust-Frontmatter

Build Status

Inspired by Jekyll's Front Matter. This crate extracts any YAML set between tripple-dashed lines at the beginning of a string.

For the moment see the tests in src/lib.rs for how to use.

Status

Proof of Concept

Right now I make no guarantees about anything to do with this library.

Dependencies

~185KB