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] [package]
name = "app" name = "app"
version.workspace = true version.workspace = true
description = "Airi tamagotchi app built with Tauri" description = "AIRI tamagotchi app built with Tauri"
authors = [ "LemonNekoGH <self@lemonneko.moe>" ] authors = [ "LemonNekoGH <self@lemonneko.moe>" ]
license = "MIT" license = "MIT"
repository = "https://github.com/moeru-ai/airi" repository = "https://github.com/moeru-ai/airi"
edition = "2021" edition = "2024"
rust-version = "1.77.2" rust-version = "1.85.0"
publish = false publish = false
[lib] [lib]
@@ -34,22 +34,37 @@ tauri-plugin-prevent-default = "1.3"
serde = { version = "1.0.219", features = ["derive"] } serde = { version = "1.0.219", features = ["derive"] }
serde_json = "1.0.140" serde_json = "1.0.140"
tokio = "1.45.1" tokio = "1.45.1"
candle-core = { version = "0.9.1" }
[profile.dev] candle-nn = { version = "0.9.1" }
incremental = true candle-transformers = { version = "0.9.1" }
opt-level = 0 candle-onnx = { version = "0.9.1" }
debug = true cpal = "0.16.0"
crossbeam-channel = "0.5.15"
[profile.dev.package."*"] anyhow = "1.0.98"
opt-level = 1 hf-hub = "0.4.3"
debug = false 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] [target.'cfg(target_os = "macos")'.dependencies]
objc2 = "0.6.1" objc2 = "0.6.1"
objc2-foundation = "0.3.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] [target.'cfg(target_os = "windows")'.dependencies]
windows = { version = "0.61.1", features = ["Win32_UI_WindowsAndMessaging", "Win32_Foundation"] } 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] [target.'cfg(not(any(target_os = "android", target_os = "ios")))'.dependencies]
tauri-plugin-global-shortcut = "2.0.0" tauri-plugin-global-shortcut = "2.0.0"
+6
View File
@@ -26,6 +26,7 @@ words:
- browserbasehq - browserbasehq
- bumpp - bumpp
- catppuccin - catppuccin
- cdylib
- cientos - cientos
- cjkfonts - cjkfonts
- clippy - clippy
@@ -47,6 +48,7 @@ words:
- cubismmotionqueuemanager - cubismmotionqueuemanager
- cubismusermodel - cubismusermodel
- cubismviewmatrix - cubismviewmatrix
- cuda
- culori - culori
- cuteen - cuteen
- dataurl - dataurl
@@ -151,6 +153,8 @@ words:
- qwen - qwen
- rehype - rehype
- reka - reka
- resampler
- rlib
- rmcp - rmcp
- rolldown - rolldown
- rushstack - rushstack
@@ -158,6 +162,7 @@ words:
- saccades - saccades
- SAVEPOINT - SAVEPOINT
- sensenova - sensenova
- serde
- Shadcn - Shadcn
- shiki - shiki
- shikijs - shikijs
@@ -167,6 +172,7 @@ words:
- smallserial - smallserial
- Sniglet - Sniglet
- ssml - ssml
- staticlib
- stepfun - stepfun
- supergroup - supergroup
- superjson - superjson