switchboard-on-demand 0.7.0

A Rust library to interact with the Switchboard Solana program.
Documentation
//! Oracle quote verification and data extraction
//!
//! This module provides functionality for verifying and extracting data from oracle quotes
//! that have been cryptographically signed by multiple oracles. The main components are:
//!
//! - [`OracleQuote`] - A verified quote containing oracle feed data
//! - [`QuoteVerifier`] - Builder pattern for configuring and performing verification
//! - [`PackedFeedInfo`] and [`PackedQuoteHeader`] - Zero-copy data structures for efficient access
//!
//! # Usage
//!
//! ```rust,ignore
//! use switchboard_on_demand::prelude::*;
//!
//! // Configure the verifier with required accounts
//! let mut verifier = QuoteVerifier::new();
//! verifier
//!     .queue(&queue_account)
//!     .slothash_sysvar(&slothash_sysvar)
//!     .ix_sysvar(&instructions_sysvar)
//!     .clock(&clock_sysvar)
//!     .max_age(150);
//!
//! // Load and verify the oracle quote
//! let quote = verifier.load_and_verify(0)?;
//!
//! // Access feed data
//! for feed in quote.feeds() {
//!     println!("Feed {}: {}", feed.hex_id(), feed.value());
//! }
//! ```

pub mod feed_info;
pub use feed_info::*;
pub mod oracle_quote;
pub use oracle_quote::*;
pub mod quote_verifier;
pub use quote_verifier::*;
#[cfg(feature = "anchor")]
/// Oracle quote account utilities for Anchor integration
pub mod quote_account;