From 6d643abc8d20b99da35e9fba1b0dc29e81809e15 Mon Sep 17 00:00:00 2001 From: jam1garner <8260240+jam1garner@users.noreply.github.com> Date: Mon, 15 Mar 2021 13:08:48 -0400 Subject: [PATCH] Fix binrw breaking changes, pin binrw commit --- Cargo.toml | 2 +- src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 3b1dc8a..b56f9db 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,7 +14,7 @@ path = "src/main.rs" required-features = ["cli"] [dependencies] -binrw = { git = "https://github.com/jam1garner/binrw" } +binrw = { git = "https://github.com/jam1garner/binrw", rev = "e8ae07ec" } binwrite = "0.2.1" # serde support diff --git a/src/lib.rs b/src/lib.rs index e971381..58c6d0b 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,4 +1,4 @@ -use binrw::{prelude::*, helpers::Punctuated, NullString, derive_binread}; +use binrw::{prelude::*, punctuated::Punctuated, NullString, derive_binread}; use binwrite::BinWrite; use std::path::Path; use core::fmt;