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

#28 in Data structures

Download history 57562/week @ 2025-01-20 54047/week @ 2025-01-27 69399/week @ 2025-02-03 78101/week @ 2025-02-10 66687/week @ 2025-02-17 68676/week @ 2025-02-24 76288/week @ 2025-03-03 84831/week @ 2025-03-10 75083/week @ 2025-03-17 75350/week @ 2025-03-24 83971/week @ 2025-03-31 90971/week @ 2025-04-07 81989/week @ 2025-04-14 79084/week @ 2025-04-21 84557/week @ 2025-04-28 74183/week @ 2025-05-05

328,586 downloads per month
Used in 826 crates (65 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