-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathCargo.toml
29 lines (26 loc) · 893 Bytes
/
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
[package]
name = "babelfont"
version = "0.1.1"
edition = "2021"
[target.'cfg(not(target_family = "wasm"))'.dependencies]
uuid = { version = "1.11.0", features = ["v4"] }
[target.'cfg(target_family = "wasm")'.dependencies]
uuid = { version = "1.11.0", features = ["v4", "js"] }
[features]
default = ["glyphs", "ufo", "fontlab", "fontra"]
glyphs = ["dep:glyphslib"]
ufo = ["dep:norad"]
fontra = []
fontlab = []
[dependencies]
chrono = { version = "0.4.3" }
kurbo = "0.8"
glyphslib = { git = "https://github.com/simoncozens/glyphslib-rs", optional = true }
norad = { version = "0.14.0", features = ["rayon", "kurbo"], optional = true }
log = "0.4.14"
serde_json = "1.0"
serde = { version = "1.0", features = ["derive"] }
thiserror = "1.0.37"
regex = "1.5.5"
fontdrasil = "0.0.1"
write-fonts = { version = "0.25.0" } # Must use version fontdrasil uses