FrontMatter Gen 🦀 v0.0.3
Release v0.0.3 - 2024-11-17
Frontmatter Gen (frontmatter-gen)
A high-performance Rust library for parsing and serialising frontmatter in YAML, TOML, and JSON formats. Built for safety, efficiency, and ease of use.
• Website • Documentation • Report Bug • Request Feature • Contributing Guidelines
Overview 🚀
frontmatter-gen
is a comprehensive Rust library that provides robust handling of frontmatter in content files. It delivers a type-safe, efficient solution for extracting, parsing, and serialising frontmatter in multiple formats. Whether you're building a static site generator, content management system, or any application requiring structured metadata, frontmatter-gen
offers the tools you need.
Key Features 🎯
- Zero-Copy Parsing: Parse YAML, TOML, and JSON frontmatter efficiently with zero memory copying
- Safe Extraction: Extract frontmatter using standard delimiters (
---
for YAML,+++
for TOML) with comprehensive error handling - Type Safety: Leverage Rust's type system with the
Value
enum for safe frontmatter manipulation - High Performance: Optimised for speed with minimal allocations and efficient algorithms
- Memory Safety: Guaranteed memory safety through Rust's ownership system
- Rich Error Handling: Detailed error types with context for effective debugging
- Async Support: First-class asynchronous operation support
- Flexible Configuration: Customisable parsing behaviour to match your needs
Changelog 📚
- Merge pull request #6 from sebastienrousseau/feat/frontmatter-gen
What's Changed
- fix: Windows CRLF format by @rochacbruno in #2
- build(deps): update thiserror requirement from 1.0 to 2.0 by @dependabot in #3
- build(deps): bump codecov/codecov-action from 4 to 5 by @dependabot in #5
- v3.0 by @sebastienrousseau in #6
New Contributors
- @rochacbruno made their first contribution in #2
- @dependabot made their first contribution in #3
- @sebastienrousseau made their first contribution in #6
Full Changelog: v0.0.1...v1.56.0