mr_bundle

Crates.iomr_bundle
lib.rsmr_bundle
version0.4.0-dev.1
sourcesrc
created_at2021-06-30 19:53:29.901801
updated_at2024-05-01 17:41:33.596125
descriptionImplements the un-/packing of bundles that either embed or reference a set of resources
homepagehttps://github.com/holochain/holochain
repository
max_upload_size
id417062
size37,828
Holochain Release Automation (holochain-release-automation2)

documentation

https://docs.rs/mr_bundle

README

mr_bundle

Library for collecting and packing resources into a bundle with a manifest file which describes those resources.

A Bundle contains a Manifest as well as any number of arbitrary, opaque resources in the form of ResourceBytes. A Bundle can be serialized and written to a file.

A Bundle can also be packed and unpacked, via the "packing" feature. Bundle packing is performed by following the Locations specified in the Manifest as "Bundled", and pulling them into the Bundle that way. Unpacking is done by specifying a target directory and creating a new file for each resource at a relative path specified by the Manifest.

License: Apache-2.0

Commit count: 0

cargo fmt