mirror of
https://github.com/AstrBotDevs/AstrBot
synced 2026-07-15 17:30:13 +08:00
- Add Rust orchestrator with async bootstrap pattern - Implement CLI with clap (start, stats, health subcommands) - Add protocol stubs (LSP, MCP, ACP, ABP) - Python bindings via pyo3 (_core module) - Use maturin as build backend - Add tombi.toml for schema config
43 lines
763 B
TOML
43 lines
763 B
TOML
[package]
|
|
name = "astrbot-core"
|
|
version = "4.25.0"
|
|
edition = "2024"
|
|
|
|
[lib]
|
|
name = "astrbot__core"
|
|
crate-type = ["cdylib", "rlib"]
|
|
|
|
[features]
|
|
default = ["python"]
|
|
python = ["pyo3"]
|
|
|
|
[dependencies]
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
toml = "1.1"
|
|
tokio = { version = "1", features = ["full"] }
|
|
tracing = "0.1"
|
|
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
|
|
anyhow = "1"
|
|
thiserror = "2"
|
|
async-trait = "0.1"
|
|
clap = { version = "4", features = ["derive"] }
|
|
|
|
pyo3 = { version = "0.28", features = [
|
|
"full",
|
|
"extension-module",
|
|
], optional = true }
|
|
|
|
[profile.release]
|
|
opt-level = 3
|
|
lto = "fat"
|
|
codegen-units = 1
|
|
strip = "symbols"
|
|
|
|
[profile.dev]
|
|
opt-level = 0
|
|
debug = 1
|
|
|
|
[profile.dev.package."*"]
|
|
opt-level = 0
|