borer_core/lib.rs
1#![doc = include_str!("../README.md")]
2
3#[macro_use]
4extern crate log;
5
6/// Dialers and transport-specific outbound connection builders.
7pub mod dial;
8/// Masquerade response handling for non-proxy traffic.
9pub mod masquerade;
10/// Protocol parsers and serializers used by the proxy core.
11pub mod proto;
12/// HTTP and SOCKS proxy connection handling.
13pub mod proxy;
14/// Proxy list management for routing decisions (domains and IPs).
15pub mod proxy_list;
16#[cfg(feature = "stats")]
17/// Optional statistics HTTP server.
18pub mod stats_server;
19/// Shared in-memory traffic and connection store.
20pub mod store;
21/// Stream wrappers and transport adapters.
22pub mod stream;
23/// TLS utilities used by the transport implementations.
24pub mod tls;
25/// Trojan protocol server-side connection handling.
26pub mod trojan;
27
28/// Re-export of the SOCKS/Trojan address type used across the crate.
29pub use socks5_proto::Address;
30
31pub(crate) const CRLF: [u8; 2] = [0x0d, 0x0a];