1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#![doc = include_str!("../README.md")]
// required for above example, showing main isn't needless, it shows the context of where this will
// (almost) always be called from
#![allow(clippy::needless_doctest_main)]
#![warn(clippy::all)]

#[cfg(feature = "async")]
mod r#async;
#[cfg(feature = "blocking")]
/// Blocking variants of this crates APIs.
pub mod blocking;
mod common;

#[cfg(feature = "async")]
pub use common::ingest::ModalityIngestTaskHandle;

pub use common::ingest::TimelineId;
pub use common::options::Options;
pub use common::*;

#[cfg(feature = "async")]
pub use r#async::{ModalityLayer, TracingModality};