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

#30 in Data structures

Download history 55995/week @ 2024-12-08 57467/week @ 2024-12-15 36286/week @ 2024-12-22 38553/week @ 2024-12-29 59342/week @ 2025-01-05 61324/week @ 2025-01-12 57821/week @ 2025-01-19 54381/week @ 2025-01-26 67625/week @ 2025-02-02 77304/week @ 2025-02-09 67897/week @ 2025-02-16 69086/week @ 2025-02-23 76266/week @ 2025-03-02 83312/week @ 2025-03-09 75288/week @ 2025-03-16 69554/week @ 2025-03-23

310,654 downloads per month
Used in 382 crates (62 directly)

MIT/Apache

145KB
3.5K SLoC

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.


lib.rs:

A generic library for lossless syntax trees. See examples/s_expressions.rs for a tutorial.

Dependencies

~1MB
~15K SLoC