v0.1.1-pre.002
This commit is contained in:
@@ -1,7 +1,18 @@
|
||||
// file: crates/ksp-core-lib/src/lib.rs
|
||||
// version: 3
|
||||
// version: 4
|
||||
#![warn(missing_docs)]
|
||||
#![deny(unreachable_pub)]
|
||||
#![forbid(unsafe_code)]
|
||||
|
||||
//! Minimal core-library skeleton for the KSP foundation phase.
|
||||
//! Core contracts shared by the foundational KSP layers.
|
||||
|
||||
mod error;
|
||||
|
||||
/// Common KSP error type used by higher-level crates.
|
||||
pub use self::error::Error;
|
||||
/// Stable structured code identifying a KSP error category and condition.
|
||||
pub use self::error::ErrorCode;
|
||||
/// Structured contextual field attached to a KSP error.
|
||||
pub use self::error::ErrorContext;
|
||||
/// Common KSP result alias using [`Error`].
|
||||
pub use self::error::Result;
|
||||
|
||||
Reference in New Issue
Block a user