FindSoftware

syntect

Rust library that highlights source code using Sublime Text syntax definitions.

syntect is a Rust library that highlights source code using Sublime Text syntax definitions. A Rust program adds it as a crate from crates.io, and its API documentation is on docs.rs.

The built-in output is colored HTML pre tags or 24-bit ANSI terminal escape sequences. Highlighting can use one of two regex engines, the default oniguruma or a pure Rust fancy-regex mode.

Worth knowing

The README says the maintainer considers the project mostly complete, still maintains it and reviews pull requests, and that it is not under heavy development.

Identity

Status
Active
Maintainer
Tristan Hume3
Maintained by
Individual
First release
20164

Rendering and deploy

Install with
cargo2

Releases

Current major version
55
Last release
2025-09-275

Adoption

GitHub stars
2,4641
Contributors
887
Dependent repositories
9206
Dependent packages
2256

Why these figures do not compare

Sources

  1. 2026-11-16: links, Written in, GitHub stars
    api.github.com/repos/trishume/syntect
  2. 2026-11-16: links, Categories, Runtime, Install with
    github.com/trishume/syntect/blob/master/Readme.md
  3. 2026-11-16: Maintainer, License, License model
    github.com/trishume/syntect/blob/master/LICENSE.txt
  4. 2026-11-16: First release
    crates.io/api/v1/crates/syntect/versions
  5. 2026-11-16: Current major version, Last release
    api.github.com/repos/trishume/syntect/releases
  6. 2026-11-16: Dependent packages, Dependent repositories
    packages.ecosyste.ms/api/v1/registries/crates.io/packages/syntect
  7. 2026-11-16: Contributors
    api.github.com/repos/trishume/syntect/contributors?per_page=1

Last reviewed · Listed since Edit on GitHubThis page as markdownas JSON