How 2teez/arraylist works
arraylist is a small Rust collection library that wraps Vec with interior mutability and list-style methods. Its main workflow is a caller creating a list, mutating or querying it, then iterating or formatting the result; macros provide shorthand for construction and mapping. The runtime is concentrated in src/arl.rs. Tests are excluded. The README documents the API’s intent, while the source excerpt shows its implementation and storage behavior.
Main entry points: arl.rs ArrayList API
Components 5
Other components
- Library caller
- List macros
src/arl.rs - ArrayList API
src/arl.rs - Shared list state
src/arl.rs - Rust Vec
Connections 7
- Library caller → List macros: invokes
README.md - List macros → ArrayList API: creates and mutates
src/arl.rs - Library caller → ArrayList API: uses methods
README.md - ArrayList API → Shared list state: reads and writes
src/arl.rs - Shared list state → Rust Vec: wraps
src/arl.rs - ArrayList API → Shared list state: shares on finish
src/arl.rs - List macros → ArrayList API: maps into list
src/arl.rs