noxtls_io/lib.rs
1// Copyright (c) 2019-2026, Argenox Technologies LLC
2// All rights reserved.
3//
4// SPDX-License-Identifier: GPL-2.0-only OR LicenseRef-Argenox-Commercial-License
5//
6// This file is part of the NoxTLS Library.
7//
8// This program is free software: you can redistribute it and/or modify
9// it under the terms of the GNU General Public License as published by the
10// Free Software Foundation; version 2 of the License.
11//
12// Alternatively, this file may be used under the terms of a commercial
13// license from Argenox Technologies LLC.
14//
15// See `noxtls/LICENSE` and `noxtls/LICENSE.md` in this repository for full details.
16// CONTACT: info@argenox.com
17
18#![cfg_attr(not(feature = "std"), no_std)]
19#![forbid(unsafe_code)]
20
21//! Blocking and async byte transport adapters for moving TLS records on the wire.
22//!
23//! The [`transport`] module exposes [`transport::blocking::BlockingStream`] and, when async adapter features are
24//! enabled, async stream traits plus optional Tokio and `embedded-io` shims.
25
26#[cfg(not(feature = "std"))]
27extern crate alloc;
28
29mod internal_alloc;
30
31pub mod transport;