-
Notifications
You must be signed in to change notification settings - Fork 14
/
Cargo.toml
48 lines (41 loc) · 1.16 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
[package]
name = "ptouch"
repository = "https://github.com/ryankurte/rust-ptouch"
description = "Brother PTouch label maker driver and utility"
keywords = [ "ptouch", "label", "print", "driver" ]
readme = "README.md"
version = "0.2.2"
authors = ["ryan <ryan@kurte.nz>"]
edition = "2018"
license = "MPL-2.0"
[features]
util = [ "toml", "structopt", "strum", "serde" ]
preview = [ "embedded-graphics-simulator" ]
default = [ "util", "preview" ]
[dependencies]
structopt = { version = "0.3.21", optional = true }
rusb = "0.9.1"
lazy_static = "1.4.0"
log = "0.4.13"
bitfield = "0.14.0"
bitflags = "1.2.1"
strum = { version = "0.24.0", optional = true }
strum_macros = "0.24.3"
anyhow = "1.0.38"
simplelog = "0.12.0"
qrcode = "0.12.0"
image = "0.23.14"
barcoders = "1.0.2"
thiserror = "1.0.23"
tempdir = "0.3.7"
embedded-graphics = "0.6.2"
embedded-text = "0.4.0"
# TODO: make preview optional
embedded-graphics-simulator = { version = "0.2.0", optional = true }
serde = { version = "1.0.123", features = [ "derive" ], optional = true }
bitvec = "1.0.1"
toml = { version = "0.5.8", optional = true }
[[bin]]
name = "ptouch-util"
path = "src/util.rs"
required-features = [ "util" ]