Registry / utility / harsh
library0.2.2rscratesunverified

Hashids implementation for Rust to generate short unique IDs.

# Cargo.toml [dependencies] harsh = "0.2.2"
INSTALL
IMPORT
SIG · HARSH
H
harsh
utilityrustv0.2.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Harsh
use harsh::Harsh;

Encodes a list of integers into a hashid string.

use harsh::Harsh; fn main() { let harsh = Harsh::default(); let id = harsh.encode(&[1, 2, 3]); println!("{}", id); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.2.2latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
10
Resources
harsh — cargo add harsh · libregistry