15 releases

0.0.20 Aug 24, 2024
0.0.20-patch.1 Sep 1, 2024
0.0.19 Aug 4, 2024
0.0.18 Jun 27, 2024
0.0.15 Feb 4, 2024

#801 in Magic Beans

Download history 19/week @ 2024-05-11 9/week @ 2024-05-18 1/week @ 2024-05-25 4/week @ 2024-06-01 5/week @ 2024-06-08 6/week @ 2024-06-15 98/week @ 2024-06-22 65/week @ 2024-06-29 1/week @ 2024-07-06 141/week @ 2024-07-13 3/week @ 2024-07-20 124/week @ 2024-07-27 109/week @ 2024-08-03 7/week @ 2024-08-10 80/week @ 2024-08-17 142/week @ 2024-08-24

349 downloads per month

Custom license

355KB
7.5K SLoC

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:

[dependencies]
junobuild-satellite = "*"

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 junobuild_satellite::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_doc feature.
  • on_set_many_docs: Enables the on_set_many_docs feature.
  • on_delete_doc: Enables the on_delete_doc feature.
  • on_delete_many_docs: Enables the on_delete_many_docs feature.
  • on_upload_asset: Enables the on_upload_asset feature.
  • on_delete_asset: Enables the on_delete_asset feature.
  • on_delete_many_assets: Enables the on_delete_many_assets feature.
  • assert_set_doc: Enables the assert_set_doc feature.
  • assert_delete_doc: Enables the assert_delete_doc feature.
  • assert_upload_asset: Enables the assert_upload_asset feature.
  • assert_delete_asset: Enables the assert_delete_asset feature.

These features are enabled by default and do not have additional dependencies.

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.

Dependencies

~13–24MB
~375K SLoC