1#[cfg(feature = "test-support")]
2pub type HashMap<K, V> = FxHashMap<K, V>;
3
4#[cfg(feature = "test-support")]
5pub type HashSet<T> = FxHashSet<T>;
6
7#[cfg(not(feature = "test-support"))]
8pub type HashMap<K, V> = std::collections::HashMap<K, V>;
9
10#[cfg(not(feature = "test-support"))]
11pub type HashSet<T> = std::collections::HashSet<T>;
12
13pub use rustc_hash::{FxHashMap, FxHashSet};
14use std::any::TypeId;
15pub use std::collections::*;
16
17// NEW TYPES
18
19#[derive(Default)]
20pub struct CommandPaletteFilter {
21 pub hidden_namespaces: HashSet<&'static str>,
22 pub hidden_action_types: HashSet<TypeId>,
23}