docs.rs failed to build hyperid-2.0.1-alpha.1
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
hyperid-2.3.1
hyperid-rs
Superfast id generator
This is a porting of hyper written in javascript. Thanks to mcollina for that work
Install
Add the dependency to your Cargo.toml
:
[]
= "1"
Usage
use HyperId;
Benchmark
This crate borns for providing a fast id generator. Comparing with uuid crates, on my computer:
$ cargo bench
...
test hyperid ... bench: 9 ns/iter (+/- 1)
test uuid ... bench: 1,657 ns/iter (+/- 148)
...
Features
This crate has a feature url_safe
that adds to_url_safe
and from_url_safe
methods.
Prepare for release
# wait for CI
License
See LICENSE file