selium-atlas-protocol 0.2.0

Selium module for indexing and discovering resources with URIs
docs.rs failed to build selium-atlas-protocol-0.2.0
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: selium-atlas-protocol-0.2.3

Atlas

The atlas is a directory service for discovering resources.

Crate structure

This service has 3 crates:

  • selium-atlas (client/) - client library that guests consume
  • selium-atlas-protocol (protocol/) - wire protocol
  • selium-atlas-server (server/) - WASM module run by the host

Usage

Compile the selium-atlas-server component to WebAssembly and install in the Runtime's work directory:

cargo build --release --target wasm32-unknown-unknown -p selium-atlas-server
cp target/wasm32-unknown-unknown/release/selium_atlas_server.wasm /path/to/selium-runtime/work/modules/

The selium-atlas-server component should be added to the Selium Runtime's initialisation args:

selium-runtime \
  --work-dir /path/to/selium-runtime/work \
  --module "path=selium_atlas_server.wasm;capabilities=ChannelLifecycle,ChannelReader,ChannelWriter"