Skip to content

Commit de1853d

Browse files
authored
Update to bitflags 2 (#1498)
1 parent 7b0c2bc commit de1853d

File tree

3 files changed

+16
-21
lines changed

3 files changed

+16
-21
lines changed

Cargo.lock

Lines changed: 14 additions & 20 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ text-indexes-unstable = []
8080

8181
[dependencies]
8282
base64 = "0.13.0"
83-
bitflags = "1.1.0"
83+
bitflags = "2"
8484
chrono = { version = "0.4.7", default-features = false, features = [
8585
"clock",
8686
"std",

src/cmap/conn/wire/message.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -407,6 +407,7 @@ const DEFAULT_MAX_MESSAGE_SIZE_BYTES: i32 = 48 * 1024 * 1024;
407407

408408
bitflags! {
409409
/// Represents the bitwise flags for an OP_MSG as defined in the spec.
410+
#[derive(Debug)]
410411
pub(crate) struct MessageFlags: u32 {
411412
const CHECKSUM_PRESENT = 0b_0000_0000_0000_0000_0000_0000_0000_0001;
412413
const MORE_TO_COME = 0b_0000_0000_0000_0000_0000_0000_0000_0010;

0 commit comments

Comments
 (0)