-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
45 lines (36 loc) · 1.1 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
[package]
name = "rust-pipes"
version = "0.2.0"
edition = "2021"
license = "Apache-2.0"
description = "A remake of the 3D Pipes Screensaver from Windows 98 in Rust"
repository = "https://github.com/FaceFTW/rust-pipes"
autobins = true
[[bin]]
name = "rust-pipes"
path = "./src/main.rs"
[lib]
crate-type = ["cdylib", "rlib"]
name = "rust_pipes_lib"
[dependencies]
winit = "0.28"
three-d = { version = "0.17", features = ["window", "headless"] }
three-d-asset = { version = "0.7.0", features = ["obj"] }
fastrand = "2.1"
cfg-if = "1.0.0"
md5 = "0.7.0" # used for non-crypto seed translation
[dev-dependencies]
mockall = "0.12.1"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
clap = { version = "4", features = ["derive", "cargo"] }
[target.'cfg(target_arch = "wasm32")'.dependencies]
log = "0.4"
wasm-bindgen = "0.2"
wasm-bindgen-futures = "0.4"
console_error_panic_hook = "0.1"
fastrand = { version = "2.1", features = ["std", "js"] }
[target.'cfg(target_os="windows")'.build-dependencies]
winres = "0.1.12"
[profile.release]
lto = true
codegen-units = 1