1 #![deprecated(note = "Only for internal testing. Do not use")]
2 #![allow(deprecated)] // We need to allow ourselves the stuff we deprecate here.
3 //! Some strategies for internal testing.
4 //!
5 //! # Warning
6 //!
7 //! They come with no guarantees of correctness, stability, performance or anything at all. *DO NOT
8 //! USE*.
9 
10 use super::hybrid::{Config, HybridStrategy};
11 
12 /// Config for no fast slots.
13 #[derive(Clone, Copy, Default)]
14 pub struct NoFastSlots;
15 
16 impl Config for NoFastSlots {
17     const USE_FAST: bool = false;
18 }
19 
20 /// A strategy that fills the slots with some crap to make sure we test the fallbacks too.
21 #[deprecated(note = "Only for internal testing. Do not use")]
22 pub type FillFastSlots = HybridStrategy<NoFastSlots>;
23