cl_structures/lib.rs
1//! # Universally useful structures
2//! - [Span](struct@span::Span): Stores a start and end position in a named stream
3//! - [DroplessInterner][di] & [StringInterner][si]: Provides stable, unique allocations
4//! - [Stack](stack::Stack): Contiguous collections with constant capacity
5//! - [IndexMap][im]: A map from [map indices][mi] to values
6//!
7//! [di]: intern::dropless_interner::DroplessInterner
8//! [si]: intern::string_interner::StringInterner
9//! [im]: index_map::IndexMap
10//! [mi]: index_map::MapIndex
11#![warn(clippy::all)]
12#![feature(dropck_eyepatch, decl_macro)]
13#![deny(unsafe_op_in_unsafe_fn)]
14
15pub mod intern;
16
17pub mod span;
18
19pub mod tree;
20
21pub mod stack;
22
23pub mod index_map;
24
25pub use cl_arena::dropless_arena;
26
27pub use cl_arena::typed_arena;