-
Notifications
You must be signed in to change notification settings - Fork 6
/
Cargo.toml
51 lines (46 loc) · 1.8 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
[package]
name = "glifparser"
version = "2.0.1"
authors = ["Fredrick Brennan <[email protected]>", "MFEK Authors"]
edition = "2021"
license = "Apache-2.0"
keywords = ["glif", "parsers", "ufo-format", "fonts"]
# crates.io
description = "A parser and writer for UFO `.glif` files"
repository = "https://github.com/MFEK/glifparser.rlib"
[dependencies]
derive_more = "0.99"
derivative = "2.2"
xmltree = { version = "0.10", features = ["attribute-order"] }
log = "0.4"
kurbo = { git = "https://github.com/MFEK/kurbo.rlib", branch = "master" }
trees = "0.4"
skia-safe = { version = ">0.0", optional = true }
image = { version = "0.24", features = ["png"], default-features = false, optional = true }
serde = { version = "1.0", features = ["derive"], optional = true }
plist = "1.3"
itertools = "0.10"
flo_curves = { version = "0.6", optional = true }
float-cmp = "0.9"
dyn-clone = "1.0.9"
# Our submodules
# The default feature is serde, dep:serde syntax still (Oct '21) not stabilized
integer_or_float = { version = "0.3", default-features = false, features = ["hash", "float-cmp", "more-serde", "faster-strconv"] }
spline = "0.2.0"
[dev-dependencies]
env_logger = "0.9"
test-log = "0.2"
lazy_static = "1"
[features]
glifimage = ["image"]
glifserde = ["serde", "kurbo/serde", "integer_or_float/serde", "plist/default"]
default = ["glifimage", "glifserde"]
skia = ["default", "skia-safe"]
mfek = ["default"]
more-image-formats = ["image/gif", "image/jpeg", "image/webp", "image/bmp", "image/tiff"]
more-iof = ["integer_or_float/num-traits"]
fat = ["glifimage", "glifserde", "skia", "mfek", "more-image-formats", "more-iof"]
fat-no-skia = ["glifimage", "glifserde", "mfek", "more-image-formats", "more-iof"]
[package.metadata.docs.rs]
# Features to pass to Cargo (default: []) when building https://docs.rs/glifparser
features = ["fat-no-skia"]