#extract #string #slice #trivial #wrapper #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

#2755 in Rust patterns

Download history 53/week @ 2024-01-05 68/week @ 2024-01-12 71/week @ 2024-01-19 49/week @ 2024-01-26 37/week @ 2024-02-02 76/week @ 2024-02-09 101/week @ 2024-02-16 85/week @ 2024-02-23 93/week @ 2024-03-01 85/week @ 2024-03-08 86/week @ 2024-03-15 124/week @ 2024-03-22 127/week @ 2024-03-29 105/week @ 2024-04-05 139/week @ 2024-04-12 119/week @ 2024-04-19

507 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