feat: initialize core, gui-eframe, and tui-ratatui crates and use them in the multibinary

This commit is contained in:
J / Jacob Babich
2024-10-05 23:27:47 -04:00
parent dbccf23a50
commit 18cb5043cf
12 changed files with 96 additions and 6 deletions

16
gui-eframe/Cargo.toml Normal file
View File

@@ -0,0 +1,16 @@
[package]
name = "ac-qu-ai-nt-gui-eframe"
version = "0.0.1"
edition = "2021"
rust-version = "1.76"
authors = { workspace = true }
license = { workspace = true }
repository = { workspace = true }
[features]
default = ["tracing"]
tracing = ["dep:tracing"]
[dependencies]
tracing = { workspace = true, optional = true }

4
gui-eframe/src/lib.rs Normal file
View File

@@ -0,0 +1,4 @@
pub fn main() {
#[cfg(feature = "tracing")]
tracing::info!("Hello from the eframe-based GUI!");
}

1
gui-eframe/src/main.rs Normal file
View File

@@ -0,0 +1 @@
use ac_qu_ai_nt_gui_eframe::main;