From 094cbb5f29bc25cb5195dd3030ee04fedc319203 Mon Sep 17 00:00:00 2001 From: Michel Heily Date: Mon, 24 Jun 2019 21:45:25 +0300 Subject: [PATCH] Refactor disassembler binary into arm7tdmi package --- Cargo.toml | 7 +++---- arm7tdmi/Cargo.toml | 7 ++++++- {src => arm7tdmi/src}/disass.rs | 0 3 files changed, 9 insertions(+), 5 deletions(-) rename {src => arm7tdmi/src}/disass.rs (100%) diff --git a/Cargo.toml b/Cargo.toml index 42b7b08..9c40408 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,10 +4,9 @@ version = "0.1.0" authors = ["Michel Heily "] edition = "2018" +[workspace] +members = [".", "arm7tdmi"] + [dependencies] byteorder = "*" arm7tdmi = {path = "arm7tdmi"} - -[[bin]] -name = "disassembler" -path = "src/disassembler.rs" \ No newline at end of file diff --git a/arm7tdmi/Cargo.toml b/arm7tdmi/Cargo.toml index bb55de7..4e7d160 100644 --- a/arm7tdmi/Cargo.toml +++ b/arm7tdmi/Cargo.toml @@ -5,6 +5,11 @@ authors = ["Michel Heily "] edition = "2018" [dependencies] +byteorder = "*" enum-primitive-derive = "^0.1" num-traits = "^0.1" -bit = "^0.1" \ No newline at end of file +bit = "^0.1" + +[[bin]] +name = "disass" +path = "src/disass.rs" \ No newline at end of file diff --git a/src/disass.rs b/arm7tdmi/src/disass.rs similarity index 100% rename from src/disass.rs rename to arm7tdmi/src/disass.rs