#![cfg_attr(test, allow(clippy::unwrap_used, clippy::expect_used))]
pub mod analyze;
pub mod error;
pub mod framing;
pub mod index;
pub mod io;
pub mod json_validate;
#[cfg(feature = "parquet")]
pub mod parquet_input;
pub mod pipeline;
pub mod sampling;
pub mod seed;
#[cfg(feature = "serve")]
pub mod serve;
pub use error::{Error, Result};
pub use framing::{OnError, Stats};
pub use index::{Fingerprint, IndexFile};
pub use sampling::SamplingReader;
pub use seed::Seed;
pub fn physical_cores() -> usize {
num_cpus::get_physical().max(1)
}