extern crate self as ftnet_utils;
pub mod get_endpoint;
mod get_stream;
pub mod http;
mod http_connection_manager;
mod http_to_peer;
mod peer_to_http;
mod peer_to_tcp;
pub mod protocol;
mod secret;
mod utils;
#[cfg(feature = "keyring")]
pub use secret::KeyringSecretStore;
pub use get_endpoint::get_endpoint;
pub use get_stream::{PeerStreamSenders, get_stream};
pub use http::ProxyResult;
pub use http_connection_manager::{HttpConnectionManager, HttpConnectionPool, HttpConnectionPools};
pub use http_to_peer::http_to_peer;
pub use peer_to_http::peer_to_http;
pub use peer_to_tcp::peer_to_tcp;
pub use protocol::{APNS_IDENTITY, Protocol};
pub use secret::{SecretStore, read_or_create_key};
pub use utils::{
FrameReader, accept_bi, frame_reader, get_remote_id52, id52_to_public_key, public_key_to_id52,
};
pub type IDMap = std::sync::Arc<tokio::sync::Mutex<Vec<(String, (u16, iroh::endpoint::Endpoint))>>>;
const ACK: &str = "ack";