Files
ForgeLM/Cargo.toml
T

62 lines
1.2 KiB
TOML

[workspace]
resolver = "2"
members = [
"crates/llama-sys",
"crates/inference-core",
"crates/inference-server",
"crates/api-contracts",
"crates/metrics",
]
[workspace.package]
version = "0.1.0"
edition = "2021"
authors = []
license = "MIT"
[workspace.dependencies]
# Async runtime
tokio = { version = "1", features = ["full"] }
axum = { version = "0.8", features = ["macros"] }
hyper = { version = "1", features = ["full"] }
tower = "0.5"
tower-http = { version = "0.6", features = ["cors", "trace"] }
# Serialization
serde = { version = "1", features = ["derive"] }
serde_json = "1"
# Error handling
anyhow = "1"
thiserror = "2"
# Logging / Tracing
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter", "json"] }
# FFI / dynamic loading
libloading = "0.8"
once_cell = "1"
# Utilities
uuid = { version = "1", features = ["v4"] }
chrono = { version = "0.4", features = ["serde"] }
futures = "0.3"
tokio-stream = "0.1"
bytes = "1"
[profile.dev]
opt-level = 0
debug = true
[profile.release]
opt-level = 3
lto = "thin"
codegen-units = 1
strip = "symbols"
[profile.release-debug]
inherits = "release"
debug = true
strip = "none"