nvec 0.10.0

N-vectors and N-strings.
Documentation
// Copyright 2025-2026 Gabriel Bjørnager Jensen.
//
// SPDX: MIT OR Apache-2.0

//! N-vectors.

#![no_std]

#![cfg_attr(feature = "unstable_docs", allow(internal_features))]

#![cfg_attr(feature = "unstable_docs", feature(doc_cfg))]

extern crate self as nvec;

#[cfg(feature = "alloc")]
extern crate alloc;

#[cfg(feature = "std")]
extern crate std;

pub mod n_vec;
pub mod n_string;
pub mod prelude;

#[doc(inline)]
pub use n_string::NString;

#[doc(inline)]
pub use n_vec::NVec;

/// Hints that code paths calling this function are
/// "cold."
#[inline(never)]
#[cold]
const fn cold_path() {}

//           ############
//         ##############
//         ################
//         ##############
//           ############
//             ######
//             ######
//           ##########
//       ##################
//   ############################
// ################################
// ######################    ######
// ####################        ####
// ####################        ####
// ######################    ######
// ################################