#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
Download history 89/week @ 2023-02-08 128/week @ 2023-02-15 89/week @ 2023-02-22 162/week @ 2023-03-01 78/week @ 2023-03-08 96/week @ 2023-03-15 80/week @ 2023-03-22 113/week @ 2023-03-29 57/week @ 2023-04-05 72/week @ 2023-04-12 45/week @ 2023-04-19 155/week @ 2023-04-26 109/week @ 2023-05-03 50/week @ 2023-05-10 46/week @ 2023-05-17 31/week @ 2023-05-24

289 downloads per month
Used in 5 crates (4 directly)

MIT/Apache

6KB
108 lines

Rust-Frontmatter

Build Status Crates.io Page

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