Native-node kääntyy nyt macOS:llä ja muilla koneilla ilman NVIDIA-ajureita: cargo run --no-default-features ← vain Ollama, ei GPU-tunnistusta cargo run ← oletus: GPU-tunnistus mukana (nvml + wgpu) Feature flag "gpu-detect" kontrolloi nvml-wrapper ja wgpu -riippuvuuksia. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
22 lines
615 B
TOML
22 lines
615 B
TOML
[package]
|
|
name = "native-node"
|
|
version = "0.2.2"
|
|
edition = "2024"
|
|
|
|
[features]
|
|
default = ["gpu-detect"]
|
|
gpu-detect = ["nvml-wrapper", "wgpu"]
|
|
|
|
[dependencies]
|
|
tokio = { version = "1.36", features = ["full"] }
|
|
tokio-tungstenite = { version = "0.21", features = ["native-tls"] }
|
|
futures-util = "0.3"
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = "1.0"
|
|
sysinfo = "0.30"
|
|
nvml-wrapper = { version = "0.10", optional = true }
|
|
wgpu = { version = "24", optional = true }
|
|
reqwest = { version = "0.12", features = ["json"] }
|
|
tracing = "0.1"
|
|
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
|