zinnia

Crates.iozinnia
lib.rszinnia
version0.20.3
sourcesrc
created_at2023-01-25 08:56:17.206608
updated_at2024-09-04 06:09:04.412923
descriptionZinnia is a runtime for Filecoin Station modules. It provides a sandboxed environment to execute untrusted code on consumer-grade computers.
homepage
repositoryhttps://github.com/filecoin-station/zinnia
max_upload_size
id767207
size134,891
owners (github:filecoin-station:owners)

documentation

README


🌼

Zinnia CLI


crates

Zinnia is a sandboxed and resource-limited runtime for distributed workers. This crate provides the zinnia executable to run modules locally, e.g. while developing.

Installation

You can download the zinnia binary from our GitHub Releases.

OS Platform Filename
Windows Intel, 64bit zinnia-windows-x64.zip
macOS Intel, 64bit zinnia-macos-x64.zip
macOS Apple Silicon zinnia-macos-arm64.zip
Linux Intel, 64bit zinnia-linux-x64.tar.gz
Linux ARM, 64bit zinnia-linux-arm64.tar.gz

Build from source

If you have Rust tooling installed on your machine (see Install Rust), you can build & install Zinnia from the source code.

In addition to the Rust build toolchain, you also need Go installed. See Go Downloads.

On Windows, Go uses gcc to create C libraries. Go recommends installing TDM GCC.

$ cargo install zinnia

Basic use

Run a JavaScript module

zinnia run my-module.js

See Building Modules for how to write new modules for Filecoin Station.

Run a Rust module

We have decided to put Rust/WASM modules on hold for now.

Commit count: 454

cargo fmt