1 2 3 4 5 6 7 8 9 10 11
include!(concat!(env!("OUT_DIR"), "/protocol.rs")); #[cfg(test)] mod test { use super::*; #[test] fn test_description() { assert_eq!(format!("{} - {}.{}.{}", metadata::NAME, metadata::MAJOR_VERSION, metadata::MINOR_VERSION, metadata::REVISION), "AMQP - 0.9.1"); } }