amq_proto/
lib.rs

1//! #rust-amqp
2//! [![Build Status](https://travis-ci.org/Antti/rust-amq-proto.svg)](https:
3//! //travis-ci.org/Antti/rust-amq-proto)
4//!
5//! AMQ protocol implementation in pure rust.
6//!
7//! > Note:
8//! > The project is still in very early stages of development,
9//! > it implements all the protocol parsing, but not all the protocol methods
10//! are wrapped/easy to use.
11//! > Expect the API to be changed in the future.
12//!
13//!
14//! The methods encoding/decoding code is generated using codegen.rb &
15//! amqp-rabbitmq-0.9.1.json spec.
16//!
17//! To generate a new spec, run:
18//!
19//! ```sh
20//! make
21//! ```
22//!
23//! To build project, use cargo:
24//!
25//! ```sh
26//! cargo build
27//! ```
28//!
29//! To build examples:
30//! ```sh
31//! cargo test
32//! ```
33
34#![cfg_attr(feature="clippy", feature(plugin))]
35#![cfg_attr(feature="clippy", plugin(clippy))]
36
37extern crate byteorder;
38extern crate bit_vec;
39#[macro_use] extern crate error_chain;
40#[macro_use] extern crate log;
41#[macro_use] extern crate enum_primitive;
42
43mod framing;
44mod table;
45mod method;
46#[macro_use] mod codegen_macros;
47mod error;
48
49pub const VERSION: &'static str = env!("CARGO_PKG_VERSION");
50pub mod protocol;
51
52pub use table::{Table, TableEntry};
53pub use method::{Method, };
54pub use framing::*;
55pub use error::*;