Zinnia is a runtime for Filecoin Station modules. This crate provides the actual
zinnia
executable.
To install Zinnia, you need to have Rust tooling installed on your machine. See Install Rust.
You also need the Protocol Buffers compiler, protoc
. See
Protocol Buffer Compiler Installation
Then you can install Zinnia using cargo
:
sh
$ cargo install zinnia
This will build Zinnia and all its dependencies from source, which can take a while. In the future, we want to simplify the installation process, see #23.
zinnia run my-module.js
See Building Modules for how to write new modules for Filecoin Station.
We have decided to put Rust/WASM modules on hold for now.