-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
88 lines (66 loc) · 1.77 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
[package]
name = "msdfgen"
version = "0.2.2"
description = "Safe bindings for msdfgen (multi-channel signed distance field generator)"
categories = ["external-ffi-bindings", "graphics"]
keywords = ["distance-fields", "multi-channel", "SDF", "MSDF", "MCSDF"]
authors = ["K. <[email protected]>"]
license = "MIT"
readme = "README.md"
repository = "https://github.com/katyo/msdfgen-rs"
edition = "2021"
[workspace]
members = ["sys"]
[badges.is-it-maintained-issue-resolution]
repository = "katyo/msdfgen-rs"
[badges.is-it-maintained-open-issues]
repository = "katyo/msdfgen-rs"
[badges.maintenance]
status = "passively-maintained"
[dependencies.msdfgen-sys]
version = "0.2.1"
path = "sys"
[dependencies.bytemuck]
version = "1"
features = ["extern_crate_alloc"]
[dependencies.ttf-parser]
version = "0.19"
optional = true
[dependencies.typeface]
version = "0.3.3"
optional = true
[dependencies.font-rs]
package = "font"
version = "0.15"
optional = true
[dependencies.freetype-rs]
version = "0.32"
optional = true
[dependencies.png]
version = "0.17"
optional = true
[dev-dependencies.all_asserts]
version = "2"
[dev-dependencies.ttf-parser]
version = "0.19"
[dev-dependencies.notosans]
version = "0.1"
[dev-dependencies.material-icons]
version = "0.2"
[features]
default = ["ttf-parser", "freetype-rs", "png"]
font = ["font-rs", "typeface"]
all = ["default", "font"]
rustdoc = ["msdfgen-sys/rustdoc", "all"]
# generate bindings when build
bindgen = ["msdfgen-sys/bindgen"]
# build and link shared library
#shared = ["msdfgen-sys/shared"]
# build and link static library
#static = ["msdfgen-sys/static"]
# link libc++ instead of libstdc++
#libcxx = ["msdfgen-sys/libcxx"]
# link static libstdc++/libc++
#stdcxx-static = ["msdfgen-sys/stdcxx-static"]
[package.metadata.docs.rs]
features = ["rustdoc"]