-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathCargo.toml
64 lines (54 loc) · 1.95 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
53
54
55
56
57
58
59
60
61
62
63
64
# Copyright © 2018-2022 The Fonterator Contributors.
#
# Licensed under any of:
# - Apache License, Version 2.0 (https://www.apache.org/licenses/LICENSE-2.0)
# - MIT License (https://mit-license.org/)
# - Boost Software License, Version 1.0 (https://www.boost.org/LICENSE_1_0.txt)
# At your choosing (See accompanying files LICENSE_APACHE_2_0.txt,
# LICENSE_MIT.txt and LICENSE_BOOST_1_0.txt).
[package]
name = "fonterator"
version = "0.9.0"
license = "Apache-2.0 OR Zlib"
description = "Load fonts as vector graphics in pure Rust with advanced text layout."
repository = "https://github.com/ardaku/fonterator"
documentation = "https://docs.rs/fonterator"
homepage = "https://github.com/ardaku/fonterator/blob/stable/CHANGELOG.md"
include = ["Cargo.toml", "README.md", "LICENSE-ZLIB", "LICENSE-APACHE", "src/*"]
categories = ["gui", "rendering"]
keywords = ["font", "truetype", "opentype", "ttf", "otf"]
readme = "README.md"
edition = "2018"
[dependencies]
footile = "0.7" # For vector path operations
pointy = "0.3" # For footile (required)
rustybuzz = "0.6" # For text shaping / reading TTF/OTF files
unicode-script = "0.5" # For calculating text direction.
[dev-dependencies]
svg = "0.13"
png_pong = "0.8"
pix = "0.13"
[package.metadata.docs.rs]
all-features = true
default-target = "x86_64-unknown-linux-gnu"
[[example]]
name = "directions"
path = "examples/directions.rs"
required-features = ["monospace-font"]
[[example]]
name = "image"
path = "examples/image.rs"
required-features = ["monospace-font"]
[[example]]
name = "main"
path = "examples/main.rs"
required-features = ["monospace-font"]
[[example]]
name = "raster"
path = "examples/raster.rs"
required-features = ["monospace-font"]
[features]
default = []
docs-rs = []
monospace-font = []
normal-font = []