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 session;
16pub mod stream;
17
18pub use control::{ControlClient, ControlCrypto, ControlResponder};
19pub use device::DeviceServer;
20pub use messages::{
21    Acknowledge, CapabilitySet, ChannelFormat, ControlEnvelope, ControlOp, DeviceIdentity,
22    DiscoveryReply, DiscoveryRequest, FrameEnvelope, MessageType, SessionEstablished,
23};
24pub use profile::{CompiledStreamProfile, StreamProfile};
25pub use session::{AlnpRole, AlnpSession, JitterStrategy};
26pub use stream::{AlnpStream, FrameTransport};
27
28mod c_api;