Files
freedak f7a720204a Update: 将子项目从 submodule 转为完整内容
- 移除 GovAI, nomifun-tauri, 算力盒子 的 submodule 引用
- 添加所有子项目的完整源代码
- 保留原始 .git 为 .git.bak 备份
2026-07-04 19:20:46 +08:00

57 lines
1.7 KiB
TOML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
[package]
name = "nomifun-runtime"
version.workspace = true
edition.workspace = true
[package.metadata.nomifun-runtime]
# 1.3.x required: 1.1.38 has a stdin-buffering bug in `bun x --bun` that
# prevents Nomi's ACP adapter (long-lived stdio protocol) from ever
# receiving the initialize request — see nomicore fix notes for
# Nomifun#2828. If bumping, keep >= 1.3.13.
bun_version = "1.3.13"
[dependencies]
thiserror.workspace = true
dirs.workspace = true
sha2.workspace = true
hex.workspace = true
which.workspace = true
zstd.workspace = true
fs2.workspace = true
serde = { workspace = true }
serde_json.workspace = true
tracing.workspace = true
tokio = { workspace = true, features = ["process", "io-util"] }
[build-dependencies]
sha2.workspace = true
hex.workspace = true
zstd.workspace = true
zip = { workspace = true }
reqwest = { version = "0.12", default-features = false, features = ["blocking", "rustls-tls"] }
toml = { workspace = true }
dirs.workspace = true
[dev-dependencies]
tempfile.workspace = true
zstd.workspace = true
sha2.workspace = true
hex.workspace = true
[target.'cfg(unix)'.dependencies]
libc.workspace = true
wait-timeout = "0.2"
[target.'cfg(windows)'.dependencies]
# Job Objectbased child-tree cleanup (see src/job.rs). Win32_Security gates
# CreateJobObjectW (its SECURITY_ATTRIBUTES param); Win32_System_Threading
# gates JOBOBJECT_EXTENDED_LIMIT_INFORMATION (its IO_COUNTERS field). Do not
# trim these — they currently also arrive via tokio's feature unification,
# which would mask the breakage until tokio bumps its windows-sys major.
windows-sys = { version = "0.61", features = [
"Win32_Foundation",
"Win32_Security",
"Win32_System_JobObjects",
"Win32_System_Threading",
] }