-
Notifications
You must be signed in to change notification settings - Fork 6
/
Cargo.toml
52 lines (47 loc) · 1.51 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
52
[package]
name = "font"
version = "0.1.0"
authors = ["Sebastian Köln <[email protected]>"]
edition = "2018"
[features]
unstable = ["slotmap/unstable", "tuple/nightly"]
svg = ["svg_dom", "inflate"]
woff = ["brotli-decompressor", "inflate"]
type1 = ["postscript"]
type2 = []
opentype = []
cff = ["type1", "type2"]
postscript = []
math = []
default = ["opentype"]
[dependencies]
pdf_encoding = "0.4"
pathfinder_geometry = { git = "https://github.com/servo/pathfinder/" }
pathfinder_content = { git = "https://github.com/servo/pathfinder/" }
pathfinder_color = { git = "https://github.com/servo/pathfinder/" }
tuple = { git = "https://github.com/s3bk/tuple/" }
nom = "5.1"
log = "0.4"
rand = { version = "0.7", features = ["wasm-bindgen"] }
slotmap = { version = "1.0" }
decorum = "0.3"
itertools = "0.10"
indexmap = "1.9"
brotli-decompressor = { version = "2.3", optional = true }
inflate = { version = "0.4.5", optional = true }
svg_dom = { git = "https://github.com/s3bk/svg", optional=true }
istring = "0.3.4"
[dev-dependencies]
svg_dom = { git = "https://github.com/s3bk/svg" }
svg_draw = { git = "https://github.com/s3bk/svg" }
pathfinder_renderer = { git = "https://github.com/servo/pathfinder/" }
pathfinder_export = { git = "https://github.com/servo/pathfinder/" }
walkdir = "2.3"
env_logger = { version = "*" }
memmap = "*"
[patch."https://github.com/s3bk/svg"]
svg_dom = { path = "../svg/dom" }
svg_draw = { path = "../svg/draw" }
svg_text = { path = "../svg/text" }
[patch."https://github.com/pdf-rs/font"]
font = { path = "." }