Create Cargo workspace at v2/ level with members: src-tauri, bterminal-core, bterminal-relay. Extract PtyManager and SidecarManager into shared bterminal-core crate with EventSink trait for abstracting event emission. TauriEventSink wraps AppHandle. src-tauri pty.rs and sidecar.rs become thin re-exports. Move Cargo.lock to workspace root. Add v2/target/ to .gitignore.
36 lines
1,017 B
TOML
36 lines
1,017 B
TOML
[package]
|
|
name = "bterminal"
|
|
version = "0.1.0"
|
|
description = "Multi-session Claude agent dashboard"
|
|
authors = ["DexterFromLab"]
|
|
license = "MIT"
|
|
edition = "2021"
|
|
rust-version = "1.77.2"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[lib]
|
|
name = "bterminal_lib"
|
|
crate-type = ["staticlib", "cdylib", "rlib"]
|
|
|
|
[build-dependencies]
|
|
tauri-build = { version = "2.5.6", features = [] }
|
|
|
|
[dependencies]
|
|
bterminal-core = { path = "../bterminal-core" }
|
|
serde_json = "1.0"
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
log = "0.4"
|
|
tauri = { version = "2.10.3", features = [] }
|
|
tauri-plugin-log = "2"
|
|
rusqlite = { version = "0.31", features = ["bundled"] }
|
|
dirs = "5"
|
|
notify = { version = "6", features = ["macos_fsevent"] }
|
|
tauri-plugin-updater = "2.10.0"
|
|
uuid = { version = "1", features = ["v4"] }
|
|
tokio-tungstenite = { version = "0.21", features = ["native-tls"] }
|
|
tokio = { version = "1", features = ["full"] }
|
|
futures-util = "0.3"
|
|
|
|
[dev-dependencies]
|
|
tempfile = "3"
|