45 lines
1.5 KiB
TOML
45 lines
1.5 KiB
TOML
# focus — LLM agent framework
|
|
#
|
|
# This is a Cargo workspace. The virtual manifest below defines the member
|
|
# crates and the shared dependency versions. See AGENTS.md for the full
|
|
# engineering spec, including the strict dependency allowlist.
|
|
|
|
[workspace]
|
|
resolver = "2"
|
|
members = [
|
|
"crates/focus-json",
|
|
"crates/focus-core",
|
|
"crates/focus-transport",
|
|
"crates/focus-providers",
|
|
"crates/focus-tools",
|
|
"crates/focus-harness",
|
|
"crates/focus-cli",
|
|
]
|
|
|
|
# Shared dependency versions. Member crates reference these with
|
|
# `tokio.workspace = true` etc. so versions stay in sync across the workspace.
|
|
[workspace.package]
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
rust-version = "1.75"
|
|
license = "MIT"
|
|
|
|
[workspace.dependencies]
|
|
# --- allowed runtime dependencies (see AGENTS.md §2.1) ---------------------
|
|
tokio = { version = "1", features = ["rt", "sync", "macros", "net", "io-util", "fs", "process", "rt-multi-thread", "signal", "time"] }
|
|
rustls = { version = "0.23", default-features = false, features = ["ring", "std"] }
|
|
tokio-rustls = { version = "0.26", default-features = false, features = ["ring", "logging", "tls12"] }
|
|
rustls-native-certs = "0.7"
|
|
|
|
# --- internal crates -------------------------------------------------------
|
|
focus-json = { path = "crates/focus-json" }
|
|
focus-core = { path = "crates/focus-core" }
|
|
focus-transport = { path = "crates/focus-transport" }
|
|
focus-providers = { path = "crates/focus-providers" }
|
|
focus-tools = { path = "crates/focus-tools" }
|
|
focus-harness = { path = "crates/focus-harness" }
|
|
|
|
[profile.release]
|
|
lto = true
|
|
codegen-units = 1
|