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

#1 in #fairly

Download history 68/week @ 2024-10-23 71/week @ 2024-10-30 85/week @ 2024-11-06 60/week @ 2024-11-13 58/week @ 2024-11-20 79/week @ 2024-11-27 83/week @ 2024-12-04 151/week @ 2024-12-11 63/week @ 2024-12-18 27/week @ 2024-12-25 73/week @ 2025-01-01 64/week @ 2025-01-08 89/week @ 2025-01-15 78/week @ 2025-01-22 95/week @ 2025-01-29 138/week @ 2025-02-05

405 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