forked from TwentyTwoHW/portal-software
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
46 lines (37 loc) · 1.18 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
[package]
name = "emulator"
version = "0.3.1"
edition = "2021"
license = "GPL-3.0-or-later"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
embedded-graphics = "0.8"
embedded-graphics-simulator = { version = "0.5", default-features = false }
image = "0.23.14"
base64 = "0.13.0"
serde_json = "1.0"
serde = "1.0"
clap = { version = "4.3.19", features = ["derive"] }
log = "0.4"
env_logger = "0.10"
tempdir = "0.3.7"
handlebars = "4.3.7"
rand = "0.8.5"
tokio = { version = "1.36", features = ["full"] }
futures = "0.3"
ssd1306-emulator = { path = "./ssd1306-emulator", features = ["eg-simulator"] }
nt3h-emulator = { path = "./nt3h-emulator" }
sdk = { path = "../sdk", features = ["debug"] }
model = { package="portal-model", path = "../portal-model", features = ["emulator-std"] }
fltk = { version = "^1.4", optional = true }
ctrlc = { version = "3.4.4", optional = true }
[build-dependencies]
fl2rust = { version = "0.4", optional = true }
[dev-dependencies]
functional-test-wrapper = { path = "../functional-test-wrapper" }
[features]
default = ["gui"]
gui = ["fltk", "fl2rust", "ctrlc"]
[[bin]]
name = "gui"
required-features = ["gui"]