diskann_disk/utils/aligned_file_reader/
mod.rs1pub mod traits;
7
8mod aligned_read;
9pub use aligned_read::AlignedRead;
10
11cfg_if::cfg_if! {
12 if #[cfg(all(not(miri), target_os = "linux"))] {
13 pub mod linux_aligned_file_reader;
14 pub use linux_aligned_file_reader::LinuxAlignedFileReader;
15 } else if #[cfg(all(not(miri), target_os = "windows"))] {
16 #[allow(clippy::module_inception)]
17 pub mod windows_aligned_file_reader;
18 pub use windows_aligned_file_reader::WindowsAlignedFileReader;
19 }
20
21}
22
23cfg_if::cfg_if! {
24 if #[cfg(any(feature = "virtual_storage", test))] {
25 pub mod virtual_aligned_reader_factory;
26 pub use virtual_aligned_reader_factory::VirtualAlignedReaderFactory;
27 }
28}
29
30pub mod storage_provider_aligned_file_reader;
31pub use storage_provider_aligned_file_reader::StorageProviderAlignedFileReader;
32
33pub mod aligned_file_reader_factory;
34pub use aligned_file_reader_factory::AlignedFileReaderFactory;