From f05d9a22e9bac5d811c547d9e5569f29098f6050 Mon Sep 17 00:00:00 2001 From: Anthony Ramine Date: Sun, 15 May 2016 12:20:25 +0200 Subject: [PATCH] Update bitflags to 0.7 --- Cargo.toml | 4 ++-- src/ws/util/header.rs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 8f9cff018f..9be299b9c6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "websocket" -version = "0.17.0" +version = "0.17.1" authors = ["cyderize "] description = "A WebSocket (RFC6455) library for Rust." @@ -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.7" 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