feat: add candle deps (#232)

This commit is contained in:
RainbowBird
2025-06-27 18:54:06 +08:00
committed by GitHub
parent bb2799cea7
commit 9b85fe4f6b
3 changed files with 2276 additions and 45 deletions
Generated
+2243 -33
View File
File diff suppressed because it is too large Load Diff
+27 -12
View File
@@ -1,12 +1,12 @@
[package]
name = "app"
version.workspace = true
description = "Airi tamagotchi app built with Tauri"
description = "AIRI tamagotchi app built with Tauri"
authors = [ "LemonNekoGH <self@lemonneko.moe>" ]
license = "MIT"
repository = "https://github.com/moeru-ai/airi"
edition = "2021"
rust-version = "1.77.2"
edition = "2024"
rust-version = "1.85.0"
publish = false
[lib]
@@ -34,22 +34,37 @@ tauri-plugin-prevent-default = "1.3"
serde = { version = "1.0.219", features = ["derive"] }
serde_json = "1.0.140"
tokio = "1.45.1"
[profile.dev]
incremental = true
opt-level = 0
debug = true
[profile.dev.package."*"]
opt-level = 1
debug = false
candle-core = { version = "0.9.1" }
candle-nn = { version = "0.9.1" }
candle-transformers = { version = "0.9.1" }
candle-onnx = { version = "0.9.1" }
cpal = "0.16.0"
crossbeam-channel = "0.5.15"
anyhow = "1.0.98"
hf-hub = "0.4.3"
symphonia = "0.5.4"
rubato = "0.16.2"
byteorder = "1.5.0"
clap = { version = "4.5.40", features = ["derive"] }
tokenizers = "0.21.2"
[target.'cfg(target_os = "macos")'.dependencies]
objc2 = "0.6.1"
objc2-foundation = "0.3.1"
candle-core = { version = "0.9.1", features = ["metal"] }
candle-nn = { version = "0.9.1", features = ["metal"] }
candle-transformers = { version = "0.9.1", features = ["metal"] }
[target.'cfg(target_os = "windows")'.dependencies]
windows = { version = "0.61.1", features = ["Win32_UI_WindowsAndMessaging", "Win32_Foundation"] }
candle-core = { version = "0.9.1", features = ["cuda"] }
candle-nn = { version = "0.9.1", features = ["cuda"] }
candle-transformers = { version = "0.9.1", features = ["cuda"] }
[target.'cfg(target_os = "linux")'.dependencies]
candle-core = { version = "0.9.1", features = ["cuda"] }
candle-nn = { version = "0.9.1", features = ["cuda"] }
candle-transformers = { version = "0.9.1", features = ["cuda"] }
[target.'cfg(not(any(target_os = "android", target_os = "ios")))'.dependencies]
tauri-plugin-global-shortcut = "2.0.0"
+6
View File
@@ -26,6 +26,7 @@ words:
- browserbasehq
- bumpp
- catppuccin
- cdylib
- cientos
- cjkfonts
- clippy
@@ -47,6 +48,7 @@ words:
- cubismmotionqueuemanager
- cubismusermodel
- cubismviewmatrix
- cuda
- culori
- cuteen
- dataurl
@@ -151,6 +153,8 @@ words:
- qwen
- rehype
- reka
- resampler
- rlib
- rmcp
- rolldown
- rushstack
@@ -158,6 +162,7 @@ words:
- saccades
- SAVEPOINT
- sensenova
- serde
- Shadcn
- shiki
- shikijs
@@ -167,6 +172,7 @@ words:
- smallserial
- Sniglet
- ssml
- staticlib
- stepfun
- supergroup
- superjson