v0.1.0-pre.012

This commit is contained in:
2026-07-24 15:59:00 +02:00
parent 60660ca555
commit e753a80c3a
179 changed files with 5653 additions and 10813 deletions

View File

@@ -1,10 +1,39 @@
// file: kb-lib/src/decoder/launchpad/boop_fun.rs
// version: 2
// version: 3
//! Migration boundary for legacy crate `kb_decoder_launchpad_boop_fun`.
//! Reserved protocol decoder for `launchpad_boop_fun`.
/// Legacy crate name retained for migration and compatibility tracking.
pub(crate) const DC_LAUNCHPAD_BOOP_FUN_LEGACY_CRATE: &str = "kb_decoder_launchpad_boop_fun";
/// Reserved decoder for the `launchpad_boop_fun` program surface.
#[derive(Clone, Debug, Default)]
pub struct DcLaunchpadBoopFunDecoder;
/// Current porting status.
pub(crate) const DC_LAUNCHPAD_BOOP_FUN_MIGRATION_STATUS: &str = "source-preserved-pending-port";
impl crate::DcApiProtocolDecoder for crate::DcLaunchpadBoopFunDecoder {
fn decoder_name(&self) -> &'static str {
return "kb_decoder_launchpad_boop_fun";
}
fn decoder_version(&self) -> &'static str {
return env!("CARGO_PKG_VERSION");
}
fn program_ids(&self) -> &'static [&'static str] {
return &[kb_program_ids::LAUNCHPAD_BOOP_FUN_PROGRAM_ID];
}
fn supports_observation(
&self,
observation: &crate::MdProgramObservation,
) -> crate::DcApiDecoderSupport {
if crate::DcApiProtocolDecoder::handles_program_id(self, &observation.program_id) {
return crate::DcApiDecoderSupport::Maybe;
}
return crate::DcApiDecoderSupport::No;
}
fn decode_observation(
&self,
_observation: &crate::MdProgramObservation,
) -> kb_core::Result<std::vec::Vec<crate::MdDecodedProtocolEvent>> {
return std::result::Result::Ok(std::vec::Vec::new());
}
}