Skip to content

Commit

Permalink
Use bitvec v.1+ instead of bitvec v0.22.3 which is broken
Browse files Browse the repository at this point in the history
  • Loading branch information
melastmohican authored and spacemeowx2 committed Jan 3, 2023
1 parent 4ee114e commit 03d64cc
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 33 deletions.
67 changes: 37 additions & 30 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions blflash/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ thiserror = "1.0.22"
indicatif = "0.16.0"
log = "0.4.11"
env_logger = "0.8.2"
deku = "0.12.0"
deku = "0.15.1"
byteorder = "1.3.4"
sha2 = "0.9.2"
structopt = { version = "0.3.21", features = ["paw"] }
paw = "1.0.0"
crc = "1.8.1"
hex = "0.4.2"
parse_int = "0.5.0"
bitvec = "0.22.3"
bitvec = "1.0.1"
2 changes: 1 addition & 1 deletion blflash/src/image/partition.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ impl PartitionCfg {
}

impl Entry {
fn write_name(name: &str, output: &mut BitVec<Msb0, u8>) -> Result<(), DekuError> {
fn write_name(name: &str, output: &mut BitVec<u8, Msb0>) -> Result<(), DekuError> {
if name.len() > 8 {
return Err(DekuError::Unexpected("name too long".to_string()));
}
Expand Down

0 comments on commit 03d64cc

Please sign in to comment.