Expand description
Source package manifest types and parsing.
A package is a directory containing plugin source code and a package.toml
manifest. The manifest has a fixed header (name, version, interface) and
an extensible [metadata] section validated via serde against a
host-defined schema type.
Structs§
- Pack
Result - Result of packing a package, including any warnings.
- Package
Header - Fixed header fields that every package manifest must have.
- Package
Manifest - A parsed package manifest, generic over the host-defined metadata schema.
Enums§
- Package
Error - Errors that can occur when loading a package manifest.
Functions§
- load_
manifest - Load and parse a
package.tomlmanifest from a package directory. - load_
manifest_ untyped - Load a manifest validating only the fixed header (accepting any metadata).
- pack_
package - Create a
.fidarchive (tar + bzip2) from a package directory. - package_
digest - Compute a deterministic SHA-256 digest over all package source files.
- unpack_
package - Extract a
.fidarchive (tar + bzip2) to a destination directory.