Skip to main content

result_transformer_core/
lib.rs

1//! Core trait definitions used by the `result-transformer` workspace.
2//!
3//! Depending on the enabled feature flags this crate exposes either the
4//! synchronous traits under [`sync`] or the asynchronous variants under
5//! [`async_`].  These traits on their own are lightweight and contain no
6//! additional dependencies except when the async feature is enabled.
7
8#[cfg(feature = "sync")]
9pub mod sync;
10
11#[cfg(feature = "async")]
12pub mod async_;