Skip to content

EXPENSIVEEXC/serval-mesh

 
 

Repository files navigation

serval-mesh

Main branch checks

This monorepo contains the source for the various components of the Serval mesh, intended to run on any host where you want to run WASM payloads. As of December 2022, this project is in very early stages of development and is changing rapidly.

The repo is a Rust workspace containing the following members:

  • agent: a daemon that listens on a port for incoming HTTP requests with payloads to run
  • cli: a command-line interface (called serval when built) for controlling the mesh and creating WASM jobs
  • engine: a library for the wasmtime glue; in early stages
  • queue: temporarily a separate service during MVP/demo period, this is manages the job queue for the Serval mesh. This functionality will eventually be integrated into the Serval agent.
  • utils: a library for code we use in several places
  • test-runner: a CLI to execute a WASM payload once, useful for developing the engine

Local development

This is a Rust project. If you do not have the rust compiler available, install it with rustup.

A justfile is provided for your convenience. It defines these recipes:

$ just -l
Available recipes:
    build         # Build all targets in debug mode
    ci            # Run the same checks we run in CI
    dance         # Everyone loves Lady Gaga, right?
    help          # List available recipes
    install-tools # Cargo install required tools like `nextest`
    lint          # Lint and automatically fix what we can fix
    release       # Build all targets in release mode
    security      # Get security advisories from cargo-deny
    test          # Run tests with nextest

LICENSE

BSD-2-Clause-Patent

About

Monorepo for the various components of the Serval mesh.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 100.0%