Twine Builder
This crate contains functionality for creating Twine data structures. It can
be bundled and used from the twine_protocol crate by enabling the build feature.
Usage
Normal construction of twine data involves the following:
- Creating a [
Signer] to sign data. - Creating a [
TwineBuilder] and providing it with the signer. - Calling the build methods of the builder to construct data.
- Saving that data to some [
twine_lib::store::Store].
See the documentation for specifics about the [Signer], [TwineBuilder],
and Store.
Version 1 data
In order to construct version 1 data structures, the v1 feature flag
must be enabled and a BiscuitSigner can be used.