wa-0.1.1 has been yanked.
WA
A modern Rust utility library.
Inspired by JavaScript Lodash library.
No dependencies.
- Made for Rust
- Made for WebAssembly (check
wa-sm/wasmfolder) - Made for JavaScript and NodeJs (check
wa-smfolder) - Made for Foreign function interface
Installation
Add wa to your dependencies on Cargo.toml. You need to set the features that will be used as well:
wa = { version = "0.2.0", features = ["string", "vector", "array"] }
Features
string(Examples:cargo run --example strings)vector(Examples:cargo run --example vectors)array(Examples:cargo run --example arrays)
Why?
Wa makes Rust easier by taking the hassle out of working with arrays, numbers, objects, strings, etc. Wa’s modular methods are great for:
- Iterating arrays, objects, & strings
- Manipulating & testing values
- Creating composite functions