#![forbid(unsafe_code)]
#![deny(missing_docs)]
#![allow(rustdoc::all)]
#![allow(unknown_lints)]
#![allow(
effect_success_should_be_fn_type_param,
effect_no_effect_suffix_on_graph_builder,
effect_run_blocking_outside_boundary,
effect_run_async_outside_boundary,
effect_prefer_from_async_over_new_async,
effect_from_async_single_await,
effect_effect_generics_need_bounds,
effect_multiple_top_level_effect_macros,
effect_returning_effect_should_use_effect_macro,
effect_no_async_fn_application,
clippy::doc_overindented_list_items,
clippy::should_implement_trait,
clippy::type_complexity,
clippy::unnecessary_lazy_evaluations
)]
#![cfg_attr(
test,
allow(
clippy::bool_assert_comparison,
clippy::clone_on_copy,
clippy::empty_line_after_doc_comments,
clippy::let_unit_value,
clippy::map_identity,
clippy::redundant_closure,
clippy::unit_arg,
clippy::unit_cmp,
)
)]
extern crate self as id_effect;
#[cfg(doctest)]
#[doc = include_str!("../README.md")]
struct ReadmeDoctests;
#[cfg(doctest)]
#[doc = include_str!("../book/src/appendix-e-idiom-guide.md")]
struct BookIdiomGuideDoctests;
#[cfg(doctest)]
#[doc = include_str!("../book/src/part4/ch15-05-interleavings.md")]
struct BookInterleavingsDoctests;
pub use id_effect_macro::{err, pipe};
pub use id_effect_proc_macro::{
EffectData, Optics, ProviderSpec as ProviderSpecDerive, Schema, caps, effect, effect_local,
effect_tagged, match_effect,
};
pub mod capability;
pub mod compute;
pub mod concurrency;
pub mod coordination;
pub mod kernel;
pub mod layer;
pub mod observability;
pub mod par;
pub mod race;
pub mod random;
pub mod request;
pub mod resource;
pub mod runtime;
pub mod scheduling;
pub mod scope;
pub mod streaming;
pub mod testing;
pub use capability::*;
pub use compute::*;
pub use concurrency::*;
pub use coordination::*;
pub use kernel::*;
pub use layer::*;
pub use observability::*;
pub use par::*;
pub use race::*;
pub use random::*;
pub use request::*;
pub use resource::*;
pub use runtime::*;
pub use scheduling::*;
pub use scope::*;
pub use streaming::*;
pub use testing::*;
#[doc(hidden)]
pub use kernel::macro_support as __private;
pub mod failure;
pub mod foundation;
pub mod macros;
pub mod match_;
#[cfg(feature = "compute")]
pub mod parallelism;
pub mod schema;
pub use crate::match_::{HasTag, Matcher};
pub use failure::{Cause, Defect, Exit, FiberId, Never, Or};
#[doc(inline)]
pub use foundation::either::Either;
pub use foundation::func::{always, compose, identity};
pub use foundation::piping::Pipe;
pub use foundation::predicate::Predicate;
pub use schema::brand::Brand;
pub use schema::data::{DataError, DataStruct, DataTuple, EffectData as EffectDataTrait};
pub use schema::equal::{EffectHash, Equal};
pub use schema::order::{DynOrder, Ordering, ordering};
pub use schema::{HasSchema, ParseError, ParseErrors, Redacted, Schema, Unknown};