pyo3 0.30.1

Bindings to Python interpreter
Documentation
//! This module is to support platform compatibility with `no_std` environments.
#![allow(unused_imports)]
#![doc(hidden)]

/// This prelude is intended to be used instead of the prelude from `std`.
pub(crate) mod prelude {
    pub use alloc::{
        borrow::ToOwned,
        boxed::Box,
        string::{String, ToString},
        vec::Vec,
    };
}

pub mod sync;

pub mod collections {
    #[cfg(feature = "hashbrown")]
    pub use hashbrown::{HashMap, HashSet};

    #[cfg(all(not(feature = "hashbrown"), wip_feature_std))]
    pub use std::collections::{HashMap, HashSet};

    #[cfg(all(not(feature = "hashbrown"), not(wip_feature_std)))]
    compile_error!("Please enable at least one of the following features: hashbrown, std");
}

pub mod thread;

#[cfg(wip_feature_std)]
pub use std::thread_local;

#[cfg(not(wip_feature_std))]
pub use crate::thread_local;