#![cfg_attr(not(any(feature = "tokio", feature = "smol")), no_std)]
#![doc(
html_logo_url = "https://raw.githubusercontent.com/z-galaxy/zlink/3660d731d7de8f60c8d82e122b3ece15617185e4/data/logo.png"
)]
#![deny(
missing_debug_implementations,
nonstandard_style,
rust_2018_idioms,
missing_docs
)]
#![warn(unreachable_pub)]
#![cfg_attr(feature = "tokio", doc = include_str!("../README.md"))]
# API. See the \
[project README](https://github.com/z-galaxy/zlink) for an overview and examples."
)]
#[cfg(not(any(feature = "tokio", feature = "smol")))]
compile_error!("At least one runtime feature must be enabled: 'tokio' or 'smol'");
#[cfg(all(doctest, feature = "tokio"))]
mod doctests {
doc_comment::doctest!("../../book/src/introduction.md");
doc_comment::doctest!("../../book/src/concepts.md");
doc_comment::doctest!("../../book/src/connection.md");
#[cfg(feature = "proxy")]
doc_comment::doctest!("../../book/src/client.md");
#[cfg(feature = "service")]
doc_comment::doctest!("../../book/src/service.md");
#[cfg(feature = "proxy")]
doc_comment::doctest!("../../book/src/pipelining.md");
doc_comment::doctest!("../../book/src/design.md");
doc_comment::doctest!("../../book/src/faq.md");
}
pub use zlink_core::*;
#[cfg(feature = "tokio")]
pub mod tokio {
#[cfg(feature = "server")]
pub use zlink_tokio::notified;
pub use zlink_tokio::unix;
}
#[cfg(feature = "smol")]
pub mod smol {
#[cfg(feature = "server")]
pub use zlink_smol::notified;
pub use zlink_smol::unix;
}