forked from flother/spreet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
44 lines (39 loc) · 1.08 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
[package]
name = "spreet"
version = "0.12.0-dev"
edition = "2021"
rust-version = "1.63"
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.4", features = ["derive"], optional = true }
crunch = "0.5.3"
exitcode = { version = "1.1", optional = true }
multimap = "0.9"
oxipng = { version = "9.0", features = ["parallel", "zopfli", "filetime"], default-features = false }
png = "0.17"
resvg = "0.37"
sdf_glyph_renderer = "1"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
thiserror = "1"
[dev-dependencies]
assert_cmd = "2.0"
assert_fs = "1.0.13"
assert_matches = "1.5"
predicates = "3"
[profile.release]
lto = "thin"
strip = true
codegen-units = 1
[[bin]]
name = "spreet"
required-features = ["cli"]