-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
100 lines (79 loc) · 2.36 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
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
[package]
name = "cheval"
version = "0.2.1-dev"
authors = ["Andreas Neukoetter <[email protected]>"]
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
license = "MIT"
description = "A tool to render stream overlays, or smart mirror content, or just images."
readme = "README.md"
homepage = "https://github.com/AndreasOM/cheval"
repository = "https://github.com/AndreasOM/cheval"
keywords = ["tools", "overlay", "streaming"]
categories = ["graphics"]
[[bin]]
name="cheval"
path="src/cheval_main.rs"
[features]
default = [ "use_axum" ]
with_termion = [ "termion" ]
with_profiling = [ "pprof", "criterion" ]
minifb = [ "dep:minifb" ]
framebuffer = [ "dep:framebuffer" ]
use_axum = [ "dep:axum" ]
[dependencies]
serde = { version = "1.0", features = ["derive"] }
serde_yaml = "0.8"
image = "0.23.8"
rusttype = "0.9.2"
regex = "1.3.9"
chrono = "0.4.19"
notify = "4.0.17"
async-trait = "0.1.40"
tokio = { version = "1.20.1", features = [ "full", "tracing" ] }
anyhow = "1.0"
clap = "2.33.3"
hhmmss = "0.1"
expresso = "0.2.5"
glob = "0.3.0"
termion = { version = "1.5.6", optional = true }
css-color = "0.1.1"
oml-audio = "0.2.1"
derivative = "2.2.0"
path-calculate = "0.1.3"
futures = "0.3.21"
tracing = "0.1.32"
tracing-subscriber = "0.3.9"
tracing-test = "0.2.1"
[dependencies.minifb]
version = "0.23.0"
optional = true
[dependencies.framebuffer]
version = "0.2.0"
optional = true
[dependencies.axum]
version = "0.5.1"
optional = true
[target.'cfg(target_arch = "x86_64")'.dependencies]
### minifb = "0.22.0"
# pprof = { version = "0.3", features = ["flamegraph"] }
[target.'cfg(target_arch = "aarch64")'.dependencies]
### minifb = "0.22.0"
pprof = { version = "0.6.2", features = ["flamegraph", "criterion"], optional = true }
criterion = { version = "0.3", optional = true }
[build-dependencies]
cfg_aliases = "0.1.0"
[dev-dependencies]
#criterion = "0.3"
[target.'cfg(target_arch = "arm")'.dependencies]
#framebuffer = "0.2.0"
#[target.'cfg(target_arch = "arm")'.dev-dependencies]
pprof = { version = "0.6.2", features = ["flamegraph", "criterion"], optional = true }
criterion = { version = "0.3", optional = true }
[[bench]]
name = "next_frame_benchmark"
harness = false
[patch.crates-io]
# minifb = { path = "../rust_minifb" }
# minifb = { git = "https://github.com/andreasom/rust_minifb" }
# expresso = { path = "../expresso" }