Crates.io | mr_bundle |
lib.rs | mr_bundle |
version | 0.3.4 |
source | src |
created_at | 2021-06-30 19:53:29.901801 |
updated_at | 2024-10-17 13:32:20.603913 |
description | Implements the un-/packing of bundles that either embed or reference a set of resources |
homepage | https://github.com/holochain/holochain |
repository | |
max_upload_size | |
id | 417062 |
size | 37,840 |
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 Location
s 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