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

#40 in Data structures

Download history 126733/week @ 2026-01-23 134347/week @ 2026-01-30 133792/week @ 2026-02-06 123759/week @ 2026-02-13 140769/week @ 2026-02-20 163105/week @ 2026-02-27 231007/week @ 2026-03-06 244528/week @ 2026-03-13 199396/week @ 2026-03-20 207448/week @ 2026-03-27 207159/week @ 2026-04-03 238814/week @ 2026-04-10 261003/week @ 2026-04-17 299837/week @ 2026-04-24 296832/week @ 2026-05-01 310486/week @ 2026-05-08

1,212,027 downloads per month
Used in 1,101 crates (135 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