package multicodec
All checked builds passInstall
dune-project
Dependency
Authors
Maintainers
Sources
sha256=56aeb4ea2d2a8a473c4d75a83e119bf1151636cd3f469ea29f179810e40b22cb
sha512=c933b19b437dc87e455b4b7e94f29953bc8b52bcb10f49dec4b614d9261560e6d7ce82a5b577ab99278238550b38f2e480d048339e868b592e9cf337fdf5ba29
Description
This library provides OCaml types and values for multicodec.
Added to opam-repository:
README
ocaml-multicodec
This library provides OCaml values and types derived from the mutlicodec definition.
# #require "multicodec";;Multicodec is an agreed upon codec table, essentially providing a means to encode some value as a number. For example, a number for hashes that are generated with SHA256.
# Multicodec.multihash_to_code;;
- : Multicodec.multihash -> int = <fun>
# Multicodec.multihash_to_code `Sha2_256;;
- : int = 18
# Multicodec.multihash_of_code 18;;
- : Multicodec.multihash option = Some `Sha2_256Other encoded values include common addressing schemes, such as DNS.
# Multicodec.multiaddr_to_code `Dns;;
- : int = 53Find out more about multicodec at the multiformats websites.
Optional Dependencies
None
Conflicts
None
Build status
Results of building multicodec with each compiler on check.ci.ocaml.org, run of against opam-repository 8a77e58. All results for this package.
Each result links to its build log. To keep crawlers from overloading the site, build logs require a GitHub sign-in (see ocurrent/opam-health-check). On your first log, GitHub asks you to “Authorize opam-health-check”, the OCurrent app that runs these checks; it sees only your public profile, not your repositories. The sign-in lasts 30 days.
| Version | OCaml 4.11 | OCaml 4.14 | OCaml 5.2 | OCaml 5.4 | OCaml 5.5 |
|---|---|---|---|---|---|
| 0.1.0 (this version) | good | good | good | good | good |
- good Package successfully built
- partial One of the dependencies failed to build
- bad Package failed to build
- n/a Package is not available in this environment
- internal Internal failure