Skip to content

FrontMatter Gen 🦀 v0.0.4

Compare
Choose a tag to compare
@github-actions github-actions released this 23 Nov 21:30
d8b7e3b

Release v0.0.4 - 2024-11-23

Frontmatter Gen (frontmatter-gen)

FrontMatter Gen logo

A high-performance Rust library for parsing and serialising frontmatter in YAML, TOML, and JSON formats. Built for safety, efficiency, and ease of use.

Made With Love Crates.io lib.rs Docs.rs Codecov Build Status GitHub

WebsiteDocumentationReport BugRequest FeatureContributing 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 #7 from sebastienrousseau/feat/frontmatter-gen

What's Changed

Full Changelog: v0.0.3...v0.0.4