alpine/
lib.rs

1//! Authenticated Lighting Network Protocol (ALPINE) reference implementation (v1.0).
2//!
3//! Implements discovery, handshake, control, and streaming layers as defined in the
4//! specification documents. All messages are encoded using CBOR and cryptographically
5//! authenticated with Ed25519 + X25519 + HKDF + ChaCha20-Poly1305.
6
7pub mod control;
8pub mod crypto;
9pub mod device;
10pub mod discovery;
11pub mod e2e_common;
12pub mod handshake;
13pub mod messages;
14pub mod profile;
15pub mod sdk;
16pub mod session;
17pub mod stream;
18
19pub use control::{ControlClient, ControlCrypto, ControlResponder};
20pub use device::DeviceServer;
21pub use messages::{
22    Acknowledge, CapabilitySet, ChannelFormat, ControlEnvelope, ControlOp, DeviceIdentity,
23    DiscoveryReply, DiscoveryRequest, FrameEnvelope, MessageType, SessionEstablished,
24};
25pub use profile::{CompiledStreamProfile, StreamProfile};
26pub use sdk::AlpineClient;
27pub use session::{AlnpRole, AlnpSession, JitterStrategy};
28pub use stream::{AlnpStream, FrameTransport};