26 releases (13 breaking)
Uses old Rust 2015
0.14.3 | May 6, 2024 |
---|---|
0.14.2 | Mar 17, 2023 |
0.14.1 | Feb 23, 2023 |
0.14.0 | Apr 10, 2020 |
0.3.0 | Oct 27, 2016 |
#48 in Data structures
862,749 downloads per month
Used in 970 crates
(18 directly)
73KB
1.5K
SLoC
An implementation of union-find in Rust; extracted from (and used by) rustc.
Name
The name "ena" comes from the Greek word for "one".
Features
By default, you just get the union-find implementation. You can also opt-in to the following experimental features:
bench
: use to run benchmarks (cargo bench --features bench
)
License
Like rustc itself, this code is dual-licensed under the MIT and Apache licenses. Pull requests, comments, and other contributions are assumed to imply consent to those terms. Moreover, it is understood that any changes here may well be used in rustc itself under the same terms.
lib.rs
:
An implementation of union-find. See the unify
module for more
details.
Dependencies
~92KB