pyo3/platform.rs
1//! This module is to support platform compatiblity with `no_std` environments.
2#![allow(unused_imports)]
3
4#[cfg(feature = "hashbrown")]
5pub use hashbrown::{HashMap, HashSet};
6
7// TODO conditionally import these based on "std" feature
8#[cfg(not(feature = "hashbrown"))]
9pub use std::collections::{HashMap, HashSet};