The noyalib Library Suite
The noyalib suite consists of five synchronized satellite packages designed for specific runtime environments and use cases.
Package Matrix Overview
| Crate | Primary Target | Main Capability | Key Feature |
|---|---|---|---|
noyalib |
Core Rust Libraries | Single/Parallel Deserialization | 520 MB/s SIMD + Rayon |
noya-cli |
Command Line / DevOps | Linting, Formatting, Schema | Zero-Dependency Binary |
noyalib-wasm |
Browser & Edge Runtimes | JavaScript / WebAssembly API | In-Browser Vector Scanning |
noyalib-mcp |
AI Tools & LLM Servers | Model Context Protocol Tool | Structured Data AI Interface |
noyalib-lsp |
IDE Runtimes | Language Server Protocol | Real-time Errors & Schema Hovers |
1. noyalib (Core Engine)
The core crate provides zero-copy SIMD SWAR/SSE2 parsing, multi-document Rayon parallel streaming, and 100% memory safety.
use noyalib::{from_str, Value, Result};
fn main() -> Result<()> {
let doc: Value = from_str("server: localhost\nport: 8085")?;
assert_eq!(doc["port"], 8085);
Ok(())
}
2. noya-cli (Terminal Binary)
Command-line tool for formatting, validating, and converting structured data streams.
noya-cli lint config.yaml
noya-cli convert input.yaml --to json --pretty
3. noyalib-wasm (WebAssembly Runtime)
NPM package compiled to WebAssembly via wasm-bindgen for Web applications and Cloudflare Workers.
import { parseYaml } from 'noyalib-wasm';
const json = parseYaml("key: value");
4. noyalib-mcp (Model Context Protocol AI Server)
Native MCP server enabling AI agents (Claude, GPT-4, Antigravity) to query and validate data streams.
cargo install noyalib-mcp
noyalib-mcp --stdio
5. noyalib-lsp (Language Server Protocol)
IDE language server providing syntax diagnostics, schema hover cards, and autocomplete in VS Code and Neovim.
{
"yaml.schemas": {
"https://json.schemastore.org/github-workflow": ".github/workflows/*.yml"
}
}