From cb199ddb96760c7b61e31a7c2fd4b040f4eb243a Mon Sep 17 00:00:00 2001 From: iximeow Date: Wed, 12 Jan 2022 14:43:25 -0800 Subject: fix warning, update changelog, remove local Cargo.toml hacks --- CHANGELOG | 7 +++++++ Cargo.lock | 6 +++++- Cargo.toml | 7 ++----- src/main.rs | 2 +- 4 files changed, 15 insertions(+), 7 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index e52f9b4..6b517d4 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,10 @@ +## 0.2.10 + +* yaxpeax-arm to 0.2 +* add arm7-thumb decoding mode +* Bump yaxpeax-superh to 1.0.0 +* Upgrade clap to v3 + switch to derive(clap::Parser) + ## 0.2.9 * bump yaxpeax-x86 to include fixes for a few decode errors primarily impacting 16-bit modes diff --git a/Cargo.lock b/Cargo.lock index 81c4755..7628ce5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -371,6 +371,8 @@ dependencies = [ [[package]] name = "yaxpeax-arch" version = "0.2.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f1ba5c2f163fa2f866c36750c6c931566c6d93231ae9410083b0738953b609d5" dependencies = [ "num-traits", "serde", @@ -400,7 +402,7 @@ dependencies = [ [[package]] name = "yaxpeax-dis" -version = "0.2.9" +version = "0.2.10" dependencies = [ "clap", "hex", @@ -465,6 +467,8 @@ dependencies = [ [[package]] name = "yaxpeax-msp430" version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5de2211ec03a726b4b2a3a3f63789e8fe8e41b1e7be2e7034df44e4148f6e8be" dependencies = [ "yaxpeax-arch", ] diff --git a/Cargo.toml b/Cargo.toml index dbb33db..c93fcac 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "yaxpeax-dis" -version = "0.2.9" +version = "0.2.10" authors = ["iximeow "] license = "0BSD" edition = "2018" @@ -13,9 +13,6 @@ readme = "README.md" name = "yaxdis" path = "src/main.rs" -[patch.crates-io] -yaxpeax-arch-02 = { package = "yaxpeax-arch", path = "/toy/yaxpeax/yaxpeax-arch/" } - [dependencies] clap = { version = "3", features = ["derive"] } hex = "0.4.0" @@ -29,7 +26,7 @@ yaxpeax-arm = { version = "0.2.3" } yaxpeax-avr = { version = "0.1.0" } yaxpeax-m16c = { version = "0.1.0" } yaxpeax-mips = { version = "0.1.0" } -yaxpeax-msp430 = { version = "0.1.0", path = "/toy/yaxpeax/arch/msp430" } +yaxpeax-msp430 = { version = "0.1.0" } yaxpeax-lc87 = { version = "1.0.0" } yaxpeax-pic17 = { version = "0.1.0" } yaxpeax-pic18 = { version = "0.1.0" } diff --git a/src/main.rs b/src/main.rs index 42aa338..86315bc 100644 --- a/src/main.rs +++ b/src/main.rs @@ -610,7 +610,7 @@ fn fmt_field_descriptions(bit_mapper: &BitPosition, fields: &[FieldRecord], data res.push_str(unsafe { std::str::from_utf8_unchecked(&col[..line_end]) }); res.push_str("\n"); - for (field_index, bit) in boundary_order { + for (_field_index, bit) in boundary_order { let mut fudge = 0; let mut col = [b' '; 160]; -- cgit v1.1