80 releases

0.18.0-alpha.2 Oct 21, 2026
0.17.0 Aug 2, 2026
0.16.2 Jul 27, 2025
0.16.1 Nov 22, 2024
0.1.3 Nov 21, 2018

#32 in Data structures

Download history 364901/week @ 2026-08-08 378767/week @ 2026-08-15 417935/week @ 2026-08-22 449066/week @ 2026-08-29 434199/week @ 2026-09-05 439682/week @ 2026-09-12 430700/week @ 2026-09-19 510036/week @ 2026-09-26 561956/week @ 2026-10-03 626393/week @ 2026-10-10 652942/week @ 2026-10-17 652734/week @ 2026-10-24 738130/week @ 2026-10-31 761071/week @ 2026-11-07 827624/week @ 2026-11-14 807054/week @ 2026-11-21

3,241,237 downloads per month
Used in 1,898 crates (265 directly)

MIT/Apache

135KB
3.5K SLoC

A generic library for lossless syntax trees. See examples/s_expressions.rs for a tutorial.


Rowan

Crates.io Crates.io

Rowan is a library for lossless syntax trees, inspired in part by Swift's libsyntax.

A conceptual overview is available in the rust-analyzer book.

See examples/s_expressions for a tutorial, and rust-analyzer for real-world usage.

Testing

This crate is primarily tested by various integration tests in rust-analyzer.

License

Rowan is primarily distributed under the terms of both the MIT license and the Apache License (Version 2.0).

See LICENSE-APACHE and LICENSE-MIT for details.

Dependencies

~1MB
~17K SLoC