-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
47 lines (40 loc) · 1.22 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
[package]
name = "svgdx"
version = "0.9.2"
description = "create SVG diagrams easily"
authors = ["Ben Bass <benbass@codedstructure.net>"]
repository = "https://github.com/codedstructure/svgdx"
keywords = ["svg", "diagrams"]
license = "MIT"
edition = "2021"
default-run = "svgdx"
[features]
default = ["cli", "server"]
cli = ["shlex", "notify", "notify-debouncer-mini", "clap"]
server = ["axum", "hyper", "tokio"]
[dependencies]
quick-xml = "0.31.0"
regex = "1.10.2"
tempfile = "3.9.0"
anyhow = "1.0.78"
itertools = "0.13.0"
lazy-regex = "3.1.0"
rand = { version = "0.8.5", features = ["small_rng"] }
shlex = { version = "1.3.0", optional = true }
notify = { version = "6.1.1", optional = true }
notify-debouncer-mini = { version = "0.4.1", optional = true }
clap = { version = "4.4.12", features = ["derive"], optional = true }
axum = { version = "0.7", optional = true }
hyper = { version = "1", optional = true }
tokio = { version = "1", features = ["macros", "rt-multi-thread", "fs"], optional = true }
[dev-dependencies]
assert_cmd = "2.0.12"
assertables = "7.0.1"
[[bin]]
name = "svgdx-server"
path = "src/bin/svgdx_server.rs"
required-features = ["server"]
[[bin]]
name = "svgdx"
path = "src/bin/svgdx.rs"
required-features = ["cli"]