JunoBuild-Satellite
junobuild-satellite is a Rust crate that extends the functionality of Juno satellites. This library is intended for developers looking to enhance the capabilities of Juno.
Getting Started
To include junobuild-satellite in your Rust project, add it as a dependency in your Cargo.toml:
[]
= "*"
Replace "*" with the specific version you want to use, or omit the version to always use the latest version.
Usage
The primary feature of junobuild-satellite is the include_satellite! macro. It allows you to include all the stock satellite features required for a Juno satellite to work efficiently.
Example usage:
use include_satellite;
include_satellite!;
By using the include_satellite! macro, you can effortlessly integrate all the necessary features into your satellite project.
Features
- on_set_doc: Enables the
on_set_docfeature. - on_set_many_docs: Enables the
on_set_many_docsfeature. - on_delete_doc: Enables the
on_delete_docfeature. - on_delete_many_docs: Enables the
on_delete_many_docsfeature. - on_delete_filtered_docs: Enables the
on_delete_filtered_docsfeature. - on_upload_asset: Enables the
on_upload_assetfeature. - on_delete_asset: Enables the
on_delete_assetfeature. - on_delete_many_assets: Enables the
on_delete_many_assetsfeature. - on_delete_filtered_assets: Enables the
on_delete_filtered_assetsfeature. - on_init: Enables the
on_initfeature. - on_post_upgrade: Enables the
on_post_upgradefeature. - assert_set_doc: Enables the
assert_set_docfeature. - assert_delete_doc: Enables the
assert_delete_docfeature. - assert_upload_asset: Enables the
assert_upload_assetfeature. - assert_delete_asset: Enables the
assert_delete_assetfeature.
These features are enabled by default and do not have additional dependencies.
Links & Resources
Here are some useful links:
- Looking to get started? Check out the documentation.
- Have a look at the LICENSE for information about licensing and limitation.
- Have questions, comments or feedback? Join our Discord or OpenChat.