Renamed modules to use kebab case

This commit is contained in:
transistor 2024-02-24 19:26:28 -08:00
parent 671517aab7
commit a161dcda8a
21 changed files with 137 additions and 137 deletions

142
Cargo.lock generated
View File

@ -483,14 +483,14 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b" checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b"
[[package]] [[package]]
name = "harte_tests" name = "harte-tests"
version = "0.1.0" version = "0.1.0"
dependencies = [ dependencies = [
"clap 3.2.25", "clap 3.2.25",
"femtos", "femtos",
"flate2", "flate2",
"moa_core", "moa-core",
"moa_m68k", "moa-m68k",
"serde", "serde",
"serde_derive", "serde_derive",
"serde_json", "serde_json",
@ -733,48 +733,39 @@ dependencies = [
] ]
[[package]] [[package]]
name = "moa-iz80" name = "moa-audio"
version = "0.1.0"
dependencies = [
"femtos",
"iz80",
"moa_core",
]
[[package]]
name = "moa_audio"
version = "0.1.0" version = "0.1.0"
[[package]] [[package]]
name = "moa_common" name = "moa-common"
version = "0.1.0" version = "0.1.0"
dependencies = [ dependencies = [
"cpal", "cpal",
"femtos", "femtos",
"log", "log",
"moa_core", "moa-core",
"nix 0.25.1", "nix 0.25.1",
] ]
[[package]] [[package]]
name = "moa_console" name = "moa-console"
version = "0.1.0" version = "0.1.0"
dependencies = [ dependencies = [
"clap 4.3.3", "clap 4.3.3",
"femtos", "femtos",
"log", "log",
"moa_common", "moa-common",
"moa_core", "moa-core",
"moa_m68k", "moa-m68k",
"moa_peripherals_generic", "moa-peripherals-generic",
"moa_peripherals_motorola", "moa-peripherals-motorola",
"moa_systems_computie", "moa-systems-computie",
"moa_systems_genesis", "moa-systems-genesis",
"simple_logger", "simple_logger",
] ]
[[package]] [[package]]
name = "moa_core" name = "moa-core"
version = "0.1.0" version = "0.1.0"
dependencies = [ dependencies = [
"femtos", "femtos",
@ -782,140 +773,149 @@ dependencies = [
] ]
[[package]] [[package]]
name = "moa_m68k" name = "moa-iz80"
version = "0.1.0"
dependencies = [
"femtos",
"iz80",
"moa-core",
]
[[package]]
name = "moa-m68k"
version = "0.1.0" version = "0.1.0"
dependencies = [ dependencies = [
"femtos", "femtos",
"log", "log",
"moa_core", "moa-core",
"moa_parsing", "moa-parsing",
] ]
[[package]] [[package]]
name = "moa_minifb" name = "moa-minifb"
version = "0.1.0" version = "0.1.0"
dependencies = [ dependencies = [
"clap 4.3.3", "clap 4.3.3",
"femtos", "femtos",
"log", "log",
"minifb", "minifb",
"moa_common", "moa-common",
"moa_core", "moa-core",
"moa_peripherals_yamaha", "moa-peripherals-yamaha",
"moa_systems_computie", "moa-systems-computie",
"moa_systems_genesis", "moa-systems-genesis",
"moa_systems_macintosh", "moa-systems-macintosh",
"moa_systems_trs80", "moa-systems-trs80",
"simple_logger", "simple_logger",
] ]
[[package]] [[package]]
name = "moa_parsing" name = "moa-parsing"
version = "0.1.0" version = "0.1.0"
dependencies = [ dependencies = [
"moa_core", "moa-core",
] ]
[[package]] [[package]]
name = "moa_peripherals_generic" name = "moa-peripherals-generic"
version = "0.1.0" version = "0.1.0"
dependencies = [ dependencies = [
"femtos", "femtos",
"log", "log",
"moa_core", "moa-core",
] ]
[[package]] [[package]]
name = "moa_peripherals_mos" name = "moa-peripherals-mos"
version = "0.1.0" version = "0.1.0"
dependencies = [ dependencies = [
"femtos", "femtos",
"log", "log",
"moa_core", "moa-core",
] ]
[[package]] [[package]]
name = "moa_peripherals_motorola" name = "moa-peripherals-motorola"
version = "0.1.0" version = "0.1.0"
dependencies = [ dependencies = [
"femtos", "femtos",
"log", "log",
"moa_core", "moa-core",
] ]
[[package]] [[package]]
name = "moa_peripherals_yamaha" name = "moa-peripherals-yamaha"
version = "0.1.0" version = "0.1.0"
dependencies = [ dependencies = [
"femtos", "femtos",
"lazy_static", "lazy_static",
"log", "log",
"moa_audio", "moa-audio",
"moa_core", "moa-core",
] ]
[[package]] [[package]]
name = "moa_peripherals_zilog" name = "moa-peripherals-zilog"
version = "0.1.0" version = "0.1.0"
dependencies = [ dependencies = [
"femtos", "femtos",
"log", "log",
"moa_core", "moa-core",
] ]
[[package]] [[package]]
name = "moa_systems_computie" name = "moa-systems-computie"
version = "0.1.0" version = "0.1.0"
dependencies = [ dependencies = [
"femtos", "femtos",
"log", "log",
"moa_core", "moa-core",
"moa_m68k", "moa-m68k",
"moa_peripherals_generic", "moa-peripherals-generic",
"moa_peripherals_motorola", "moa-peripherals-motorola",
] ]
[[package]] [[package]]
name = "moa_systems_genesis" name = "moa-systems-genesis"
version = "0.1.0" version = "0.1.0"
dependencies = [ dependencies = [
"femtos", "femtos",
"log", "log",
"moa_core", "moa-core",
"moa_m68k", "moa-m68k",
"moa_peripherals_yamaha", "moa-peripherals-yamaha",
"moa_z80", "moa-z80",
] ]
[[package]] [[package]]
name = "moa_systems_macintosh" name = "moa-systems-macintosh"
version = "0.1.0" version = "0.1.0"
dependencies = [ dependencies = [
"femtos", "femtos",
"log", "log",
"moa_core", "moa-core",
"moa_m68k", "moa-m68k",
"moa_peripherals_mos", "moa-peripherals-mos",
"moa_peripherals_zilog", "moa-peripherals-zilog",
] ]
[[package]] [[package]]
name = "moa_systems_trs80" name = "moa-systems-trs80"
version = "0.1.0" version = "0.1.0"
dependencies = [ dependencies = [
"femtos", "femtos",
"log", "log",
"moa_core", "moa-core",
"moa_z80", "moa-z80",
] ]
[[package]] [[package]]
name = "moa_z80" name = "moa-z80"
version = "0.1.0" version = "0.1.0"
dependencies = [ dependencies = [
"femtos", "femtos",
"log", "log",
"moa_core", "moa-core",
] ]
[[package]] [[package]]
@ -1219,14 +1219,14 @@ dependencies = [
] ]
[[package]] [[package]]
name = "rad_tests" name = "rad-tests"
version = "0.1.0" version = "0.1.0"
dependencies = [ dependencies = [
"clap 3.2.25", "clap 3.2.25",
"femtos", "femtos",
"flate2", "flate2",
"moa_core", "moa-core",
"moa_z80", "moa-z80",
"serde", "serde",
"serde_derive", "serde_derive",
"serde_json", "serde_json",

View File

@ -1,5 +1,5 @@
[package] [package]
name = "moa_core" name = "moa-core"
version = "0.1.0" version = "0.1.0"
edition = "2021" edition = "2021"

View File

@ -1,10 +1,10 @@
[package] [package]
name = "moa_m68k" name = "moa-m68k"
version = "0.1.0" version = "0.1.0"
edition = "2021" edition = "2021"
[dependencies] [dependencies]
log = "0.4" log = "0.4"
femtos = "0.1" femtos = "0.1"
moa_core = { path = "../../core" } moa-core = { path = "../../core" }
moa_parsing = { path = "../../libraries/parsing" } moa-parsing = { path = "../../libraries/parsing" }

View File

@ -1,9 +1,9 @@
[package] [package]
name = "moa_z80" name = "moa-z80"
version = "0.1.0" version = "0.1.0"
edition = "2021" edition = "2021"
[dependencies] [dependencies]
log = "0.4" log = "0.4"
femtos = "0.1" femtos = "0.1"
moa_core = { path = "../../core" } moa-core = { path = "../../core" }

View File

@ -1,5 +1,5 @@
[package] [package]
name = "moa_common" name = "moa-common"
version = "0.1.0" version = "0.1.0"
edition = "2021" edition = "2021"
@ -10,7 +10,7 @@ audio = ["cpal"]
[dependencies] [dependencies]
log = "0.4" log = "0.4"
femtos = "0.1" femtos = "0.1"
moa_core = { path = "../../core" } moa-core = { path = "../../core" }
nix = { version = "0.25", optional = true } nix = { version = "0.25", optional = true }
[target.'cfg(not(target_arch = "wasm32"))'.dependencies] [target.'cfg(not(target_arch = "wasm32"))'.dependencies]

View File

@ -1,5 +1,5 @@
[package] [package]
name = "moa_console" name = "moa-console"
version = "0.1.0" version = "0.1.0"
edition = "2021" edition = "2021"
default-run = "moa-computie" default-run = "moa-computie"
@ -10,11 +10,11 @@ clap = "^4"
simple_logger = "^2" simple_logger = "^2"
femtos = "0.1" femtos = "0.1"
moa_core = { path = "../../core" } moa-core = { path = "../../core" }
moa_common = { path = "../common", features = ["tty"] } moa-common = { path = "../common", features = ["tty"] }
moa_systems_genesis = { path = "../../systems/genesis" } moa-systems-genesis = { path = "../../systems/genesis" }
moa_systems_computie = { path = "../../systems/computie" } moa-systems-computie = { path = "../../systems/computie" }
moa_m68k = { path = "../../cpus/m68k" } moa-m68k = { path = "../../cpus/m68k" }
moa_peripherals_generic = { path = "../../peripherals/generic" } moa-peripherals-generic = { path = "../../peripherals/generic" }
moa_peripherals_motorola = { path = "../../peripherals/motorola" } moa-peripherals-motorola = { path = "../../peripherals/motorola" }

View File

@ -1,5 +1,5 @@
[package] [package]
name = "moa_minifb" name = "moa-minifb"
version = "0.1.0" version = "0.1.0"
edition = "2021" edition = "2021"
default-run = "moa-genesis" default-run = "moa-genesis"
@ -11,12 +11,12 @@ clap = "^4"
simple_logger = "^2" simple_logger = "^2"
femtos = "0.1" femtos = "0.1"
moa_core = { path = "../../core" } moa-core = { path = "../../core" }
moa_common = { path = "../common", features = ["audio"] } moa-common = { path = "../common", features = ["audio"] }
moa_systems_genesis = { path = "../../systems/genesis" } moa-systems-genesis = { path = "../../systems/genesis" }
moa_systems_computie = { path = "../../systems/computie" } moa-systems-computie = { path = "../../systems/computie" }
moa_systems_trs80 = { path = "../../systems/trs80" } moa-systems-trs80 = { path = "../../systems/trs80" }
moa_systems_macintosh = { path = "../../systems/macintosh" } moa-systems-macintosh = { path = "../../systems/macintosh" }
moa_peripherals_yamaha = { path = "../../peripherals/yamaha" } moa-peripherals-yamaha = { path = "../../peripherals/yamaha" }

View File

@ -1,5 +1,5 @@
[package] [package]
name = "moa_pixels" name = "moa-pixels"
version = "0.1.0" version = "0.1.0"
edition = "2021" edition = "2021"
@ -9,10 +9,10 @@ pixels = "0.12"
winit = "0.28" winit = "0.28"
femtos = "0.1" femtos = "0.1"
moa_core = { path = "../../core" } moa-core = { path = "../../core" }
moa_common = { path = "../common", features = ["audio"] } moa-common = { path = "../common", features = ["audio"] }
moa_systems_genesis = { path = "../../systems/genesis" } moa-systems-genesis = { path = "../../systems/genesis" }
[target.'cfg(target_arch = "wasm32")'.dependencies] [target.'cfg(target_arch = "wasm32")'.dependencies]
console_error_panic_hook = "0.1" console_error_panic_hook = "0.1"

View File

@ -1,5 +1,5 @@
[package] [package]
name = "moa_audio" name = "moa-audio"
version = "0.1.0" version = "0.1.0"
edition = "2021" edition = "2021"

View File

@ -1,7 +1,7 @@
[package] [package]
name = "moa_parsing" name = "moa-parsing"
version = "0.1.0" version = "0.1.0"
edition = "2021" edition = "2021"
[dependencies] [dependencies]
moa_core = { path = "../../core" } moa-core = { path = "../../core" }

View File

@ -1,9 +1,9 @@
[package] [package]
name = "moa_peripherals_generic" name = "moa-peripherals-generic"
version = "0.1.0" version = "0.1.0"
edition = "2021" edition = "2021"
[dependencies] [dependencies]
log = "0.4" log = "0.4"
femtos = "0.1" femtos = "0.1"
moa_core = { path = "../../core" } moa-core = { path = "../../core" }

View File

@ -1,9 +1,9 @@
[package] [package]
name = "moa_peripherals_mos" name = "moa-peripherals-mos"
version = "0.1.0" version = "0.1.0"
edition = "2021" edition = "2021"
[dependencies] [dependencies]
log = "0.4" log = "0.4"
femtos = "0.1" femtos = "0.1"
moa_core = { path = "../../core" } moa-core = { path = "../../core" }

View File

@ -1,9 +1,9 @@
[package] [package]
name = "moa_peripherals_motorola" name = "moa-peripherals-motorola"
version = "0.1.0" version = "0.1.0"
edition = "2021" edition = "2021"
[dependencies] [dependencies]
log = "0.4" log = "0.4"
femtos = "0.1" femtos = "0.1"
moa_core = { path = "../../core" } moa-core = { path = "../../core" }

View File

@ -1,11 +1,11 @@
[package] [package]
name = "moa_peripherals_yamaha" name = "moa-peripherals-yamaha"
version = "0.1.0" version = "0.1.0"
edition = "2021" edition = "2021"
[dependencies] [dependencies]
log = "^0.4" log = "^0.4"
femtos = "0.1" femtos = "0.1"
moa_core = { path = "../../core" } moa-core = { path = "../../core" }
moa_audio = { path = "../../libraries/audio" } moa-audio = { path = "../../libraries/audio" }
lazy_static = "1.4.0" lazy_static = "1.4.0"

View File

@ -1,9 +1,9 @@
[package] [package]
name = "moa_peripherals_zilog" name = "moa-peripherals-zilog"
version = "0.1.0" version = "0.1.0"
edition = "2021" edition = "2021"
[dependencies] [dependencies]
log = "0.4" log = "0.4"
femtos = "0.1" femtos = "0.1"
moa_core = { path = "../../core" } moa-core = { path = "../../core" }

View File

@ -1,12 +1,12 @@
[package] [package]
name = "moa_systems_computie" name = "moa-systems-computie"
version = "0.1.0" version = "0.1.0"
edition = "2021" edition = "2021"
[dependencies] [dependencies]
log = "0.4" log = "0.4"
femtos = "0.1" femtos = "0.1"
moa_core = { path = "../../core" } moa-core = { path = "../../core" }
moa_m68k = { path = "../../cpus/m68k" } moa-m68k = { path = "../../cpus/m68k" }
moa_peripherals_generic = { path = "../../peripherals/generic" } moa-peripherals-generic = { path = "../../peripherals/generic" }
moa_peripherals_motorola = { path = "../../peripherals/motorola" } moa-peripherals-motorola = { path = "../../peripherals/motorola" }

View File

@ -1,13 +1,13 @@
[package] [package]
name = "moa_systems_genesis" name = "moa-systems-genesis"
version = "0.1.0" version = "0.1.0"
edition = "2021" edition = "2021"
[dependencies] [dependencies]
log = "0.4" log = "0.4"
femtos = "0.1" femtos = "0.1"
moa_core = { path = "../../core" } moa-core = { path = "../../core" }
moa_peripherals_yamaha = { path = "../../peripherals/yamaha" } moa-peripherals-yamaha = { path = "../../peripherals/yamaha" }
moa_m68k = { path = "../../cpus/m68k" } moa-m68k = { path = "../../cpus/m68k" }
moa_z80 = { path = "../../cpus/z80" } moa-z80 = { path = "../../cpus/z80" }

View File

@ -1,12 +1,12 @@
[package] [package]
name = "moa_systems_macintosh" name = "moa-systems-macintosh"
version = "0.1.0" version = "0.1.0"
edition = "2021" edition = "2021"
[dependencies] [dependencies]
log = "0.4" log = "0.4"
femtos = "0.1" femtos = "0.1"
moa_core = { path = "../../core" } moa-core = { path = "../../core" }
moa_m68k = { path = "../../cpus/m68k" } moa-m68k = { path = "../../cpus/m68k" }
moa_peripherals_mos = { path = "../../peripherals/mos" } moa-peripherals-mos = { path = "../../peripherals/mos" }
moa_peripherals_zilog = { path = "../../peripherals/zilog" } moa-peripherals-zilog = { path = "../../peripherals/zilog" }

View File

@ -1,11 +1,11 @@
[package] [package]
name = "moa_systems_trs80" name = "moa-systems-trs80"
version = "0.1.0" version = "0.1.0"
edition = "2021" edition = "2021"
[dependencies] [dependencies]
log = "0.4" log = "0.4"
femtos = "0.1" femtos = "0.1"
moa_core = { path = "../../core" } moa-core = { path = "../../core" }
moa_z80 = { path = "../../cpus/z80" } moa-z80 = { path = "../../cpus/z80" }

View File

@ -1,13 +1,13 @@
[package] [package]
name = "harte_tests" name = "harte-tests"
version = "0.1.0" version = "0.1.0"
edition = "2021" edition = "2021"
[dependencies] [dependencies]
femtos = "0.1" femtos = "0.1"
moa_core = { path = "../../emulator/core" } moa-core = { path = "../../emulator/core" }
moa_m68k = { path = "../../emulator/cpus/m68k" } moa-m68k = { path = "../../emulator/cpus/m68k" }
serde = "1.0" serde = "1.0"
serde_json = "1.0" serde_json = "1.0"
serde_derive = "1.0" serde_derive = "1.0"

View File

@ -1,12 +1,12 @@
[package] [package]
name = "rad_tests" name = "rad-tests"
version = "0.1.0" version = "0.1.0"
edition = "2021" edition = "2021"
[dependencies] [dependencies]
femtos = "0.1" femtos = "0.1"
moa_core = { path = "../../emulator/core" } moa-core = { path = "../../emulator/core" }
moa_z80 = { path = "../../emulator/cpus/z80" } moa-z80 = { path = "../../emulator/cpus/z80" }
serde = "1.0" serde = "1.0"
serde_json = "1.0" serde_json = "1.0"
serde_derive = "1.0" serde_derive = "1.0"