[workspace]
resolver = "2"
members = [
    "crates/tb-frontend",
    "crates/tb-vm",
    "crates/tb-runtime",
    "crates/tb-ui",
    "crates/tb-cli",
    "crates/tb-ide",
    "crates/tb-runner",
    "crates/tb-export",
]

[workspace.package]
version = "0.1.0"
edition = "2021"
license = "MIT"
repository = ""
authors = ["Georg Bauer"]

[workspace.dependencies]
# UI / Terminal
ratatui = "0.29"
crossterm = "0.28"

# Betriebssystemsignale als Ereignisquelle (SIGNAL, design.md D8).
# Liegt ohnehin im Baum: crossterm nutzt es unter Unix fuer SIGWINCH.
signal-hook = "0.3"

# Text und Zeit
unicode-width = "0.2"
# Nur fuer den UTC-Versatz zu einem Zeitpunkt (siehe design.md, D1/D2).
jiff = "0.2"

# Allgemein
anyhow = "1"
thiserror = "2"
log = "0.4"

# Interne Crates
tb-frontend = { path = "crates/tb-frontend" }
tb-vm = { path = "crates/tb-vm" }
tb-runner = { path = "crates/tb-runner" }
tb-export = { path = "crates/tb-export" }
tb-runtime = { path = "crates/tb-runtime" }
tb-ui = { path = "crates/tb-ui" }

[profile.release]
lto = true
codegen-units = 1
