-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
127 lines (108 loc) · 3.71 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
[package]
name = "libui"
version = "0.13.2"
edition = "2021"
description = "User interface mock-up and demo for Rend3/Egui game-type cross platform applications"
# Usable targets:
# - native (on Linux)
# - x86_64-pc-windows-gnu
#
# When compiling on Linux for a Linux target, use
#
# cargo build --examples
#
# cargo build --release --examples
#
# When cross-compiling to Windows, use:
#
# cargo build --target x86_64-pc-windows-gnu --examples
#
# cargo build --profile winrelease --target x86_64-pc-windows-gnu --examples
#
# This will require a 16GB RAM computer and a minutes-long link, due to Rust bug #98302.
#
[package.metadata.bundle]
identifier = "com.animats.ui-mock"
category = "Game"
resources = ["src/images"]
icon = ["src/images/64x64.png", "src/images/32x32.png"]
[profile.release]
debug = true
lto = "thin"
# Use only when cross-compiling to target "x86_64-pc-windows-gnu"
# Ref Rust bug #98302. lto = "thin" fails for target x86_64-pc-windows-gnu. "fat" works, but means minutes-longer link times and more than 8GB of RAM to link.
[profile.winrelease]
inherits = "release"
lto = "fat"
[features]
# Replay file is a development feature and will be off for production
default = ["replay"]
# Feature "tracy" enables profiing with Tracy
tracy = ["tracy-client", "profiling/profile-with-tracy"]
# Feature "replay" enables saving and reloading the viewer state.
# This should not be enabled in production builds for content security.
replay = []
[[example]]
name = "ui-mock"
path = "src/examples/ui-mock/main.rs"
[dependencies]
# Rendering-related
env_logger = { version = "0.10.1" }
glam = {version = "^0.28", features = ["bytemuck"]}
histogram = "0.6.9"
image = { version = "0.24", default-features = false, features = ["png", "jpeg"]}
pico-args = "0.4"
pollster = "0.2.4"
profiling = { version = "1", default-features = false }
# Now using Rend3-hp.
rend3 = { version = "^0.23.0", git = 'https://github.com/John-Nagle/rend3-hp' }
rend3-egui = { version = "^0.23.0", git = 'https://github.com/John-Nagle/rend3-hp' }
rend3-framework = { version = "^0.23.0", git = 'https://github.com/John-Nagle/rend3-hp' }
rend3-routine = { version = "^0.23.0", git = 'https://github.com/John-Nagle/rend3-hp' }
# Winit integration with egui (turn off the clipboard feature)
egui-winit = { version = "0.30", default-features = false, features = ["links", "wayland"] }
rustc-hash = "1"
smallvec = "1"
tracy-client = {version = "0.17", optional = true }
winit = "^0.30"
# The egui immediate mode gui library
# Winit integration with egui (turn off the clipboard feature)
egui = "^0.30"
epaint = "^0.30"
egui_plot = "^0.30"
# Embedding shaders. This forces shaders to be compiled into the executable
# rather than loaded at run time. That's because rust-embed won't work cross platform
# where source and target file systems are different. Version must match that used in rend3 so
# that feature merging takes place.
rust-embed = { version = "8.2.0", features = ["debug-embed"] }
# End of Rend3 compatibilty section.
####egui_winit_platform = "0.16.0"
# Opening URL's
webbrowser = "0.8.3"
rfd = "0.15"
futures = "0.3.21"
raw-window-handle = "0.6"
# Internationalization
once_cell = "1.12.0"
serde = { version = "1.0", features = ["derive"]}
serde_json = "1.0"
sys-locale = "0.2.0"
oxilangtag = "0.1.3"
# Dark mode
dark-light = "0.2.3"
# Preferences
directories = "4.0"
# System information
sysinfo = { version = "0.28", default-features = false }
# Concurrency
crossbeam-channel = "0.5"
# Error handling
log = "0.4.17"
simplelog = { version = "*", default-features = false }
anyhow = "1.0"
# Security
md5 = "0.7.0"
zeroize = {version = "1.5.7", features = ["zeroize_derive"]}
keyring = "1.2.0"
hex = "0.4.2"
git-version = "0.3.5"