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!("{} - {}.{}.{}", NAME, MAJOR_VERSION, MINOR_VERSION, REVISION), "AMQP - 0.9.1"); } }
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!("{} - {}.{}.{}", NAME, MAJOR_VERSION, MINOR_VERSION, REVISION), "AMQP - 0.9.1"); } }