#extract #slice #yaml #string #trivial #fairly #line

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

#6 in #trivial

Download history 127/week @ 2024-07-20 81/week @ 2024-07-27 70/week @ 2024-08-03 91/week @ 2024-08-10 68/week @ 2024-08-17 71/week @ 2024-08-24 95/week @ 2024-08-31 107/week @ 2024-09-07 98/week @ 2024-09-14 121/week @ 2024-09-21 118/week @ 2024-09-28 108/week @ 2024-10-05 87/week @ 2024-10-12 64/week @ 2024-10-19 68/week @ 2024-10-26 72/week @ 2024-11-02

299 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