Skip to content

Commit 646b64c

Browse files
committed
wip: generate some stubs for several layers
1 parent acd222d commit 646b64c

File tree

17 files changed

+2094
-323
lines changed

17 files changed

+2094
-323
lines changed

Cargo.lock

Lines changed: 31 additions & 195 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sandpolis-desktop/Cargo.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,18 @@ anyhow = { workspace = true }
1414
# "linux-pkg-config",
1515
# ] }
1616
enigo = { version = "0.3.0", optional = true }
17+
ratatui = { workspace = true, optional = true }
1718
ratatui-image = { workspace = true, optional = true }
19+
image = { workspace = true, optional = true }
1820
bevy = { workspace = true, optional = true }
1921
tracing = { workspace = true }
2022
sandpolis-core = { path = "../sandpolis-core", version = "0.0.1" }
2123
sandpolis-instance = { path = "../sandpolis-instance", version = "0.0.1" }
24+
sandpolis-client = { path = "../sandpolis-client", version = "0.0.1", optional = true }
2225

2326
[features]
2427
agent = ["dep:enigo"]
2528
client = []
2629
client-gui = ["client", "dep:bevy"]
27-
client-tui = ["client", "dep:ratatui-image"]
30+
client-tui = ["client", "dep:ratatui", "dep:ratatui-image", "dep:image", "dep:sandpolis-client"]
2831
server = []
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#[cfg(feature = "client-gui")]
22
pub mod gui;
33

4-
// #[cfg(feature = "client-tui")]
5-
// pub mod tui;
4+
#[cfg(feature = "client-tui")]
5+
pub mod tui;

0 commit comments

Comments
 (0)