28 releases

new 0.1.0 Apr 19, 2025
0.0.22 Feb 14, 2025
0.0.22-patch.7 Apr 18, 2025
0.0.22-patch.6 Mar 28, 2025
0.0.16 Mar 29, 2024

#134 in Magic Beans

Download history 108/week @ 2025-01-04 93/week @ 2025-01-11 3/week @ 2025-02-01 70/week @ 2025-02-08 76/week @ 2025-02-15 50/week @ 2025-02-22 646/week @ 2025-03-01 34/week @ 2025-03-08 5/week @ 2025-03-15 57/week @ 2025-03-22 58/week @ 2025-03-29 4/week @ 2025-04-05

124 downloads per month

Custom license

430KB
9K 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_delete_filtered_docs: Enables the on_delete_filtered_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.
  • on_delete_filtered_assets: Enables the on_delete_filtered_assets feature.
  • on_init: Enables the on_init feature.
  • on_post_upgrade: Enables the on_post_upgrade 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

~12–22MB
~323K SLoC