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

#42 in Data structures

Download history 58647/week @ 2024-10-30 57239/week @ 2024-11-06 51118/week @ 2024-11-13 50673/week @ 2024-11-20 52848/week @ 2024-11-27 54377/week @ 2024-12-04 57354/week @ 2024-12-11 49817/week @ 2024-12-18 35263/week @ 2024-12-25 46700/week @ 2025-01-01 59238/week @ 2025-01-08 62031/week @ 2025-01-15 53899/week @ 2025-01-22 60906/week @ 2025-01-29 71955/week @ 2025-02-05 65864/week @ 2025-02-12

262,933 downloads per month
Used in 347 crates (61 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