1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
// Copyright (c) 2019-2026, Argenox Technologies LLC
// All rights reserved.
//
// SPDX-License-Identifier: GPL-2.0-only OR LicenseRef-Argenox-Commercial-License
//
// This file is part of the NoxTLS Library.
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by the
// Free Software Foundation; version 2 of the License.
//
// Alternatively, this file may be used under the terms of a commercial
// license from Argenox Technologies LLC.
//
// See `noxtls/LICENSE` and `noxtls/LICENSE.md` in this repository for full details.
// CONTACT: info@argenox.com
//! Re-exports heap types for `no_std` + `alloc` builds.
//!
//! When `std` is enabled, the same names resolve to the standard library `String` and `Vec` types so
//! call sites in `noxtls-pem` stay identical across feature sets.
/// Borrowed-to-owned conversion trait from the `alloc` crate (re-exported for `no_std` builds).
pub use ToOwned;
/// Growable UTF-8 string type from `alloc` (re-exported for `no_std` builds).
pub use String;
/// Growable byte vector type from `alloc` (re-exported for `no_std` builds).
pub use Vec;
/// Growable UTF-8 string type from the standard library when `std` is enabled.
pub use String;
/// Growable byte vector type from the standard library when `std` is enabled.
pub use Vec;