1#![cfg_attr(not(feature = "std"), no_std)]
2#![deny(
3 missing_debug_implementations,
4 nonstandard_style,
5 rust_2018_idioms,
6 missing_docs
7)]
8#![warn(unreachable_pub, clippy::std_instead_of_core)]
9#![cfg_attr(not(doctest), doc = include_str!("../README.md"))]
10
11#[cfg(all(not(feature = "std"), not(feature = "embedded")))]
12compile_error!("Either 'std' or 'embedded' feature must be enabled.");
13
14#[macro_use]
15#[doc(hidden)]
16pub mod log;
17
18pub mod connection;
19pub use connection::Connection;
20mod error;
21pub use error::{Error, Result};
22mod server;
23pub use server::{
24 listener::Listener,
25 service::{self, Service},
26 Server,
27};
28mod call;
29pub use call::Call;
30pub mod reply;
31pub use reply::Reply;
32#[cfg(feature = "idl")]
33pub mod idl;
34#[cfg(feature = "introspection")]
35pub mod introspect;
36pub mod varlink_service;
37
38#[cfg(feature = "proxy")]
39pub use zlink_macros::proxy;
40
41pub use zlink_macros::ReplyError;
42
43#[doc(hidden)]
44pub mod test_utils;