Crates.io | junobuild-satellite |
lib.rs | junobuild-satellite |
version | |
source | src |
created_at | 2024-02-04 17:55:13.903225 |
updated_at | 2024-12-01 13:51:58.546509 |
description | Extend Juno satellite functionality. |
homepage | https://juno.build |
repository | https://github.com/junobuild/juno |
max_upload_size | |
id | 1126540 |
Cargo.toml error: | TOML parse error at line 18, column 1 | 18 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
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.
To include junobuild-satellite
in your Rust project, add it as a dependency in your Cargo.toml
:
[dependencies]
junobuild-satellite = "*"
Replace "*"
with the specific version you want to use, or omit the version to always use the latest version.
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 junobuild_satellite::include_satellite;
include_satellite!();
By using the include_satellite!
macro, you can effortlessly integrate all the necessary features into your satellite project.
on_set_doc
feature.on_set_many_docs
feature.on_delete_doc
feature.on_delete_many_docs
feature.on_delete_filtered_docs
feature.on_upload_asset
feature.on_delete_asset
feature.on_delete_many_assets
feature.on_delete_filtered_assets
feature.on_init
feature.on_post_upgrade
feature.assert_set_doc
feature.assert_delete_doc
feature.assert_upload_asset
feature.assert_delete_asset
feature.These features are enabled by default and do not have additional dependencies.
Here are some useful links: