Installation
Add rok-utils to your Cargo.toml:
[dependencies]
rok-utils = "0.2"
Feature Flags
Enable optional features as needed:
[dependencies]
rok-utils = { version = "0.2", features = ["dates", "crypto", "ids", "json", "random"] }
Available Features
| Feature | Description | Extra Dependencies |
|---|---|---|
dates | Date/time utilities | chrono |
crypto | Hashing and token generation | sha2, md-5, subtle |
ids | UUID and ULID generation | uuid, rand |
json | JSON type guards and path access | serde, serde_json |
random | Random string generation | rand, regex |
full | Enable all features | all of above |
Quick Install (All Features)
[dependencies]
rok-utils = { version = "0.2", features = ["full"] }
MSRV
Minimum Supported Rust Version is 1.92.