spl_simplified/lib.rs
1/// SPL Token Helper Crate Modules
2///
3/// This crate provides various modules to simplify working with SPL tokens on the Solana blockchain.
4/// Each module is enabled through feature flags, allowing developers to include only the necessary components
5/// in their projects. Below are the available modules and their functionalities:
6
7#[cfg(feature = "associated_token")]
8/// Associated Token Module
9///
10/// This module provides functions and utilities for creating and managing associated token accounts.
11/// It simplifies the process of handling token accounts for users by automating account creation
12/// and management when interacting with SPL tokens.
13pub mod associated_token;
14
15#[cfg(feature = "metadata")]
16/// Metadata Module
17///
18/// This module offers functionalities for handling token metadata using the `mpl_token_metadata` program.
19/// It includes functions for creating and updating token metadata, which is essential for defining
20/// the properties of SPL tokens such as name, symbol, and URI.
21pub mod metadata;
22
23#[cfg(feature = "token")]
24/// Token Module
25///
26/// This module encapsulates the core SPL token functionalities, including token minting,
27/// transferring, and burning operations. It provides a simplified interface for developers
28/// to interact with SPL tokens on the Solana blockchain.
29pub mod token;
30
31#[cfg(feature = "simplespl")]
32/// Simple SPL Module
33///
34/// This module provides simple and user-friendly functions for creating and managing SPL tokens
35/// with minimal setup. It is designed for developers who want to quickly deploy SPL tokens
36/// without dealing with the complexities of the underlying SPL token program directly.
37pub mod simplespl;