cspcl 0.5.0

Rust bindings for the cspcl library
//! Safe Rust bindings for CSPCL (CubeSat Space Protocol Convergence Layer)
//!
//! This crate provides minimal safe wrappers around the C CSPCL library,
//! enabling transmission of BP7 bundles over CSP while keeping connection
//! handling explicit for higher-level integrations.

pub use cspcl_sys;

// Module declarations
mod address;
#[cfg(feature = "async-tokio")]
pub mod async_api;
mod bundle;
mod error;
mod instance;
mod interface;
mod peer;

// Public exports
pub use address::{addr_to_endpoint, endpoint_to_addr};
pub use bundle::{ReceivedBundle, ReceivedBundleView, Receiver, Sender};
pub use error::{Error, Result};
pub use instance::{ConnectionStats, Cspcl, CspclConfig};
pub use interface::{Interface, InterfaceName};
pub use peer::RemotePeer;