stomp-parser 0.4.1

A crate for parsing Stomp frames, implemented using nom.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
mod frames;
pub mod headers;

pub use frames::client;
pub use frames::server;

#[cfg(test)]
mod test {

    use super::headers::AckType;
    #[test]
    fn ack_display() {
        let s = format!("Prefix: {}", AckType::ClientIndividual);

        assert_eq!("Prefix: client-individual", s);
    }
}