76 releases

0.16.2 Jul 27, 2025
0.16.1 Nov 22, 2024
0.15.18 Apr 3, 2026
0.15.17 Jul 27, 2025
0.1.3 Nov 21, 2018

#39 in Data structures

Download history 136248/week @ 2026-01-26 129891/week @ 2026-02-02 129665/week @ 2026-02-09 130474/week @ 2026-02-16 144420/week @ 2026-02-23 181226/week @ 2026-03-02 246198/week @ 2026-03-09 229445/week @ 2026-03-16 198557/week @ 2026-03-23 214823/week @ 2026-03-30 213606/week @ 2026-04-06 244062/week @ 2026-04-13 288737/week @ 2026-04-20 291586/week @ 2026-04-27 304922/week @ 2026-05-04 287248/week @ 2026-05-11

1,196,550 downloads per month
Used in 1,105 crates (134 directly)

MIT/Apache

145KB
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 repo.

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
~15K SLoC