irc_message 0.0.1

A small library for parsing irc messages.
docs.rs failed to build irc_message-0.0.1
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build: irc_message-1.0.0

irc-message

Build Status

irc-message is an IRC message parsing library for rust.

Example

extern crate irc_message;

use irc_message::IrcMessage;

fn main() {
    let m = "@best=super;single :test!me@test.ing FOO bar baz quux :This is a test";
    let parsed = IrcMessage::parse_slice(m);
    println!("{}", parsed);
}

Result

Ok(
  IrcMessage {
    tags: {
      best: super,
      single: true
    },
    prefix: Some(test!me@test.ing),
    command: Some(FOO),
    params: [bar, baz, quux, This is a test]
  }
)