arch-token-metadata-elf 0.1.0

Prebuilt ELF binary for the Arch Token Metadata program
Documentation
  • Coverage
  • 0%
    0 out of 2 items documented0 out of 0 items with examples
  • Size
  • Source code size: 186.57 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 8.19 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 14s Average build duration of successful builds.
  • all releases: 33s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • levicook/arch-token-metadata
    1 1 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • levicook

arch_token_metadata_elf

Prebuilt ELF binary for the Arch Token Metadata on-chain program.

  • This crate embeds the compiled program binary at compile time using include_bytes!.
  • The build script prefers a packaged elf/arch_token_metadata.so (included in the crate), and falls back to a workspace-built artifact during local development.

Usage:

use arch_token_metadata_elf::ARCH_TOKEN_METADATA_ELF;

// ARCH_TOKEN_METADATA_ELF is a `&'static [u8]` of the ELF contents
let bytes: &[u8] = ARCH_TOKEN_METADATA_ELF;

Publishing notes:

  • Ensure elf/arch_token_metadata.so exists before publishing. In this workspace, build the program with: cargo build-sbf --manifest-path programs/arch-token-metadata/Cargo.toml and copy the output to sdks/arch-token-metadata-elf/elf/arch_token_metadata.so.