High-performance TOML validation, powered by Rust.
tomlkit is a VS Code extension designed for developers who want instant, reliable TOML validation. By using the official Rust toml parser compiled to WebAssembly (WASM), we provide the same level of accuracy as cargo itself, right in your editor.
Features
Universal Schema Validation: Support for any TOML file via SchemaStore. Automatically validates Cargo.toml, pyproject.toml, poetry.toml, and more.
Blazing Fast: Incremental validation using an optimized LineIndex algorithm in Rust.
Rust-Powered: Built on top of toml-rs and valico (WASM).
Semantics & Syntax: Detects both structural errors (malformed TOML) and semantic errors (wrong types, missing fields in schemas).
Dynamic Caching: Efficiently caches downloaded schemas locally for high performance and offline support.
Lightweight: Pure VS Code contribution without heavy background processes.