-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathCargo.toml
More file actions
40 lines (35 loc) · 1.13 KB
/
Cargo.toml
File metadata and controls
40 lines (35 loc) · 1.13 KB
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
[workspace]
members = ["tests/cli", "tests/fuzz"]
resolver = "2"
[workspace.package]
version = "0.2.3"
rust-version = "1.85" # also change in ci.yml
authors = ["Laurenz Mädje <laurmaedje@gmail.com>", "Laurenz Stampfl <laurenz.stampfl@gmail.com>"]
edition = "2021"
repository = "https://github.com/typst/subsetter"
readme = "README.md"
license = "MIT OR Apache-2.0"
[package]
name = "subsetter"
description = "Reduces the size and coverage of OpenType fonts."
categories = ["compression", "encoding"]
keywords = ["subsetting", "OpenType", "PDF"]
exclude = ["fonts/*", "tests/*"]
version = { workspace = true }
rust-version = { workspace = true }
authors = { workspace = true }
edition = { workspace = true }
repository = { workspace = true }
readme = { workspace = true }
license = { workspace = true }
[features]
default = ["variable-fonts"]
variable-fonts = ["dep:skrifa", "dep:write-fonts", "dep:kurbo"]
[dependencies]
rustc-hash = "2.1"
skrifa = { optional = true, version = "0.42.0" }
kurbo = { optional = true, version = "0.13.0" }
write-fonts = { optional = true, version = "0.48.0" }
[dev-dependencies]
skrifa = "0.42.0"
ttf-parser = "0.25.1"