From a161dcda8aa8c6506b2ca257c17bc926b830e7b2 Mon Sep 17 00:00:00 2001 From: transistor Date: Sat, 24 Feb 2024 19:26:28 -0800 Subject: [PATCH] Renamed modules to use kebab case --- Cargo.lock | 142 +++++++++++------------ emulator/core/Cargo.toml | 2 +- emulator/cpus/m68k/Cargo.toml | 6 +- emulator/cpus/z80/Cargo.toml | 4 +- emulator/frontends/common/Cargo.toml | 4 +- emulator/frontends/console/Cargo.toml | 16 +-- emulator/frontends/minifb/Cargo.toml | 16 +-- emulator/frontends/pixels/Cargo.toml | 8 +- emulator/libraries/audio/Cargo.toml | 2 +- emulator/libraries/parsing/Cargo.toml | 4 +- emulator/peripherals/generic/Cargo.toml | 4 +- emulator/peripherals/mos/Cargo.toml | 4 +- emulator/peripherals/motorola/Cargo.toml | 4 +- emulator/peripherals/yamaha/Cargo.toml | 6 +- emulator/peripherals/zilog/Cargo.toml | 4 +- emulator/systems/computie/Cargo.toml | 10 +- emulator/systems/genesis/Cargo.toml | 10 +- emulator/systems/macintosh/Cargo.toml | 10 +- emulator/systems/trs80/Cargo.toml | 6 +- tests/harte_tests/Cargo.toml | 6 +- tests/rad_tests/Cargo.toml | 6 +- 21 files changed, 137 insertions(+), 137 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 5fae6f6..ff22e7c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -483,14 +483,14 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b" [[package]] -name = "harte_tests" +name = "harte-tests" version = "0.1.0" dependencies = [ "clap 3.2.25", "femtos", "flate2", - "moa_core", - "moa_m68k", + "moa-core", + "moa-m68k", "serde", "serde_derive", "serde_json", @@ -733,48 +733,39 @@ dependencies = [ ] [[package]] -name = "moa-iz80" -version = "0.1.0" -dependencies = [ - "femtos", - "iz80", - "moa_core", -] - -[[package]] -name = "moa_audio" +name = "moa-audio" version = "0.1.0" [[package]] -name = "moa_common" +name = "moa-common" version = "0.1.0" dependencies = [ "cpal", "femtos", "log", - "moa_core", + "moa-core", "nix 0.25.1", ] [[package]] -name = "moa_console" +name = "moa-console" version = "0.1.0" dependencies = [ "clap 4.3.3", "femtos", "log", - "moa_common", - "moa_core", - "moa_m68k", - "moa_peripherals_generic", - "moa_peripherals_motorola", - "moa_systems_computie", - "moa_systems_genesis", + "moa-common", + "moa-core", + "moa-m68k", + "moa-peripherals-generic", + "moa-peripherals-motorola", + "moa-systems-computie", + "moa-systems-genesis", "simple_logger", ] [[package]] -name = "moa_core" +name = "moa-core" version = "0.1.0" dependencies = [ "femtos", @@ -782,140 +773,149 @@ dependencies = [ ] [[package]] -name = "moa_m68k" +name = "moa-iz80" +version = "0.1.0" +dependencies = [ + "femtos", + "iz80", + "moa-core", +] + +[[package]] +name = "moa-m68k" version = "0.1.0" dependencies = [ "femtos", "log", - "moa_core", - "moa_parsing", + "moa-core", + "moa-parsing", ] [[package]] -name = "moa_minifb" +name = "moa-minifb" version = "0.1.0" dependencies = [ "clap 4.3.3", "femtos", "log", "minifb", - "moa_common", - "moa_core", - "moa_peripherals_yamaha", - "moa_systems_computie", - "moa_systems_genesis", - "moa_systems_macintosh", - "moa_systems_trs80", + "moa-common", + "moa-core", + "moa-peripherals-yamaha", + "moa-systems-computie", + "moa-systems-genesis", + "moa-systems-macintosh", + "moa-systems-trs80", "simple_logger", ] [[package]] -name = "moa_parsing" +name = "moa-parsing" version = "0.1.0" dependencies = [ - "moa_core", + "moa-core", ] [[package]] -name = "moa_peripherals_generic" +name = "moa-peripherals-generic" version = "0.1.0" dependencies = [ "femtos", "log", - "moa_core", + "moa-core", ] [[package]] -name = "moa_peripherals_mos" +name = "moa-peripherals-mos" version = "0.1.0" dependencies = [ "femtos", "log", - "moa_core", + "moa-core", ] [[package]] -name = "moa_peripherals_motorola" +name = "moa-peripherals-motorola" version = "0.1.0" dependencies = [ "femtos", "log", - "moa_core", + "moa-core", ] [[package]] -name = "moa_peripherals_yamaha" +name = "moa-peripherals-yamaha" version = "0.1.0" dependencies = [ "femtos", "lazy_static", "log", - "moa_audio", - "moa_core", + "moa-audio", + "moa-core", ] [[package]] -name = "moa_peripherals_zilog" +name = "moa-peripherals-zilog" version = "0.1.0" dependencies = [ "femtos", "log", - "moa_core", + "moa-core", ] [[package]] -name = "moa_systems_computie" +name = "moa-systems-computie" version = "0.1.0" dependencies = [ "femtos", "log", - "moa_core", - "moa_m68k", - "moa_peripherals_generic", - "moa_peripherals_motorola", + "moa-core", + "moa-m68k", + "moa-peripherals-generic", + "moa-peripherals-motorola", ] [[package]] -name = "moa_systems_genesis" +name = "moa-systems-genesis" version = "0.1.0" dependencies = [ "femtos", "log", - "moa_core", - "moa_m68k", - "moa_peripherals_yamaha", - "moa_z80", + "moa-core", + "moa-m68k", + "moa-peripherals-yamaha", + "moa-z80", ] [[package]] -name = "moa_systems_macintosh" +name = "moa-systems-macintosh" version = "0.1.0" dependencies = [ "femtos", "log", - "moa_core", - "moa_m68k", - "moa_peripherals_mos", - "moa_peripherals_zilog", + "moa-core", + "moa-m68k", + "moa-peripherals-mos", + "moa-peripherals-zilog", ] [[package]] -name = "moa_systems_trs80" +name = "moa-systems-trs80" version = "0.1.0" dependencies = [ "femtos", "log", - "moa_core", - "moa_z80", + "moa-core", + "moa-z80", ] [[package]] -name = "moa_z80" +name = "moa-z80" version = "0.1.0" dependencies = [ "femtos", "log", - "moa_core", + "moa-core", ] [[package]] @@ -1219,14 +1219,14 @@ dependencies = [ ] [[package]] -name = "rad_tests" +name = "rad-tests" version = "0.1.0" dependencies = [ "clap 3.2.25", "femtos", "flate2", - "moa_core", - "moa_z80", + "moa-core", + "moa-z80", "serde", "serde_derive", "serde_json", diff --git a/emulator/core/Cargo.toml b/emulator/core/Cargo.toml index 8cb1d1c..05674cf 100644 --- a/emulator/core/Cargo.toml +++ b/emulator/core/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "moa_core" +name = "moa-core" version = "0.1.0" edition = "2021" diff --git a/emulator/cpus/m68k/Cargo.toml b/emulator/cpus/m68k/Cargo.toml index 99f2c80..980d14c 100644 --- a/emulator/cpus/m68k/Cargo.toml +++ b/emulator/cpus/m68k/Cargo.toml @@ -1,10 +1,10 @@ [package] -name = "moa_m68k" +name = "moa-m68k" version = "0.1.0" edition = "2021" [dependencies] log = "0.4" femtos = "0.1" -moa_core = { path = "../../core" } -moa_parsing = { path = "../../libraries/parsing" } +moa-core = { path = "../../core" } +moa-parsing = { path = "../../libraries/parsing" } diff --git a/emulator/cpus/z80/Cargo.toml b/emulator/cpus/z80/Cargo.toml index e525715..2d872ad 100644 --- a/emulator/cpus/z80/Cargo.toml +++ b/emulator/cpus/z80/Cargo.toml @@ -1,9 +1,9 @@ [package] -name = "moa_z80" +name = "moa-z80" version = "0.1.0" edition = "2021" [dependencies] log = "0.4" femtos = "0.1" -moa_core = { path = "../../core" } +moa-core = { path = "../../core" } diff --git a/emulator/frontends/common/Cargo.toml b/emulator/frontends/common/Cargo.toml index b576042..728495c 100644 --- a/emulator/frontends/common/Cargo.toml +++ b/emulator/frontends/common/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "moa_common" +name = "moa-common" version = "0.1.0" edition = "2021" @@ -10,7 +10,7 @@ audio = ["cpal"] [dependencies] log = "0.4" femtos = "0.1" -moa_core = { path = "../../core" } +moa-core = { path = "../../core" } nix = { version = "0.25", optional = true } [target.'cfg(not(target_arch = "wasm32"))'.dependencies] diff --git a/emulator/frontends/console/Cargo.toml b/emulator/frontends/console/Cargo.toml index c93a305..3729ac3 100644 --- a/emulator/frontends/console/Cargo.toml +++ b/emulator/frontends/console/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "moa_console" +name = "moa-console" version = "0.1.0" edition = "2021" default-run = "moa-computie" @@ -10,11 +10,11 @@ clap = "^4" simple_logger = "^2" femtos = "0.1" -moa_core = { path = "../../core" } -moa_common = { path = "../common", features = ["tty"] } +moa-core = { path = "../../core" } +moa-common = { path = "../common", features = ["tty"] } -moa_systems_genesis = { path = "../../systems/genesis" } -moa_systems_computie = { path = "../../systems/computie" } -moa_m68k = { path = "../../cpus/m68k" } -moa_peripherals_generic = { path = "../../peripherals/generic" } -moa_peripherals_motorola = { path = "../../peripherals/motorola" } +moa-systems-genesis = { path = "../../systems/genesis" } +moa-systems-computie = { path = "../../systems/computie" } +moa-m68k = { path = "../../cpus/m68k" } +moa-peripherals-generic = { path = "../../peripherals/generic" } +moa-peripherals-motorola = { path = "../../peripherals/motorola" } diff --git a/emulator/frontends/minifb/Cargo.toml b/emulator/frontends/minifb/Cargo.toml index 10e4f34..5cc95c3 100644 --- a/emulator/frontends/minifb/Cargo.toml +++ b/emulator/frontends/minifb/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "moa_minifb" +name = "moa-minifb" version = "0.1.0" edition = "2021" default-run = "moa-genesis" @@ -11,12 +11,12 @@ clap = "^4" simple_logger = "^2" femtos = "0.1" -moa_core = { path = "../../core" } -moa_common = { path = "../common", features = ["audio"] } +moa-core = { path = "../../core" } +moa-common = { path = "../common", features = ["audio"] } -moa_systems_genesis = { path = "../../systems/genesis" } -moa_systems_computie = { path = "../../systems/computie" } -moa_systems_trs80 = { path = "../../systems/trs80" } -moa_systems_macintosh = { path = "../../systems/macintosh" } -moa_peripherals_yamaha = { path = "../../peripherals/yamaha" } +moa-systems-genesis = { path = "../../systems/genesis" } +moa-systems-computie = { path = "../../systems/computie" } +moa-systems-trs80 = { path = "../../systems/trs80" } +moa-systems-macintosh = { path = "../../systems/macintosh" } +moa-peripherals-yamaha = { path = "../../peripherals/yamaha" } diff --git a/emulator/frontends/pixels/Cargo.toml b/emulator/frontends/pixels/Cargo.toml index 44766e8..a1251d8 100644 --- a/emulator/frontends/pixels/Cargo.toml +++ b/emulator/frontends/pixels/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "moa_pixels" +name = "moa-pixels" version = "0.1.0" edition = "2021" @@ -9,10 +9,10 @@ pixels = "0.12" winit = "0.28" femtos = "0.1" -moa_core = { path = "../../core" } -moa_common = { path = "../common", features = ["audio"] } +moa-core = { path = "../../core" } +moa-common = { path = "../common", features = ["audio"] } -moa_systems_genesis = { path = "../../systems/genesis" } +moa-systems-genesis = { path = "../../systems/genesis" } [target.'cfg(target_arch = "wasm32")'.dependencies] console_error_panic_hook = "0.1" diff --git a/emulator/libraries/audio/Cargo.toml b/emulator/libraries/audio/Cargo.toml index 4a964c3..2e5822a 100644 --- a/emulator/libraries/audio/Cargo.toml +++ b/emulator/libraries/audio/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "moa_audio" +name = "moa-audio" version = "0.1.0" edition = "2021" diff --git a/emulator/libraries/parsing/Cargo.toml b/emulator/libraries/parsing/Cargo.toml index 3ae3f72..9a18b2d 100644 --- a/emulator/libraries/parsing/Cargo.toml +++ b/emulator/libraries/parsing/Cargo.toml @@ -1,7 +1,7 @@ [package] -name = "moa_parsing" +name = "moa-parsing" version = "0.1.0" edition = "2021" [dependencies] -moa_core = { path = "../../core" } +moa-core = { path = "../../core" } diff --git a/emulator/peripherals/generic/Cargo.toml b/emulator/peripherals/generic/Cargo.toml index 1a5a3d8..c2c76f1 100644 --- a/emulator/peripherals/generic/Cargo.toml +++ b/emulator/peripherals/generic/Cargo.toml @@ -1,9 +1,9 @@ [package] -name = "moa_peripherals_generic" +name = "moa-peripherals-generic" version = "0.1.0" edition = "2021" [dependencies] log = "0.4" femtos = "0.1" -moa_core = { path = "../../core" } +moa-core = { path = "../../core" } diff --git a/emulator/peripherals/mos/Cargo.toml b/emulator/peripherals/mos/Cargo.toml index dc21359..ecefe41 100644 --- a/emulator/peripherals/mos/Cargo.toml +++ b/emulator/peripherals/mos/Cargo.toml @@ -1,9 +1,9 @@ [package] -name = "moa_peripherals_mos" +name = "moa-peripherals-mos" version = "0.1.0" edition = "2021" [dependencies] log = "0.4" femtos = "0.1" -moa_core = { path = "../../core" } +moa-core = { path = "../../core" } diff --git a/emulator/peripherals/motorola/Cargo.toml b/emulator/peripherals/motorola/Cargo.toml index 69d1bcc..4d12377 100644 --- a/emulator/peripherals/motorola/Cargo.toml +++ b/emulator/peripherals/motorola/Cargo.toml @@ -1,9 +1,9 @@ [package] -name = "moa_peripherals_motorola" +name = "moa-peripherals-motorola" version = "0.1.0" edition = "2021" [dependencies] log = "0.4" femtos = "0.1" -moa_core = { path = "../../core" } +moa-core = { path = "../../core" } diff --git a/emulator/peripherals/yamaha/Cargo.toml b/emulator/peripherals/yamaha/Cargo.toml index 4a611b2..dd8bcde 100644 --- a/emulator/peripherals/yamaha/Cargo.toml +++ b/emulator/peripherals/yamaha/Cargo.toml @@ -1,11 +1,11 @@ [package] -name = "moa_peripherals_yamaha" +name = "moa-peripherals-yamaha" version = "0.1.0" edition = "2021" [dependencies] log = "^0.4" femtos = "0.1" -moa_core = { path = "../../core" } -moa_audio = { path = "../../libraries/audio" } +moa-core = { path = "../../core" } +moa-audio = { path = "../../libraries/audio" } lazy_static = "1.4.0" diff --git a/emulator/peripherals/zilog/Cargo.toml b/emulator/peripherals/zilog/Cargo.toml index 5e3b5da..40ed75c 100644 --- a/emulator/peripherals/zilog/Cargo.toml +++ b/emulator/peripherals/zilog/Cargo.toml @@ -1,9 +1,9 @@ [package] -name = "moa_peripherals_zilog" +name = "moa-peripherals-zilog" version = "0.1.0" edition = "2021" [dependencies] log = "0.4" femtos = "0.1" -moa_core = { path = "../../core" } +moa-core = { path = "../../core" } diff --git a/emulator/systems/computie/Cargo.toml b/emulator/systems/computie/Cargo.toml index 3aadfb9..ece0f3a 100644 --- a/emulator/systems/computie/Cargo.toml +++ b/emulator/systems/computie/Cargo.toml @@ -1,12 +1,12 @@ [package] -name = "moa_systems_computie" +name = "moa-systems-computie" version = "0.1.0" edition = "2021" [dependencies] log = "0.4" femtos = "0.1" -moa_core = { path = "../../core" } -moa_m68k = { path = "../../cpus/m68k" } -moa_peripherals_generic = { path = "../../peripherals/generic" } -moa_peripherals_motorola = { path = "../../peripherals/motorola" } +moa-core = { path = "../../core" } +moa-m68k = { path = "../../cpus/m68k" } +moa-peripherals-generic = { path = "../../peripherals/generic" } +moa-peripherals-motorola = { path = "../../peripherals/motorola" } diff --git a/emulator/systems/genesis/Cargo.toml b/emulator/systems/genesis/Cargo.toml index e4684cb..7391cfd 100644 --- a/emulator/systems/genesis/Cargo.toml +++ b/emulator/systems/genesis/Cargo.toml @@ -1,13 +1,13 @@ [package] -name = "moa_systems_genesis" +name = "moa-systems-genesis" version = "0.1.0" edition = "2021" [dependencies] log = "0.4" femtos = "0.1" -moa_core = { path = "../../core" } -moa_peripherals_yamaha = { path = "../../peripherals/yamaha" } -moa_m68k = { path = "../../cpus/m68k" } -moa_z80 = { path = "../../cpus/z80" } +moa-core = { path = "../../core" } +moa-peripherals-yamaha = { path = "../../peripherals/yamaha" } +moa-m68k = { path = "../../cpus/m68k" } +moa-z80 = { path = "../../cpus/z80" } diff --git a/emulator/systems/macintosh/Cargo.toml b/emulator/systems/macintosh/Cargo.toml index a37ae92..ab788ed 100644 --- a/emulator/systems/macintosh/Cargo.toml +++ b/emulator/systems/macintosh/Cargo.toml @@ -1,12 +1,12 @@ [package] -name = "moa_systems_macintosh" +name = "moa-systems-macintosh" version = "0.1.0" edition = "2021" [dependencies] log = "0.4" femtos = "0.1" -moa_core = { path = "../../core" } -moa_m68k = { path = "../../cpus/m68k" } -moa_peripherals_mos = { path = "../../peripherals/mos" } -moa_peripherals_zilog = { path = "../../peripherals/zilog" } +moa-core = { path = "../../core" } +moa-m68k = { path = "../../cpus/m68k" } +moa-peripherals-mos = { path = "../../peripherals/mos" } +moa-peripherals-zilog = { path = "../../peripherals/zilog" } diff --git a/emulator/systems/trs80/Cargo.toml b/emulator/systems/trs80/Cargo.toml index 8dd4ef1..3ec5c72 100644 --- a/emulator/systems/trs80/Cargo.toml +++ b/emulator/systems/trs80/Cargo.toml @@ -1,11 +1,11 @@ [package] -name = "moa_systems_trs80" +name = "moa-systems-trs80" version = "0.1.0" edition = "2021" [dependencies] log = "0.4" femtos = "0.1" -moa_core = { path = "../../core" } -moa_z80 = { path = "../../cpus/z80" } +moa-core = { path = "../../core" } +moa-z80 = { path = "../../cpus/z80" } diff --git a/tests/harte_tests/Cargo.toml b/tests/harte_tests/Cargo.toml index 2ba9f17..02253f2 100644 --- a/tests/harte_tests/Cargo.toml +++ b/tests/harte_tests/Cargo.toml @@ -1,13 +1,13 @@ [package] -name = "harte_tests" +name = "harte-tests" version = "0.1.0" edition = "2021" [dependencies] femtos = "0.1" -moa_core = { path = "../../emulator/core" } -moa_m68k = { path = "../../emulator/cpus/m68k" } +moa-core = { path = "../../emulator/core" } +moa-m68k = { path = "../../emulator/cpus/m68k" } serde = "1.0" serde_json = "1.0" serde_derive = "1.0" diff --git a/tests/rad_tests/Cargo.toml b/tests/rad_tests/Cargo.toml index dbf44cf..5f507ed 100644 --- a/tests/rad_tests/Cargo.toml +++ b/tests/rad_tests/Cargo.toml @@ -1,12 +1,12 @@ [package] -name = "rad_tests" +name = "rad-tests" version = "0.1.0" edition = "2021" [dependencies] femtos = "0.1" -moa_core = { path = "../../emulator/core" } -moa_z80 = { path = "../../emulator/cpus/z80" } +moa-core = { path = "../../emulator/core" } +moa-z80 = { path = "../../emulator/cpus/z80" } serde = "1.0" serde_json = "1.0" serde_derive = "1.0"