Compare commits

..

No commits in common. "04f4af5f794c16a89a9462e861cc8a83be53813e" and "e0a61dc68077eaf6b8238d2ba3a50352c0cad323" have entirely different histories.

5 changed files with 87 additions and 1315 deletions

1381
Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -8,7 +8,6 @@ edition = "2021"
[dependencies]
anyhow = "1.0.89"
clap = { version = "4.5.20", features = ["derive"] }
floem = { git = "https://github.com/lapce/floem", branch = "main" }
iced = "0.13.1"
iced-tetris = { git = "https://code.everydayimshuflin.com/greg/tetres" }

View File

@ -1,7 +0,0 @@
use anyhow::Result;
pub(crate) fn main() -> Result<()> {
Ok(())
}

View File

@ -1,7 +0,0 @@
use anyhow::Result;
pub(crate) fn main() -> Result<()> {
Ok(())
}

View File

@ -1,5 +1,3 @@
mod floem;
mod gpui;
mod iced;
use anyhow::{anyhow, Result};
@ -17,8 +15,6 @@ enum Command {
IcedTetris,
Egui,
Druid,
Gpui,
Floem
}
fn main() -> Result<()> {
@ -29,8 +25,6 @@ fn main() -> Result<()> {
Command::IcedTetris => iced_tetris::tetris_main().map_err(|err| anyhow!(err)),
Command::Egui => egui_main(),
Command::Druid => druid_main(),
Command::Gpui => gpui::main(),
Command::Floem => floem::main(),
}
}