[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 Object–based 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", ] }