forked from naev/naev
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCargo.toml.in
More file actions
148 lines (137 loc) · 4.92 KB
/
Cargo.toml.in
File metadata and controls
148 lines (137 loc) · 4.92 KB
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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
[package]
name = @NAME@
version = @VERSION@
edition.workspace = true
rust-version.workspace = true
publish = false
build = "@BUILD@/build.rs"
[lints]
workspace = true
[lib]
path = @PATH@
[profile.release-with-debug]
inherits = "release"
debug = 1
debug-assertions = true
overflow-checks = true
[workspace]
resolver = "3"
members = [
"@BUILD@/src/core",
"@BUILD@/src/utils",
"@BUILD@/src/log",
"@BUILD@/src/gettext",
"@BUILD@/src/ndata",
"@BUILD@/src/renderer",
#"@BUILD@/src/toolkit",
"@BUILD@/src/pluginmgr",
#"@BUILD@/src/pluginmgr-cli",
"@BUILD@/src/pluginmgr-gui",
]
[workspace.package]
version = @VERSION@
edition = "2024"
rust-version = @RUSTCVERSION@ # Note this has to be set in meson.build too!
[workspace.lints.clippy]
not_unsafe_ptr_arg_deref = "allow"
[patch.crates-io]
iced = { git = "https://github.com/iced-rs/iced", rev = "ea614387f4d94960911b0a7d8ce25c02edb470c5" }
iced_core = { git = "https://github.com/iced-rs/iced", rev = "ea614387f4d94960911b0a7d8ce25c02edb470c5" }
iced_widget = { git = "https://github.com/iced-rs/iced", rev = "ea614387f4d94960911b0a7d8ce25c02edb470c5" }
iced_aw = { git = "https://github.com/iced-rs/iced_aw.git", rev = "f49e058684b6e03a49b94c0ae6d9fb40db6ef2a2" }
image = { git = "https://github.com/image-rs/image", rev = "81b6eac19c50bd1bbe12f42eb39a5d99d0b20c60" }
gltf = { git = "https://github.com/gltf-rs/gltf.git", rev = "3def30c9caf96f2dbc85238179ea5a6152c5cf22" }
[workspace.dependencies]
naevc = { path=@NAEVC@ }
sdl3 = "0.15"
anyhow = "1.0"
naev_core = { path="@BUILD@/src/core" }
utils = { path="@BUILD@/src/utils" }
gettext = { path="@BUILD@/src/gettext" }
log = { path="@BUILD@/src/log" }
ndata = { path="@BUILD@/src/ndata" }
renderer = { path="@BUILD@/src/renderer" }
#toolkit = { path="@BUILD@/src/toolkit" }
physics = { path="@BUILD@/src/physics" }
pluginmgr = { path="@BUILD@/src/pluginmgr" }
pluginmgr-gui = { path="@BUILD@/src/pluginmgr-gui" }
formatx = "0.2"
glow = "0.16"
nalgebra = { version = "0.34", features = ["bytemuck", "encase"] }
encase = { version = "0.12" } # Needed for shader voodoo
bytemuck = { version = "1.23", features = ["derive"] } # Needed for shader voodoo
# need dav1d 0.11.1 or newer, will appear in the version after 0.25.9
image = { version = "0.25", default-features = false, features = [ "avif-native", "jpeg", "png", "webp" ] }
mlua = { version = "0.11.5", features = ["luajit", "anyhow", "send", "serialize"] }
roxmltree = "0.21"
derive_more = { version = "2", features = ["from", "into", "display"] }
palette = "0.7" # Colour conversion
trie-rs = { version = "0.4" }
softfloat = "1.0"
semver = { version = "1.0", features = ["serde"] }
chrono = { version = "0.4", features = ["serde","now"] }
base64 = "0.22"
iced = { version = "0.14.0-dev", default-features = false, features = ["wgpu", "tokio", "advanced", "image", "markdown", "sipper"] }
iced_aw = { version = "0.13.0-dev", features = ["drop_down"] }
tokio = { version = "1", features = ["sync"] }
webbrowser = { version = "1" }
# Plugin Manager dependencies
# Serialization / XML
serde = { version = "1", features = ["derive"] }
serde-seeded = "0"
#quick-xml = { version = "0.38", features = ["serialize", "overlapped-lists"] }
# Networking and archive handling
reqwest = { version = "0.12", features = ["stream", "rustls-tls", "blocking"] }
zip = { version = "6", default-features = false, features = ["deflate"] }
# Utilities and filesystem
walkdir = "2"
rayon = "1.11" # parallel computation
directories = "6"
fs-err = "3"
toml = "0.9"
# Git operations
git2 = "0.20"
# Async runtime and byte buffer types
#tokio = { version = "1", features = ["rt-multi-thread", "macros"] }
bytes = "1"
futures = "0.3"
[dependencies]
naevc = { workspace = true }
naev_core = { workspace = true }
utils = { workspace = true }
gettext = { workspace = true }
log = { workspace = true }
ndata = { workspace = true }
anyhow = { workspace = true }
formatx = { workspace = true }
sdl3 = { workspace = true }
renderer = { workspace = true }
glow = { workspace = true }
nalgebra = { workspace = true }
bytemuck = { workspace = true }
encase = { workspace = true }
roxmltree = { workspace = true }
image = { workspace = true }
physics = { workspace = true }
pluginmgr = { workspace = true }
pluginmgr-gui = { workspace = true }
mlua = { workspace = true }
constcat = "0.6"
rand = "0.9"
rayon = { workspace = true }
palette = { workspace = true }
serde = { workspace = true }
serde-seeded = { workspace = true }
serde_yaml2 = "0.1"
toml = { workspace = true }
# gltf-rs crate doesn't support WEBP in any release atm...
gltf = { version = "1.4", features = ["extras", "names", "utils", "EXT_texture_webp", "KHR_materials_emissive_strength"] }
#gltf = { version = "1", features = ["extras", "names", "utils"] }
colored = "3"
regex = "1.11"
# cargo-util usess cargo internals and says you shouldn't use it in external
# packages, yet without any other alternative, here we are :)
cargo-util = "0.2"
# Probably useful
#etagere = "0" # Texture Atlas generation
#thunderdome = "0"