-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathCargo.toml
More file actions
51 lines (45 loc) · 1.17 KB
/
Copy pathCargo.toml
File metadata and controls
51 lines (45 loc) · 1.17 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
[workspace]
resolver = "2"
members = [
"crates/common",
"crates/core",
"crates/runtime",
"crates/tui",
"crates/cli",
"crates/autoresearch",
]
[workspace.package]
version = "0.4.0"
edition = "2024"
license = "MIT"
repository = "https://github.com/madebyaris/native-cli-ai"
homepage = "https://nca-cli.com"
# Release profile optimized for size and speed
[profile.release]
opt-level = 3
lto = "thin"
codegen-units = 1
strip = true
panic = "abort"
# Dev profile for faster builds during development
[profile.dev]
opt-level = 0
[workspace.dependencies]
# Shared across multiple crates
serde = { version = "1", features = ["derive"] }
serde_json = "1"
toml = "0.9"
tokio = { version = "1", features = ["full"] }
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
thiserror = "2"
anyhow = "1"
reqwest = { version = "0.12", default-features = false, features = ["json", "rustls-tls"] }
# External crates
cli-prompts = "0.1"
# Internal crates
nca-common = { path = "crates/common" }
nca-core = { path = "crates/core" }
nca-runtime = { path = "crates/runtime" }
nca-tui = { path = "crates/tui" }
nca-autoresearch = { path = "crates/autoresearch" }