We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea61aff commit d7eae73Copy full SHA for d7eae73
src/lib.rs
@@ -35,14 +35,17 @@ pub use selection::*;
35
pub use selector::*;
36
pub use signer::*;
37
38
+#[cfg(feature = "std")]
39
pub(crate) mod collections {
40
#![allow(unused)]
-
41
- #[cfg(feature = "std")]
42
pub use std::collections::*;
+}
43
44
- #[cfg(not(feature = "std"))]
+#[cfg(not(feature = "std"))]
45
+pub(crate) mod collections {
46
+ #![allow(unused)]
47
pub type HashMap<K, V> = alloc::collections::BTreeMap<K, V>;
48
+ pub type HashSet<T> = alloc::collections::BTreeSet<T>;
49
pub use alloc::collections::*;
50
}
51
0 commit comments