twine_builder

Crates.iotwine_builder
lib.rstwine_builder
version0.1.3
created_at2025-03-13 23:21:09.544685+00
updated_at2025-04-18 23:13:06.958661+00
descriptionTwine protocol rust library functionality for building Twine data structures
homepage
repositoryhttps://github.com/twine-protocol/twine-rs
max_upload_size
id1591619
size120,404
Jasper (wellcaffeinated)

documentation

README

Twine Builder

Crates.io Version docs.rs (with version)

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.

Commit count: 429

cargo fmt