diff --git a/Cargo.toml b/Cargo.toml index 8f9cff018f..3166ad3d21 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -22,7 +22,7 @@ unicase = "1.0.1" openssl = "0.7.6" url = "1.0" rustc-serialize = "0.3.16" -bitflags = "0.3.3" +bitflags = "0.6" rand = "0.3.12" byteorder = "0.5.1" net2 = "0.2.17" diff --git a/src/ws/util/header.rs b/src/ws/util/header.rs index 3cea3fbf8a..bdc845bd69 100644 --- a/src/ws/util/header.rs +++ b/src/ws/util/header.rs @@ -6,7 +6,7 @@ use byteorder::{BigEndian, ReadBytesExt, WriteBytesExt}; bitflags! { /// Flags relevant to a WebSocket data frame. - flags DataFrameFlags: u8 { + pub flags DataFrameFlags: u8 { /// Marks this dataframe as the last dataframe const FIN = 0x80, /// First reserved bit