-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
49 lines (41 loc) · 1.24 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
[package]
name = "arrata_app"
edition = "2021"
authors = ["Kaleb Burris <kaleb.r.burris@gmail.com>"]
version = "0.0.0"
description = "An application for handling Arrata character sheets."
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
serde_json = { version = "1.0.120", default-features = false}
dioxus-free-icons = { version = "0.8.6", features = ["bootstrap"] }
rand = { version = "0.8.5" , default-features = false }
dioxus = { version = "0.5.6" }
log = "0.4.22"
rfd = "0.14.1"
semver = "1.0.23"
bitcode = "0.6.3"
# Web dependencies
getrandom = { version = "0.2.15", optional = true }
wasm-logger = { version = "0.2.0", optional = true }
urlencoding = { version = "2.1.3", optional = true }
gloo-storage = { version = "0.3.0" }
[dependencies.arrata-lib]
git = "https://github.com/Arrata-TTRPG/Arrata-LIB"
branch = "main"
[[bin]]
name = "arrata_character_sheet_manager"
path = "src/main.rs"
[features]
desktop = ["dioxus/desktop"]
web = ["dioxus/web", "getrandom/js", "dep:wasm-logger", "dep:urlencoding"]
[profile.release]
opt-level = 'z'
lto = true
codegen-units = 1
panic = "abort"
strip = true
[profile.release.build-override]
codegen-units = 1
debug = false
opt-level = "z"
strip = "symbols"