move to workspaces

This commit is contained in:
2026-03-18 13:13:29 +00:00
parent 5474c50e77
commit f7e72e717d
9 changed files with 67 additions and 20 deletions

View File

@@ -1,17 +1,12 @@
[package]
name = "battery_logger"
version = "0.1.0"
edition = "2024"
[workspace]
members = [
"src/tui",
"src/daemon",
"src/data",
]
resolver = "2"
[[bin]]
name = "daemon"
path = "src/main.rs"
[[bin]]
name = "tui"
path = "src/tui/main.rs"
[dependencies]
crossterm = "0.29.0"
ratatui = "0.30.0"
rkyv = {version = "0.8.15"}
[workspace.dependencies]
# Define versions here once; crates can inherit them
rkyv = "0.8.15"
data = { path = "src/data" }