noyalib v0.0.16 Release

The Drop-In Rust & WebAssembly YAML Engine

Seamless 1-line migration from archived serde_yaml to 100% safe Rust, 100% test-suite compliance, zero unsafe code, and native MCP AI support.

crates.io v0.0.16 docs.rs API Reference GitHub Repository
CI Gatesbuild | passing
Supply Chaincargo audit | pass
YAML Compliance387/387 Pass (100%)
MaintainerSebastien Rousseau
https://noyalib.com/examples/rust
// Cargo.toml: noyalib = { version = "0.0.16", features = ["simd", "rayon"] }
use noyalib::{parallel, Value, Result};

fn main() -> Result<()> {
    let yaml_data = r#"
    name: noyalib Engine
    version: 0.0.16
    features: [SIMD, Rayon, SafeRust, MCP, LSP]
    performance: 520MB/s
    "#;

    // Parallel Rayon multi-document deserialization
    let parsed: Value = parallel::from_str(yaml_data)?;
    println!("Parsed in parallel: {}", parsed["name"]);
    Ok(())
}

Coming from archived serde_yaml?

serde_yaml was officially archived in 2024. noyalib provides a 1-line drop-in compatibility shim and full support for migrating from serde_yml, yaml_serde, serde-yaml-ng, serde-norway, serde-yaml-bw, serde-saphyr, and yaml-spanned.

1-Line Cargo Code DiffView Full Migration Guide →
// Cargo.toml
- serde_yaml = "0.9"
+ noyalib = { version = "0.0.16", features = ["compat-serde-yaml", "simd"] }

// src/main.rs
- use serde_yaml;
+ use noyalib::compat::serde_yaml as serde_yaml; // Drop-in replacement for serde_yaml::from_str

let config: Config = serde_yaml::from_str(&yaml_string)?;

Built for Speed with Verifiable Methodology

noyalib combines SWAR vector scanners, zero-copy byte dispatch, and multi-thread Rayon document pre-scanning to outpace both maintained 2026 Rust crates and legacy parsers. All benchmarks are open source and reproducible.

Deserialization Throughput ComparisonMegabytes per second (Higher is better)
noyalib (Rayon Parallel)520 MB/s (7.6x Faster)
noyalib (Single-Thread SIMD)380 MB/s (5.5x Faster)
serde-saphyr (Maintained 2026)142 MB/s (2.0x Faster)
yaml-rust2 (Maintained 2026)125 MB/s (1.8x Faster)
serde_yaml (Legacy Archived 0.9)68 MB/s (1.0x Baseline)
520 MB/s
Peak Parsing Speed
387/387
YAML Test Suite Cases Pass
100%
Safe Rust (#![forbid(unsafe_code)])
0 B
Unnecessary Allocations

Reproducible Benchmark Methodology

Benchmarked using Criterion.rs v0.5 across 10,000 iterations (95% Confidence Interval ±0.8%). Hardware: Apple M2 Max & AMD EPYC 9654. Dataset: Official 387-case YAML Test Suite corpus and 100 MB multi-document enterprise telemetry payload.

Inspect Criterion Harness (benches/throughput.rs) Reproduction Command: cargo bench --bench throughput

Engineered for Modern Software Architecture

Every component in noyalib is crafted with safety, developer experience, and ultra-high performance in mind.

SIMD

Zero-Copy SWAR Vector Scanning

Multi-byte SWAR bitwise scanning finds structural delimiters in a single CPU pass with zero unsafe transmutes on stable Rust.

SAFE

100% Safe Rust Guarantee

Enforces #![forbid(unsafe_code)] across the entire codebase. Guaranteed memory safety for untrusted user inputs.

MCP

Model Context Protocol (MCP)

Native MCP AI server tool allowing Claude 3.5 Sonnet, GPT-4o, and AI agents to query, parse, and validate data streams.

AUDIT

Audited Security CI Gates

Enforces cargo audit, cargo deny, and cargo vet on every push. Zero unmaintained or archived dependencies.

PAR

Parallel Rayon Streaming

Pre-scans multi-document boundaries and deserializes documents concurrently across all CPU cores.

LSP

IDE LSP & Error Recovery

Fault-tolerant parse_lenient engine powers live diagnostics, schema hover docs, and completion in VS Code.

The Complete Suite of Libraries

noyalib is designed as a synchronized suite of satellite crates serving every execution context.

noyalib (Core Crate)

The foundational Rust engine. Zero-copy SIMD scanning, Rayon parallel multi-document parsing, JSON Schema 2020-12 validation, and 100% safe Rust.

  • Zero-copy byte dispatch with SWAR vector acceleration
  • Multi-document parallel parsing via Rayon thread pool
  • Schema validation & schemars derive integration
  • Serde 0.9 compatibility shim and zero memory leakage
Install Command:
cargo add noyalib --features simd,rayon
use noyalib::{parallel, Value};

let docs = parallel::values("--- doc1: val --- doc2: val")?;
assert_eq!(docs.len(), 2);

Part of the Sebastien Rousseau Rust Ecosystem

Explore high-performance, security-focused open source libraries built in Rust.

DTT

DTT (DateTime)

Comprehensive date, time, parsing, and formatting library built for high speed and precision in Rust.

KYB

KyberLib

Post-quantum cryptographic library implementing NIST-standardized CRYSTALS-Kyber key encapsulation.

HSH

HSH (Hash)

High-performance cryptographic and non-cryptographic hashing primitives with minimal memory overhead.

RLG

RLG (Structured Logging)

Zero-overhead structured logging framework for Rust applications with JSON and terminal formatting.

VRD

VRD (Random Generator)

Cryptographically secure pseudo-random number generator library for fast simulations and keys.

MAK

LibMake

Automated Rust crate and library template generator for creating standardized high-quality packages.

Test the Real WASM Engine & Validator Live

Convert YAML, benchmark WASM parsing throughput live, and explore JSON Schema 2020-12 real-time diagnostics running on the noyalib-wasm WebAssembly engine.

YAML Input
Formatted JSON Output
{
  "name": "noyalib",
  "version": "0.0.16",
  "architecture": [
    "SIMD",
    "Rayon",
    "SafeRust"
  ],
  "performance": {
    "speed": "520MB/s",
    "safe": true
  }
}
✓ Valid YAML / Structured DataParsed in 0.18 ms (Real WASM SIMD Engine)

Get Started in Seconds

Choose your preferred installation method below.

Rust Library

Add to Cargo project with SIMD and Rayon acceleration.

cargo add noyalib --features simd,rayon

Terminal CLI

Install command-line parser & validator binary.

cargo install noya-cli

WebAssembly

Install NPM package for Web & Cloudflare Workers.

npm install noyalib-wasm

Model Context Protocol

Run native MCP server for AI tools & LLMs.

cargo install noyalib-mcp

noyalib is an open-source, high-performance data & YAML engine written in 100% safe Rust featuring zero-copy SIMD parsing, Rayon parallel streaming, WebAssembly runtime, Model Context Protocol (MCP) AI server, and LSP support. Validated against the official YAML Test Suite at 100% strict compliance (387/387 cases passing).