-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
43 lines (37 loc) · 1.16 KB
/
Cargo.toml
File metadata and controls
43 lines (37 loc) · 1.16 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
[package]
name = "navni"
version = "0.2.0"
license = "MIT/Apache-2.0"
authors = ["Risto Saarelma <risto.saarelma@iki.fi>"]
exclude = ["githooks/", "flake.nix", "flake.lock", "Justfile", "img/", "web/"]
edition = "2024"
description = "Library for pixel or text graphics games"
keywords = ["terminal", "gui", "gamedev"]
[lib]
name = "navni"
[features]
gui = ["env_logger", "miniquad"]
tty = ["crossterm", "signal-hook", "syslog"]
[dependencies]
anyhow = "1"
crossterm = { version = "0.28", optional = true }
image = { version = "0.25", default-features = false, features = ["png"] }
log = "0.4"
miniquad = { version = "0.4", optional = true }
rustc-hash = "2"
seq-macro = "0.3"
serde = { version = "1", features = ["derive"] }
serde_with = "3"
signal-hook = { version = "0.3", optional = true }
syslog = { version = "7", optional = true }
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
dirs = "6"
env_logger = { version = "0.11", optional = true }
[target.'cfg(target_arch = "wasm32")'.dependencies]
base64 = "0.22"
quad-storage = "0.1"
[dev-dependencies]
image = { version = "0.25" }
doomgeneric = { version = "0.3.0-beta.2" }
quickcheck = "1"
quickcheck_macros = "1"