v0.2.14-pre.003
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
// file: crates/ksp-program-api/src/lib.rs
|
||||
// version: 1
|
||||
// version: 2
|
||||
|
||||
#![warn(missing_docs)]
|
||||
#![deny(unreachable_pub)]
|
||||
@@ -7,11 +7,17 @@
|
||||
|
||||
//! Open Program contracts shared by KSP and external Program implementations.
|
||||
//!
|
||||
//! This initial scaffold exposes only the Core and Interface types selected by
|
||||
//! the `0.2.14` API model. Decoder behavior, recognition, decode outcomes,
|
||||
//! registries, codecs, runtime logging and execution preparation are added only
|
||||
//! by later contracts when their ownership is justified.
|
||||
//! The foundation exposes Core/Interface types plus the minimal instruction
|
||||
//! recognition and decode-outcome vocabulary. Decoder behavior, registries,
|
||||
//! codecs, runtime logging and execution preparation are added only by later
|
||||
//! contracts when their ownership is justified.
|
||||
|
||||
mod program_instruction_decode;
|
||||
|
||||
/// Result of a successful Program instruction decode attempt.
|
||||
pub use self::program_instruction_decode::ProgramInstructionDecodeOutcome;
|
||||
/// Recognition strength reported by one Program instruction implementation.
|
||||
pub use self::program_instruction_decode::ProgramInstructionRecognition;
|
||||
/// Common KSP error type used by Program-facing contracts.
|
||||
pub use ksp_core_lib::Error;
|
||||
/// Stable structured code identifying a KSP error category and condition.
|
||||
|
||||
Reference in New Issue
Block a user