v0.1.0-pre.055
This commit is contained in:
11
kb-pipeline-demo-scenarios/src/environment.rs
Normal file
11
kb-pipeline-demo-scenarios/src/environment.rs
Normal file
@@ -0,0 +1,11 @@
|
||||
// file: kb-pipeline-demo-scenarios/src/environment.rs
|
||||
// version: 1
|
||||
|
||||
//! Environment initialization for opt-in demonstration scenarios.
|
||||
|
||||
/// Loads the workspace `.env` selected by `kb-config`.
|
||||
pub fn initialize_demo_scenario_environment(
|
||||
workspace_root: &std::path::Path,
|
||||
) -> kb_core::Result<kb_config::EnvironmentLoadReport> {
|
||||
return kb_config::load_workspace_environment(workspace_root);
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
// file: kb-pipeline-demo-scenarios/src/lib.rs
|
||||
// version: 1
|
||||
// version: 2
|
||||
|
||||
#![forbid(unsafe_code)]
|
||||
#![deny(unreachable_pub)]
|
||||
@@ -8,6 +8,7 @@
|
||||
//! Reusable demonstration and Devnet validation scenarios built on `kb-pipeline`.
|
||||
|
||||
mod constants;
|
||||
mod environment;
|
||||
mod solana_ata_execution;
|
||||
mod solana_execution;
|
||||
mod solana_memo_execution;
|
||||
@@ -17,6 +18,8 @@ mod solana_token2022_validation;
|
||||
mod solana_token_execution;
|
||||
mod solana_token_lifecycle;
|
||||
|
||||
/// Loads the workspace environment for opt-in demo and Devnet scenarios.
|
||||
pub use self::environment::initialize_demo_scenario_environment;
|
||||
/// Complete request for one Devnet Associated Token Account execution.
|
||||
pub use self::solana_ata_execution::DevnetSplAssociatedTokenAccountExecutionRequest;
|
||||
/// Complete result of one Devnet Associated Token Account execution.
|
||||
|
||||
Reference in New Issue
Block a user