Skip to main content

amq_protocol_codegen/
lib.rs

1#![deny(missing_docs, missing_debug_implementations, unsafe_code)]
2#![warn(unreachable_pub, unused_qualifications, unused_lifetimes)]
3#![warn(
4    clippy::must_use_candidate,
5    clippy::unwrap_in_result,
6    clippy::panic_in_result_fn
7)]
8
9//! Code generation utilities for the AMQP 0-9-1 specification.
10//!
11//! Parses the RabbitMQ machine-readable protocol spec and exposes a
12//! [Handlebars](https://docs.rs/handlebars)-based templating engine so that
13//! build scripts can generate Rust source code from it. Used internally by
14//! the `amq-protocol` and `lapin` build scripts.
15
16mod internal;
17mod specs;
18mod templating;
19mod util;
20
21pub use crate::{specs::*, templating::*, util::*};