inkmate 0.0.6

Building block smart contracts written in Rust for Stylus
Documentation
//! Building block contracts for Stylus

// Conditional compilation attributes for no_std compatibility and ABI export features
#![cfg_attr(not(feature = "export-abi"), no_main, no_std)]
extern crate alloc;

// Custom global allocator for the wasm32 target
#[cfg(target_arch = "wasm32")]
#[global_allocator]
static ALLOC: mini_alloc::MiniAlloc = mini_alloc::MiniAlloc::INIT;

// Common utility contracts from the workspace
extern crate inkmate_common;

// Conditional compilation of the ERC20 token module
#[cfg(any(feature = "erc20", feature = "erc721"))]
pub mod tokens;

// Utility functions and helpers used across the library
mod utils;