publet-core
Objects, canonical serialization, content identifiers and signatures for the Publet Protocol: the floor every other publet crate and tool builds on.
Licensed under Apache-2.0.
Documentation
docs.rs/publet-core: the overview, a cookbook of examples, why this crate exists, the crates considered instead, how every item is tested, and how each dependency is vouched for.
Usage
[]
= "0.1"
Example
An object built, named by its identifier, and checked against it:
use ;
let author = of.to_string;
let bytes = builder
.created
.field
.build?;
let cid = of;
let object = parse?.verify?;
assert_eq!;
# Ok::
Minimum Rust version
Rust 1.85, tested in CI. The minimum may rise in a release that bumps the minor version, and never in a patch release.
Security
Report a vulnerability privately through the repository's Security tab.
SECURITY.md describes what is checked, and
SUPPLY-CHAIN.md how each dependency is vouched for.