-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
36 lines (33 loc) · 1.29 KB
/
Copy pathCargo.toml
File metadata and controls
36 lines (33 loc) · 1.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
[package]
name = "cortex-tui-designer"
version = "0.1.0"
edition = "2024"
license = "Apache-2.0"
rust-version = "1.85"
description = "Standalone TUI design harness for Cortex (sibling of cortex-code)"
publish = false
[[bin]]
name = "cortex-tui-designer"
path = "src/main.rs"
[lib]
name = "cortex_tui_designer"
path = "src/lib.rs"
[dependencies]
# =============================================================================
# Path-resolution policy (plan C4) — Cargo CANNOT use env vars in `path =`.
# CORTEX_CODE_PATH is documentation + helper scripts only (see README).
#
# Layouts (pick one; default committed = local sibling):
# local: tui path = "../cortex-code/crates/tui"
# designer and cortex-code are siblings under the same parent dir
# ci: tui path = "./cortex-code/crates/tui"
# cortex-code is checked out inside the designer workspace root
#
# Switch with: ./scripts/use-layout.sh local|ci
# =============================================================================
# Product TUI crate with designer fixture bridge + tui::draw re-export.
tui = { path = "../cortex-code/crates/tui", features = ["designer"] }
# Align with cortex-code workspace pins (Cargo.toml [workspace.dependencies]).
ratatui = "0.29"
crossterm = "0.28"
clap = { version = "4", features = ["derive"] }