Compare commits
2 Commits
e0a61dc680
...
04f4af5f79
Author | SHA1 | Date | |
---|---|---|---|
|
04f4af5f79 | ||
|
c6ba961faa |
1385
Cargo.lock
generated
1385
Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
@ -8,6 +8,7 @@ edition = "2021"
|
|||||||
[dependencies]
|
[dependencies]
|
||||||
anyhow = "1.0.89"
|
anyhow = "1.0.89"
|
||||||
clap = { version = "4.5.20", features = ["derive"] }
|
clap = { version = "4.5.20", features = ["derive"] }
|
||||||
|
floem = { git = "https://github.com/lapce/floem", branch = "main" }
|
||||||
iced = "0.13.1"
|
iced = "0.13.1"
|
||||||
iced-tetris = { git = "https://code.everydayimshuflin.com/greg/tetres" }
|
iced-tetris = { git = "https://code.everydayimshuflin.com/greg/tetres" }
|
||||||
|
|
||||||
|
7
src/floem.rs
Normal file
7
src/floem.rs
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
use anyhow::Result;
|
||||||
|
|
||||||
|
|
||||||
|
pub(crate) fn main() -> Result<()> {
|
||||||
|
|
||||||
|
Ok(())
|
||||||
|
}
|
7
src/gpui.rs
Normal file
7
src/gpui.rs
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
|
||||||
|
use anyhow::Result;
|
||||||
|
|
||||||
|
pub(crate) fn main() -> Result<()> {
|
||||||
|
|
||||||
|
Ok(())
|
||||||
|
}
|
@ -1,3 +1,5 @@
|
|||||||
|
mod floem;
|
||||||
|
mod gpui;
|
||||||
mod iced;
|
mod iced;
|
||||||
|
|
||||||
use anyhow::{anyhow, Result};
|
use anyhow::{anyhow, Result};
|
||||||
@ -15,6 +17,8 @@ enum Command {
|
|||||||
IcedTetris,
|
IcedTetris,
|
||||||
Egui,
|
Egui,
|
||||||
Druid,
|
Druid,
|
||||||
|
Gpui,
|
||||||
|
Floem
|
||||||
}
|
}
|
||||||
|
|
||||||
fn main() -> Result<()> {
|
fn main() -> Result<()> {
|
||||||
@ -25,6 +29,8 @@ fn main() -> Result<()> {
|
|||||||
Command::IcedTetris => iced_tetris::tetris_main().map_err(|err| anyhow!(err)),
|
Command::IcedTetris => iced_tetris::tetris_main().map_err(|err| anyhow!(err)),
|
||||||
Command::Egui => egui_main(),
|
Command::Egui => egui_main(),
|
||||||
Command::Druid => druid_main(),
|
Command::Druid => druid_main(),
|
||||||
|
Command::Gpui => gpui::main(),
|
||||||
|
Command::Floem => floem::main(),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user