# Weavon is a Rust drop-in for Pandoc that claims 99.93% parity and 15–50x speed. What it does, and the caveats

> Weavon, a three-day-old open-source project, reimplements the Pandoc document converter in Rust as a single 9.26 MB binary. It can answer to the name pandoc and writes PDFs without TeX. The parity and speed figures come from the project itself, and on Hacker News the debate is mostly about licensing and AI-built code.

Published Dec 4, 2026 by TechMeasured Staff · Repos · Canonical: https://techmeasured.com/repos/weavon-rust-pandoc-drop-in-99-93-percent-15-50x-faster-pdf-without-tex-what-it-does-limits

**Weavon is a new open-source reimplementation of Pandoc, the widely used document converter, written in Rust.** Its README says it matches 65,891 of 65,937 test cases taken from Pandoc 3.13 (99.93%). It also claims to run 15.3 to 49.7 times faster than Pandoc on 1 MB inputs. It ships as one stripped ARM64 binary of 9.26 MB. Version 0.2.0 was tagged on Dec. 4. On Dec. 5 a Show HN post about it was at the top of Hacker News's Show page with more than 200 points.

Why it matters: Pandoc sits inside a great deal of tooling. Quarto, R Markdown and Make all call a program named `pandoc`, so a faster binary that answers to that name could drop into those pipelines unchanged. Weavon's built-in PDF engine also skips the TeX install that Pandoc's default PDF route relies on. But the project is days old, its numbers are its own, and its origins are under debate.

## What it is

When the program runs under the name `pandoc`, it switches to what the README calls compat mode, which aims to behave exactly like Pandoc 3.13. The README says this mode reads no config file and makes no network request that Pandoc would not make. Run as `weavon`, it adds native features with an `x_` prefix so they can't clash with Pandoc's own extensions.

Native extras listed in the README and the v0.2.0 changelog include:

- **PDF without TeX.** `--pdf-engine=embedded` writes tagged PDF directly, with font subsets, math and SVG. It handles only a subset of raw LaTeX; TikZ and similar still need an engine such as lualatex.
- **Word redlines.** `weavon diff` compares two documents and can write real tracked changes into a .docx.
- **AI ingestion and bindings.** Clean-Markdown output and JSON Lines chunking for retrieval, WebAssembly filters, Python and Node.js packages, and `weavon mcp` and `weavon lsp` servers.

It installs via script, Homebrew, Scoop, Cargo, a GitHub Action or a container image.

## The numbers, and how they were measured

All figures below are from the project's own benchmark file, measured on an unnamed Apple Silicon Mac. Times are median milliseconds; memory is peak resident memory in MiB.

| Workload (1 MB input) | Weavon 0.2.0 | Pandoc 3.13 | Speedup claimed |
| --- | ---: | ---: | ---: |
| Markdown → HTML | 62.6 ms / 29.3 MiB | 2,300 ms / 262.2 MiB | 36.7x |
| Markdown → HTML, no highlighting | 44.8 ms / 28.2 MiB | 2,227 ms / 249.5 MiB | 49.7x |
| DOCX → JSON (106 KB corpus) | 54.7 ms / 35.9 MiB | 1,805 ms / 463.2 MiB | 33.0x |
| LaTeX → JSON | 26.1 ms / 27.3 MiB | 574 ms / 152.5 MiB | 22.0x |
| JSON → LaTeX | 14.4 ms / 10.7 MiB | 220 ms / 153.6 MiB | 15.3x |

Three caveats are worth knowing. The benchmark notes say Weavon got 21 timed runs per case, but Pandoc got only three. The benchmark also includes two other Rust converters, Carta and ferrodoc, and Carta has lower medians than Weavon in a couple of cases. And some Weavon medians got slightly worse from 0.1.0 to 0.2.0.

The parity figure comes from a harness of Weavon's own test cases, scored against Pandoc's output. Of the 65,891 matching units, 65,776 are byte-identical; 46 differ deliberately. The README also reports 2,228 of 2,231 passing in Pandoc's own test suite.

**Known differences.** Some Pandoc assets are GPL-licensed, so Weavon does not ship them and writes its own instead. That covers the default Word, ODT and PowerPoint styles, the default citation style, the EPUB stylesheet and translated labels. Output bytes therefore differ unless you pass your own `--reference-doc`, `--csl` or `--css`.

## Where it came from, and the argument about it

The repository's history starts on Dec. 1 with a single commit of about 1.83 million lines across 2,142 files. The crates folder now holds roughly 530,000 lines of Rust. The README says plainly that Weavon "was built with heavy use of AI coding tools." It adds that the project does not claim to be a strict clean-room implementation.

It says the repository contains no Pandoc Haskell source or test files, and that project rules forbid reading Pandoc's source. Pandoc 3.13 was run only as a black-box oracle in the test tools. Parts of permissively licensed companion libraries (pandoc-types, citeproc, skylighting and others) were ported and are listed in a notices file. Weavon itself is MIT or Apache 2.0. Pandoc is GPL.

That licence switch dominated the Hacker News discussion. Several commenters called the project a derivative of Pandoc or questioned whether an AI-written port can count as clean-room work. One wrote that it seemed "a huge challenge to the GPL." Others pointed to Wine and Samba as long-accepted reimplementations. Some said they would stick with the original Pandoc, which the README credits to John MacFarlane and the Pandoc contributors. In the thread, the author, posting as deyvium, said the README had not credited MacFarlane and that an Acknowledgements section had been added. The commit history shows that section landing on Dec. 4.

TechMeasured did not build or run Weavon, and the part of the thread we read had no hands-on reports.

## Who should care

- **Teams with slow Pandoc steps in CI**, especially large Markdown-to-HTML or DOCX jobs. Weavon's GitHub Action can stand in for `pandoc` with one setting, which makes it cheap to trial against your own documents. Compare the outputs before switching.
- **Anyone installing TeX only for PDFs.** The embedded engine is the most practical new piece, within its LaTeX limits.
- **Organisations that care about licence provenance** should read the README's provenance section and notices file first. A three-day-old, single-maintainer project with contested origins is a different risk from the established original.


## Sources

1. [GitHub — weavon/weavon (README, CHANGELOG, docs/BENCHMARKS.md, commit history and tags)](https://github.com/weavon/weavon)
2. [Hacker News — Show HN: Weavon, 99.93% Pandoc in 9.3 MB of Rust, 15-50x faster, PDF without TeX](https://news.ycombinator.com/item?id=50762625)
