docs.rs failed to build okid-0.21.0
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:
okid-0.16.2
👌 okid
okid is a library for generating double clickable representations of various types of data,
such as sha1 hashes, uuids and more.
sha1
sha256
The resulting strings look like this:
2ː00b94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9
first character of the string is the type of the binary data
in this case 2 means sha256
the rest of the string is the hexadecimal representation of the binary data
okid macro
The okid! macro can be used to parse OkIds from string literals at compile time.
use ;
const HELLO_WORLD_SHA256: OkId = okid!;
Development
Build Tasks
This project uses cargo xtask for build automation. Available tasks:
# Build the Rust library
# Build the main WASM module
# Build and serve mdbook documentation
# Build docs with all WASM modules
# Run all tests