-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathCargo.toml
More file actions
28 lines (23 loc) · 717 Bytes
/
Cargo.toml
File metadata and controls
28 lines (23 loc) · 717 Bytes
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
[package]
name = "nova"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
# Core
sdl3-sys = { version = "0.1.3" }
glow = "0.16"
bytemuck = { version = "1.20", features = ["derive"] }
glam = { version = "0.29", features = ["bytemuck"] }
fontdue = "0.9"
png = "0.17"
# Optional
serde = { version = "1.0", optional = true, features = ["derive"] }
serde_json = { version = "1.0", optional = true }
[dev-dependencies]
rand = "0.8"
[features]
default = ["ldtk"]
ldtk = ["serde", "serde_json"]
static_bundled_build = ["sdl3-sys/build-from-source-static"] # TODO: Probably split this up
serde = ["dep:serde", "glam/serde"]