gate4agent-node-wire 0.4.6

Reusable local wire client, transport, and authentication primitives for gate4agent nodes
Documentation
//! Reusable local wire client and authentication primitives for Gate4Agent nodes.

mod auth;
mod call_home;
mod client;
#[cfg(feature = "mesh-underlay")]
pub mod mesh_underlay;
#[cfg(windows)]
mod windows_secure_pipe;
#[cfg(unix)]
mod unix_secure_socket;

pub use auth::{
    auth_proof, local_hmac_sha256, negotiated_auth_proof, proofs_match, random_incarnation_id,
    random_nonce, AuthDirection,
};
pub use call_home::{read_call_home_announce, write_call_home_announce, CallHomeAnnounceError};
pub use client::{
    LocalNodeClient, LocalSessionHarnessMcpClient, LocalSessionHarnessMcpError, NodeClientError,
    NodeClientStream,
};
#[cfg(windows)]
pub type NamedPipeNodeClient = LocalNodeClient;
#[cfg(windows)]
pub use windows_secure_pipe::{
    connect_local_stream, LocalClientStream, LocalServerStream, OwnerOnlyLocalListener,
};
#[cfg(unix)]
pub use unix_secure_socket::{
    connect_local_stream, LocalClientStream, LocalServerStream, OwnerOnlyLocalListener,
};