74 releases

0.16.1 Nov 22, 2024
0.15.16 Aug 16, 2024
0.15.15 Dec 8, 2023
0.15.13 Sep 28, 2023
0.1.3 Nov 21, 2018

#29 in Data structures

Download history 57376/week @ 2025-01-28 72302/week @ 2025-02-04 75924/week @ 2025-02-11 66931/week @ 2025-02-18 69810/week @ 2025-02-25 76467/week @ 2025-03-04 85490/week @ 2025-03-11 74368/week @ 2025-03-18 75425/week @ 2025-03-25 86579/week @ 2025-04-01 88983/week @ 2025-04-08 77915/week @ 2025-04-15 83598/week @ 2025-04-22 83718/week @ 2025-04-29 81615/week @ 2025-05-06 70574/week @ 2025-05-13

329,894 downloads per month
Used in 827 crates (66 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