generated from emilk/eframe_template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
44 lines (38 loc) · 1.12 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
[package]
name = "encodec-explorer"
version = "0.1.1"
authors = ["Joel Nises <joel.nises@gmail.com>"]
edition = "2021"
include = ["LICENSE-APACHE", "LICENSE-MIT", "**/*.rs", "Cargo.toml"]
rust-version = "1.81"
[package.metadata.docs.rs]
all-features = true
targets = ["wasm32-unknown-unknown"]
[build-dependencies]
hf-hub = "0.3.2"
[dependencies]
egui = "0.29"
eframe = { version = "0.29", default-features = false, features = [
"default_fonts", # Embed the default egui fonts.
"glow", # Use the glow rendering backend. Alternative: "wgpu".
] }
log = "0.4"
candle-core = "0.7"
anyhow = { version = "1.0", features = ["backtrace"] }
candle-nn = "0.7"
candle-transformers = "0.7"
crossbeam = "0.8.4"
cpal = { version = "0.15.3", features = ["wasm-bindgen"] }
getrandom = { version = "0.2", features = ["js"] }
reqwest = "0.12.5"
poll-promise = { version = "0.3.0", features = ["web"] }
wasm-bindgen-futures = "0.4"
web-sys = "0.3.4"
num = "0.4.3"
js-sys = "0.3.70"
gloo-utils = "0.2.0"
[profile.release]
opt-level = 2 # fast and small wasm
# Optimize all dependencies even in debug builds:
[profile.dev.package."*"]
opt-level = 2