-
Notifications
You must be signed in to change notification settings - Fork 3
/
Cargo.toml
80 lines (69 loc) · 2.07 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
[package]
name = "bard"
version = "2.0.1"
authors = ["Vojtech Kral and contributors"]
description = "Creates PDF and HTML songbooks out of easy-to-write Markdown sources."
readme = "README.md"
repository = "https://github.com/vojtechkral/bard"
homepage = "https://bard.md"
license = "Apache-2.0"
keywords = ["music", "markdown"]
rust-version = "1.69"
edition = "2018"
default-run = "bard"
[lib]
name = "bard"
path = "src/lib.rs"
[[bin]]
name = "bard"
path = "src/main.rs"
[dependencies]
anyhow = "1.0.26"
clap = { version = "~4.1", default_features = false, features = ["std", "help", "usage", "error-context", "suggestions", "derive"] }
# clap constrained to 4.1 to keep MSRV low
comrak = { version = "0.18.0", default_features = false }
console = "0.15.2"
ctrlc = "3.1.3"
fastrand = "2.0.0"
globset = "0.4.10"
handlebars = "4.3.3"
html5ever = "0.26.0"
image = { version = "0.24.6", default_features = false, features = ["png", "jpeg"] }
lexical-sort = "0.3.1"
nix = { version = "0.28", features = ["poll"] }
notify = "6.0"
once_cell = "1.15.0"
parking_lot = "0.12.1"
quick-xml = "0.29"
regex = "1.4.5"
semver = "1.0.7"
serde = { version = "1.0.125", features = ["derive"] }
serde_json = { version = "1.0.39", features = ["preserve_order"] }
strum = { version = "0.24", features = ["derive"] }
thiserror = "1.0.14"
toml = "0.7.2"
# tectonic embedding, enable with the `tectonic` feature
tectonic = { version = "0.14.1", optional = true, features = ["external-harfbuzz"] }
tectonic_bridge_core = { version = "0.4.0", optional = true }
[features]
tectonic = ["dep:tectonic", "dep:tectonic_bridge_core"]
[dev-dependencies]
assert-json-diff = "2.0.1"
base64 = "0.21.0"
fs_extra = "1.2.0"
indoc = "2.0.1"
[[bin]]
# Small helper bin for testing TeX binary setting
name = "tex-mock"
path = "tests/util/tex-mock.rs"
test = false
doctest = false
bench = false
doc = false
[package.metadata.deb]
depends = ""
[package.metadata.generate-rpm]
assets = [
# NB. cargo-generate-rpm auto-updates the target/release path when cross-compiling
{ source = "target/release/bard", dest = "/usr/bin/bard", mode = "755" }
]