📚 Documentation
📦 Installation
Add this to your Cargo.toml:
[]
= "0.1.8"
Replace
"0.1.8"with the latest version from crates.io.
🚀 Usage & Available Methods
Each function is currently part of the array module. Full documentation with examples is available via the official docs.rs documentation.
| Component | Function | Description | Full API docs / API Reference |
|---|---|---|---|
| array | chunk |
Split slices into fixed-size chunks | Full API Docs |
| array | compact |
Remove "empty" values using the IsEmpty trait |
Full API Docs |
| array | difference_performant |
Faster list difference using AHashSet |
Full API Docs |
| array | difference |
Compute list difference using HashSet |
Full API Docs |
| array | drop_end |
Remove N elements from the end of a vector | Full API Docs |
| array | drop_start |
Remove N elements from the beginning of a vector | Full API Docs |
| array | fill_default |
Fill a vector with T::default() values |
Full API Docs |
| array | fill_value |
Fill a vector with clones of a given value | Full API Docs |
| array | uniq_performant |
Faster deduplication using AHashSet |
Full API Docs |
| array | uniq |
Remove duplicate elements using HashSet |
Full API Docs |
🥪✅ Running Tests
To run all unit tests, use:
💯📂 Code Coverage
To generate a code coverage report, run:
🔒 Safety
- ✅ 100% safe Rust (
#![forbid(unsafe_code)]) - ✅ No
unsafeblocks - ✅ Panic-free under all valid inputs
📄 License
Licensed under MIT.
🤝 Contributing
Contributions, bug reports, and feature requests are welcome! Open an issue or submit a pull request anytime.