Comment on page
Substreams Rust APIs
Note: If a crate is not available for Substreams, you can use the
spkgrelease for the chain, which includes the
Blockprotobuf model, and generate the Rust structs yourself.
Any third-party library capable of compiling
wasm32can be used for execution in Substreams services.
Some libraries include kernel syscalls or other operations unavailable in the Substreams execution environment and cannot be compiled to WASM. The internal functionality of third-party libraries is an essential consideration for Substreams development.
Helpful information people found through the use of third-party libraries and Substreams together include: