docs.rs failed to build greentic-distributor-dev-0.4.31
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
greentic-distributor-dev-1.2.0
greentic-distributor-dev
Dev-only distributor source that serves packs and components directly from the local filesystem. Useful for running flows locally without publishing packs/components to a remote store.
Layouts
Flat(default)- Packs:
{root}/{packs_dir}/{pack_id}-{version}.gtpack - Components:
{root}/{components_dir}/{component_id}-{version}.wasm
- Packs:
ByIdAndVersion- Packs:
{root}/{packs_dir}/{pack_id}/{version}/pack.gtpack - Components:
{root}/{components_dir}/{component_id}/{version}/component.wasm
- Packs:
Default config points at .greentic/dev with packs and components subdirectories.
Usage
use ;
use ;
let dev_source = new;
let sources = new;
let pack_id = try_from?;
let version = parse?;
let pack_bytes = sources.fetch_pack?;
println!;
Future greentic-dev integration can build packs/components into .greentic/dev/{packs,components} and resolve them via this source without any remote distributor.