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

#27 in Data structures

Download history 36263/week @ 2024-12-23 38486/week @ 2024-12-30 60211/week @ 2025-01-06 60634/week @ 2025-01-13 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 90794/week @ 2025-04-07

332,105 downloads per month
Used in 822 crates (63 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
~14K SLoC