-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Cargo.toml
62 lines (55 loc) · 1.32 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
[package]
name = "lora_inspector"
version = "1.0.0"
edition = "2021"
license = "MIT"
repository = "https://github.com/rockerBOO/lora-inspector-rs"
description = "LoRA inspector for Stable Diffusion"
[profile.dev.package]
insta.opt-level = 3
[workspace]
members = ["crates/*"]
resolver = "2"
[workspace.package]
version = "1.0.0"
authors = ["Dave Lage"]
edition = "2021"
license = "MIT"
repository = "https://github.com/rockerBOO/lora-inspector-rs"
description = "LoRA inspector for Stable Diffusion"
# [features]
# default = ["console_error_panic_hook"]
# [dependencies]
# candle-core = { version = "0.3.2" }
# console_error_panic_hook = { version = "0.1.6", optional = true }
# safetensors = "0.3.1"
# serde-wasm-bindgen = "0.4"
# serde_json = "1.0.108"
# serde_with = "3.4.0"
# wasm-bindgen = "0.2"
#
[workspace.dependencies]
candle-core = { version = "0.3.2" }
getrandom = { version = "0.2", features = ["js"] }
num = "0.4.1"
pest = "2.6"
pest_derive = "2.6"
safetensors = "0.3.1"
serde = { version = "1.0", features = ["derive"] }
serde-wasm-bindgen = "0.4"
serde_json = "1.0.108"
serde_with = "3.4.0"
wasm-bindgen = "0.2"
# [profile.release]
# lto = true
# opt-level = 's'
# panic = "abort"
[profile.release]
lto = true
opt-level = 'z'
# opt-level = 's'
debug = false
codegen-units = 1
panic = "abort"
# strip = true
incremental = false