Files
netdesk/native/core/src/lib.rs
T

35 lines
1.2 KiB
Rust

//! NetDesk native core — the compiled Rust engine behind the cross-platform
//! client (Windows / macOS / Linux / iOS / Android). Developed by Akronlogic.
//!
//! This crate owns everything that must be fast and portable: signaling,
//! end-to-end crypto, the media transport, and (in later phases) H.264 decode
//! and input injection. The Flutter UI calls in over the C ABI in `ffi`.
pub mod brand;
pub mod cidr;
pub mod crypto;
pub mod decode;
pub mod error;
pub mod host;
pub mod lan;
pub mod netqos;
pub mod p2p;
pub mod proto;
pub mod recorder;
pub mod rtc;
pub mod webm;
pub mod signaling;
pub mod transport;
pub mod update;
pub use error::{NdError, Result};
pub use signaling::{connect, ConnectConfig, Session, SessionEvent};
pub use p2p::{upgrade_relay, P2pControl, P2pRelay, P2pRole};
pub use transport::{Lane, Transport, TransportMsg, WebRtcChannel, WsRelay};
pub use rtc::{advertise_max_message_size, answer_offer_web, build_api_web, create_web_channels, upgrade_offerer_web, WebChannels, WebDetached};
/// Core/build version, surfaced in the UI "about" box.
pub const VERSION: &str = env!("CARGO_PKG_VERSION");
pub const BRAND: &str = "NetDesk";
pub const VENDOR: &str = "Akronlogic";