This commit is contained in:
2026-07-23 16:37:12 +02:00
parent 99c345f2f2
commit 0da75c1311
2159 changed files with 230833 additions and 0 deletions

22
kb-program-ids/src/lib.rs Normal file
View File

@@ -0,0 +1,22 @@
// file: kb-program-ids/src/lib.rs
// version: 1
#![forbid(unsafe_code)]
#![deny(unreachable_pub)]
#![warn(missing_docs)]
//! Program identifier registry.
/// One program identifier entry.
#[derive(Clone, Debug, Eq, PartialEq)]
pub struct ProgramIdEntry {
/// Stable symbolic name.
pub name: &'static str,
/// Base58 program identifier.
pub address: &'static str,
}
/// Returns the initial canonical program registry.
pub fn entries() -> &'static [crate::ProgramIdEntry] {
return &[];
}