-
Notifications
You must be signed in to change notification settings - Fork 6
/
Cargo.toml
48 lines (43 loc) · 1.1 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 = "spreet"
version = "0.12.0-dev"
edition = "2021"
rust-version = "1.79"
description = "Create a spritesheet from a set of SVG images"
readme = "README.md"
repository = "https://github.com/flother/spreet"
documentation = "https://docs.rs/spreet"
license = "MIT"
keywords = ["sprite", "svg", "cartography", "vector-tiles", "maplibre"]
categories = ["command-line-utilities", "encoding", "filesystem", "graphics"]
[features]
default = ["cli"]
cli = ["dep:clap", "dep:exitcode"]
[dependencies]
clap = { version = "4.5", features = ["derive"], optional = true }
crunch = "0.5.3"
exitcode = { version = "1.1", optional = true }
multimap = "0.10"
oxipng = { version = "9.1", features = [
"parallel",
"zopfli",
"filetime",
], default-features = false }
png = "0.17"
resvg = "0.43"
sdf_glyph_renderer = "1"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
thiserror = "1"
[dev-dependencies]
assert_cmd = "2.0"
assert_fs = "1.1"
assert_matches = "1.5"
predicates = "3"
[profile.release]
lto = "thin"
strip = true
codegen-units = 1
[[bin]]
name = "spreet"
required-features = ["cli"]