extern crate dbus;
extern crate futures;
extern crate tokio_core;
extern crate mio;

/// Tokio integration for dbus
///
/// For examples to get you started, see the examples directory and the Readme.

pub mod tree;

mod adriver;

pub use adriver::{AConnection, AMessageStream, AMethodCall};

extern crate dbus;
extern crate futures;
extern crate tokio_core;
extern crate mio;

//! Tokio integration for dbus
//!
//! What's currently working is:
//!
//!  * Client: Make method calls and wait asynchronously for them to be replied to - see `AConnection::method_call`
//!  * Get a stream of incoming messages (so you can listen to signals etc) - see `AConnection::messages`
//!  * Server: Make a tree handle that stream of incoming messages - see `tree::ATreeServer`
//!  * Server: Add asynchronous methods to the tree - in case you cannot reply right away,
//!    you can return a future that will reply when that future resolves - see `tree::AFactory::amethod`
//! 
//! For examples to get you started, see the examples directory and the Readme.

pub mod tree;

mod adriver;

pub use adriver::{AConnection, AMessageStream, AMethodCall};

Add doc comment for tokio crate
Add doc comment for tokio crate

Signed-off-by: David Henningsson <9ae66a7c420ac43dafc6e60221abac36e5a3336a@ubuntu.com>
