Skip to content

Latest commit

 

History

History
56 lines (43 loc) · 3.35 KB

TEMPLATE.md

File metadata and controls

56 lines (43 loc) · 3.35 KB

Frontmatter Gen (frontmatter-gen)

FrontMatter Gen logo

A high-performance Rust library for parsing and serialising frontmatter in YAML, TOML, and JSON formats. Engineered 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 robust Rust library that provides comprehensive 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 with performance and safety at its core.

Key Features 🎯

  • Zero-copy parsing: Optimised for memory efficiency
  • Multi-format support: Parse and serialise YAML, TOML, and JSON
  • Type-safe operations: Comprehensive error handling with Result types
  • Secure processing: Input validation and size limits
  • Async support: Full asynchronous operations via the ssg feature flag
  • Command-line interface: Direct frontmatter manipulation tools
  • Memory safety: Guaranteed memory safety through Rust's ownership system
  • Comprehensive testing: Extensive test coverage and validation
  • Rich documentation: Detailed guides and examples

Changelog 📚