make sure to only export conditional aliases under the same conditions where they are defined
@@ -40,19 +40,26 @@ pub mod prelude {
copy_extent, Array, Array2, Array3, ArrayN, Chunk, Chunk2, Chunk3, ChunkHashMap2,
ChunkHashMap3, ChunkIndexer, ChunkMap, ChunkMap2, ChunkMap3, ChunkMapBuilder,
ChunkMapBuilder2, ChunkMapBuilder3, ChunkReadStorage, ChunkWriteStorage, Compressed,
- CompressibleChunkMap, CompressibleChunkMap2, CompressibleChunkMap3,
- CompressibleChunkMapReader, CompressibleChunkMapReader2, CompressibleChunkMapReader3,
- CompressibleChunkStorage, CompressibleChunkStorage2, CompressibleChunkStorage3,
- CompressibleChunkStorageReader, CompressibleChunkStorageReader2,
- CompressibleChunkStorageReader3, Compression, FastArrayCompression, FastChunkCompression,
+ CompressibleChunkMap, CompressibleChunkMapReader, CompressibleChunkStorage,
+ CompressibleChunkStorageReader, Compression, FastArrayCompression, FastChunkCompression,
ForEach, ForEachMut, Get, GetMut, IsEmpty, IterChunkKeys, Local, LocalChunkCache,
- LocalChunkCache2, LocalChunkCache3, MaybeCompressedChunk2, MaybeCompressedChunk3,
- MaybeCompressedChunkRef2, MaybeCompressedChunkRef3, OctreeSet, ReadExtent,
- SerializableChunkMap, Stride, TransformMap, WriteExtent,
+ LocalChunkCache2, LocalChunkCache3, OctreeSet, ReadExtent, SerializableChunkMap, Stride,
+ TransformMap, WriteExtent,
};
#[cfg(feature = "lz4")]
pub use super::Lz4;
#[cfg(feature = "snap")]
pub use super::Snappy;
+
+ #[cfg(any(
+ all(feature = "lz4", not(feature = "snap")),
+ all(not(feature = "lz4"), feature = "snap"),
+ ))]
+ pub use super::{
+ CompressibleChunkMap2, CompressibleChunkMap3, CompressibleChunkMapReader2,
+ CompressibleChunkMapReader3, CompressibleChunkStorage2, CompressibleChunkStorage3,
+ CompressibleChunkStorageReader2, CompressibleChunkStorageReader3, MaybeCompressedChunk2,
+ MaybeCompressedChunk3, MaybeCompressedChunkRef2, MaybeCompressedChunkRef3,
+ };
}
