Skip to content

Commit ca7d5cd

Browse files
authored
Update to bitflags 2.4.2 (#22)
* Update to bitflags 2.4.2 Update to the latest version of the only dependency this crate has. * Add missing derives
1 parent be27131 commit ca7d5cd

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ default = ["std"]
2323
std = []
2424

2525
[dependencies]
26-
bitflags = "1.3.2"
26+
bitflags = "2.4.2"
2727

2828
[package.metadata.release]
2929
pre-release-hook = ["cargo", "readme", "-o", "README.md", "-t", "README.tpl"]

src/lib.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -401,6 +401,7 @@ impl LevelIndex {
401401
}
402402

403403
bitflags::bitflags! {
404+
#[derive(Debug)]
404405
#[repr(transparent)]
405406
pub struct ChannelTypeQualifiers: u32 {
406407
const LINEAR = (1 << 0);
@@ -411,7 +412,7 @@ bitflags::bitflags! {
411412
}
412413

413414
bitflags::bitflags! {
414-
#[derive(Default)]
415+
#[derive(Clone, Copy, Debug, Default)]
415416
#[repr(transparent)]
416417
pub struct DataFormatFlags: u32 {
417418
const STRAIGHT_ALPHA = 0;

0 commit comments

Comments
 (0)