-
Notifications
You must be signed in to change notification settings - Fork 38
/
Cargo.toml
72 lines (63 loc) · 1.67 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
63
64
65
66
67
68
69
70
71
[workspace]
resolver = "2"
members = [
"flux",
"flux-desktop",
"flux-wasm",
"flux-gl/flux",
"flux-gl/flux-desktop",
"flux-gl/flux-wasm",
]
[workspace.package]
version = "6.0.0"
description = "An open-source tribute to the macOS Drift screensaver"
edition = "2021"
license = "MIT"
license-file = "LICENSE"
homepage = "https://flux.sandydoo.me"
repository = "https://github.com/sandydoo/flux/"
authors = ["Sander Melnikov <hey@sandydoo.me"]
[workspace.dependencies.wgpu]
version = "22.0"
[workspace.dependencies.image]
features = ["jpeg", "png"]
version = "0.25"
[workspace.dependencies]
env_logger = "0.10"
bytemuck = { version = "1.4", features = ["derive"] }
flux = { path = "./flux" }
futures = "0.3"
getrandom = { version = "0.2", features = ["js"] }
half = { version = "2", features = ["bytemuck"] }
log = "0.4"
pollster = "0.3"
rand = { version = "0.8", features = ["getrandom"] }
rand_seeder = "0.2"
rand_pcg = "0.3"
raw-window-handle = "0.6"
rustc-hash = "1.1"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
thiserror = "1"
tokio = { version = "1.36.0", features = ["full"] }
winit = "0.29"
# wasm32
console_error_panic_hook = "0.1"
console_log = "1.0"
gloo-utils = { version = "0.2", features = ["serde"] }
js-sys = "0.3"
# Match with Nix version
wasm-bindgen = "=0.2.92"
wasm-bindgen-futures = "0.4"
web-sys = "0.3"
# GL
glow = "0.13"
glutin = "0.28"
# The unoptimized build is too slow
[profile.dev.package.image]
opt-level = 3
[profile.release]
codegen-units = 1 # Allow further optimisations by disabling parallel compilation
lto = true # Enable link-time optimisations
opt-level = "s" # Optimise for size
panic = "abort" # Strip expensive panic unwinding code