-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathCargo.toml
57 lines (50 loc) · 1.66 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
[package]
name = "pixeldike"
version = "0.1.0"
authors = ["Finn-Thorben Sell <[email protected]>"]
edition = "2021"
description = "pixel drawing game for programmers inspired by reddits r/place"
documentation = "https://docs.rs/pixeldike"
readme = "README.md"
repository = "https://github.com/ftsell/pixeldike.git"
license = "MIT"
keywords = ["pixelflut"]
categories = ["command-line-utilities", "games", "parser-implementations"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[profile.release]
codegen-units = 1
lto = "fat"
[features]
default = ["cli", "tcp", "udp"]
ws = ["dep:tokio-tungstenite", "dep:futures-util"]
tcp = []
udp = []
windowing = ["dep:minifb"]
cli = ["tcp", "dep:clap", "dep:rand", "dep:tracing-subscriber", "dep:image", "dep:ab_glyph"]
[lib]
path = "src/lib.rs"
[[bin]]
name = "pixeldike"
path = "src/main.rs"
required-features = ["cli"]
[dependencies]
ab_glyph = { version = "0.2.23", optional = true }
anyhow = "1.0.68"
async-trait = "0.1.73"
bytes = "1.3.0"
clap = { version = "4.0.30", optional = true, features = [ "derive" ] }
framebuffer ="0.3.1"
futures-util = { version = "0.3.25", optional = true }
image = { version = "0.25.0", optional = true }
itertools = "0.14.0"
minifb = { version = "0.27.0", optional = true }
rand = { version = "0.8.5", optional = true }
thiserror = "2.0.9"
tokio = { version = "1.38.0", features = ["full", "tracing"] }
tokio-tungstenite = { version = "0.26.1", optional = true }
tracing = { version = "0.1.37", features = ["release_max_level_debug"] }
tracing-subscriber = { version = "0.3.17", optional = true }
url = "2.5.0"
[dev-dependencies]
quickcheck = "1.0.3"
tempfile = "3.3.0"