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

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

#1 in #fairly

Download history 73/week @ 2023-11-22 52/week @ 2023-11-29 48/week @ 2023-12-06 57/week @ 2023-12-13 66/week @ 2023-12-20 36/week @ 2023-12-27 56/week @ 2024-01-03 68/week @ 2024-01-10 76/week @ 2024-01-17 42/week @ 2024-01-24 42/week @ 2024-01-31 58/week @ 2024-02-07 102/week @ 2024-02-14 92/week @ 2024-02-21 100/week @ 2024-02-28 56/week @ 2024-03-06

359 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