oxyaml
A YAML language server in Rust, up to 400× faster than yaml-language-server on large files, with the same settings and no Node.js.
oxyaml is a YAML language server and command-line checker written in Rust. It brings schema validation, completion, hover, and formatting to your editor, and checks the same files in CI. Switch from yaml-language-server using the same editor settings and schemas. The binary runs without Node.js.
Benchmarks
| oxyaml | yaml-language-server | ||
|---|---|---|---|
| Big file (50,000 lines): edit → diagnostics | 2.6 ms | 1,040 ms | 400× faster |
| open → diagnostics | 103 ms | 1,064 ms | 10× faster |
| completion | 1 ms | 81.1 ms | 81× faster |
| peak memory | 91.4 MB | 1,345 MB | 15× less |
| Small file (500 lines): edit → diagnostics | 0.3 ms | 214 ms | 712× faster |
| startup | 2.6 ms | 230 ms | 89× faster |
| peak memory | 16.6 MB | 123 MB | 7.4× less |
Measured on a GitHub Actions ubuntu-latest runner (the bench-gate workflow):
same files and the same Kubernetes schema for both servers, median of 5 sessions. yaml-language-server
waits 200 ms before validating, which is part of what an editor sees. How to reproduce: docs/benchmarks.md.
Install
Release binaries target Linux, macOS, and Windows on x86-64 and ARM64. For installers and archives, see GitHub Releases.
| Method | Command or location |
|---|---|
| Shell (Linux or macOS) | curl -fsSL https://github.com/marwanvx/oxyaml/releases/latest/download/oxyaml-installer.sh | sh |
| PowerShell (Windows) | irm https://github.com/marwanvx/oxyaml/releases/latest/download/oxyaml-installer.ps1 | iex |
| Homebrew | brew install marwanvx/tap/oxyaml once the tap is published |
| npm | npm install -g oxyaml once the package is published |
| PyPI | pip install oxyaml or uvx oxyaml check once the package is published |
| WinGet | winget install --id marwanvx.oxyaml --exact once the package is listed |
| VS Code | Look for marwanvx.oxyaml in the Marketplace or Open VSX once listed. You can also build a VSIX and use Install from VSIX in Extensions. |
| Zed | Search Extensions for oxyaml once listed, or install the development extension. |
| From source | cargo install --locked --git https://github.com/marwanvx/oxyaml oxyaml with the Rust toolchain in rust-toolchain.toml |
Migrating from yaml-language-server / redhat.vscode-yaml
Change your editor's server command to oxyaml --stdio. Keep your yaml.* settings,
including yaml.schemas glob associations, and leave existing modelines such as
# yaml-language-server: $schema=./schema.json in your YAML files. See
behaviour differences.
Editors
| Editor | What to change |
|---|---|
| VS Code | Install oxyaml and disable Red Hat YAML for the workspace when prompted. Switch editor.defaultFormatter to marwanvx.oxyaml if it points to Red Hat YAML. |
| Zed | Set YAML's language_servers to ["oxyaml", "!yaml-language-server"] and move lsp.yaml-language-server.settings to lsp.oxyaml.settings. |
| Neovim | Set yamlls's cmd to { "oxyaml", "--stdio" }. |
| Helix | Set command = "oxyaml" and args = ["--stdio"] under [language-server.yaml-language-server]. |
| Sublime Text | Set command to ["oxyaml", "--stdio"] in LSP-yaml or configure a standalone LSP client. |
| Emacs | Set the command to ("oxyaml" "--stdio") in eglot-server-programs or lsp-yaml-server-command. |
| Claude Code | Put oxyaml on your PATH and load the oxyaml-lsp plugin for YAML. |
Editor features
| Feature | What you get |
|---|---|
| Diagnostics | YAML 1.1 and 1.2 syntax, custom tags, style rules, and anchor hints |
| JSON Schema validation | Local and remote schemas, SchemaStore, Kubernetes, and custom resource definitions (CRDs) |
| Completion and hover | Schema-based keys, values, snippets, and documentation, plus anchor previews |
| Formatting | Whole-document formatting and indentation as you type |
| Code actions and lenses | Quick fixes and a link to the active schema |
| Outline and navigation | Document symbols, folding, expand selection, clickable links, and go to anchor definition |
| Rename | Rename an anchor and its aliases together |
Check YAML in CI and before committing
Run oxyaml check . to validate YAML in the current directory. The checker looks for
.oxyaml.toml in the current directory and its parents. Use --config <FILE> to choose another
settings file and --format json or --format sarif for machine-readable output. Validation
errors exit with status 1.
Both integrations below use the v1.0.0 tag. Add the hook to .pre-commit-config.yaml and run
pre-commit install. The hook requires Rust to build oxyaml.
repos:
- repo: https://github.com/marwanvx/oxyaml
rev: v1.0.0
hooks:
- id: oxyaml-check
For GitHub Actions, check out your repository before running the action.
name: Check YAML
on: [push, pull_request]
permissions:
contents: read
jobs:
yaml:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: marwanvx/oxyaml@v1.0.0
with:
paths: .github/workflows
format: text
On a release tag the action downloads the prebuilt binary (checksum-verified, cached); other refs build
from source. It defaults to checking . and writing a SARIF report. See the
action inputs for configuration and uploading the report to code scanning.
Contributing
See the contribution guide, security policy, code of conduct, and changelog.
License
MIT or Apache-2.0.
Metadata
Release files for oxyaml 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
Total release size: 35.1 MB
Release files / oxyaml-1.0.0-py3-none-win_arm64.whl
| Download URL | oxyaml-1.0.0-py3-none-win_arm64.whl |
|---|---|
| Size | 4.3 MB |
| Tags | Python 3 Windows ARM64 |
|
SHA-256 checksum How to use checksums |
e5145e7396d1e096a63d1a26c00622403806ca77fb3e1dbb35eb622a48f80bf2
|
|
BLAKE2b-256 checksum How to use checksums |
52c3c839eda65e8bf241155fce8540f52e48b07f9960cbc4c75cff65c5d19587
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 4, 2026.
Transparency logRelease files / oxyaml-1.0.0-py3-none-win_amd64.whl
| Download URL | oxyaml-1.0.0-py3-none-win_amd64.whl |
|---|---|
| Size | 4.6 MB |
| Tags | Python 3 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
a19e7a8a6139289b8eb698d2f9ade21fa1c5d46487e1f933f26d1b735d11615d
|
|
BLAKE2b-256 checksum How to use checksums |
8ee5612aede8ae36dd4f5be15e3d5e73aa5bb7f9cd411ac3b19f2691e14fbad8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 4, 2026.
Transparency logRelease files / oxyaml-1.0.0-py3-none-musllinux_1_2_x86_64.whl
| Download URL | oxyaml-1.0.0-py3-none-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 4.6 MB |
| Tags | Linux musl 1.2+ x86-64 Python 3 |
|
SHA-256 checksum How to use checksums |
f54cd903bd145bd6cbcd3c046cf0a172884186f7ab10a56f4c3701b0d861a53d
|
|
BLAKE2b-256 checksum How to use checksums |
13d402ea82cd11f6bfea05e02903c900c5279f3c155cd27f0e6350dc088b2661
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 4, 2026.
Transparency logRelease files / oxyaml-1.0.0-py3-none-musllinux_1_2_aarch64.whl
| Download URL | oxyaml-1.0.0-py3-none-musllinux_1_2_aarch64.whl |
|---|---|
| Size | 4.3 MB |
| Tags | Linux musl 1.2+ ARM64 Python 3 |
|
SHA-256 checksum How to use checksums |
d19f5aa7df5661ae6c5a68816ab4c7e0c6e1e4a5ba848f841e555aa49b1799ef
|
|
BLAKE2b-256 checksum How to use checksums |
8ccc041486765bdb83adab0875772da31059e017ab6954ef09a97b329a1d6699
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 4, 2026.
Transparency logRelease files / oxyaml-1.0.0-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
| Download URL | oxyaml-1.0.0-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl |
|---|---|
| Size | 4.5 MB |
| Tags | Linux glibc 2.17+ x86-64 Python 3 |
|
SHA-256 checksum How to use checksums |
99531b89fdc1bf37560de4eb38a14aaa1e24e2b3a4d24b44d37fb152a01d3669
|
|
BLAKE2b-256 checksum How to use checksums |
dc455e67dccbcfb3b1c3e42c3f8943a461496b5334144079c577a215791077f4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 4, 2026.
Transparency logRelease files / oxyaml-1.0.0-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
| Download URL | oxyaml-1.0.0-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl |
|---|---|
| Size | 4.3 MB |
| Tags | Linux glibc 2.17+ ARM64 Python 3 |
|
SHA-256 checksum How to use checksums |
78e8519f49e5786216939ad7fe72d708ab25a513f5e261fbaed07338b44ca213
|
|
BLAKE2b-256 checksum How to use checksums |
415737e842583d31e2b4a6389998ec7995ce391071fbd492373911f82d5aed88
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 4, 2026.
Transparency logRelease files / oxyaml-1.0.0-py3-none-macosx_11_0_arm64.whl
| Download URL | oxyaml-1.0.0-py3-none-macosx_11_0_arm64.whl |
|---|---|
| Size | 4.1 MB |
| Tags | Python 3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
888d9b417ab28379b3a2b1965921938ee3be00b6486196f21d5e0f13d040824d
|
|
BLAKE2b-256 checksum How to use checksums |
56acb74df8ec789ed19ffd986613076179c37224bb8ec935422055aac1e4cd57
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 4, 2026.
Transparency logRelease files / oxyaml-1.0.0-py3-none-macosx_10_12_x86_64.whl
| Download URL | oxyaml-1.0.0-py3-none-macosx_10_12_x86_64.whl |
|---|---|
| Size | 4.4 MB |
| Tags | Python 3 macOS 10.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
4303cd12f7a8c71efbad3ff9b08b70b9b95b6f7ea01ac6a60206b950adf7e895
|
|
BLAKE2b-256 checksum How to use checksums |
3d9b3ceee3090a755528530f37e10f6ce544dc177f866db48df75d8e75f6d7b5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 4, 2026.
Transparency logSecurity for oxyaml 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 8 files in this release have been uploaded with provenance metadata.
Attestation for oxyaml-1.0.0-py3-none-win_arm64.whl
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 4, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.