heim_runtime/lib.rs
1//! This crate is a shim around various async runtimes with a fallback to sync operations.
2//!
3//! ## Why?
4//!
5//! It might be expected that an async library should be a runtime-agnostic thing,
6//! but due to current ecosystem state it is not possible yet;
7//! for example there is no async files I/O abstraction.
8//!
9//! Until then, this crate will provide the wrappers around the various reactors, if possible,
10//! and end users may choose the implementation, which is compatible with their reactor.
11//!
12//! See also: https://github.com/heim-rs/heim/issues/75
13
14#![doc(html_root_url = "https://docs.rs/heim-runtime/0.0.7")]
15#![deny(
16 unused,
17 unused_imports,
18 unused_features,
19 bare_trait_objects,
20 future_incompatible,
21 missing_debug_implementations,
22 missing_docs,
23 nonstandard_style,
24 dead_code,
25 deprecated
26)]
27#![warn(
28 trivial_casts,
29 trivial_numeric_casts,
30 unused_extern_crates,
31 unused_import_braces,
32 unused_results
33)]
34
35mod shims;
36
37pub mod fs;