-
Notifications
You must be signed in to change notification settings - Fork 4
/
Cargo.toml
43 lines (36 loc) · 987 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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
[package]
name = "bmfont"
edition = "2018"
version = "0.3.3"
authors = ["kalita.alexey <[email protected]>"]
description = "bitmap font config parser"
license = "MIT OR Apache-2.0"
repository = "https://github.com/KalitaAlexey/bmfont-rust"
keywords = ["bitmap", "font"]
exclude = [
"examples/*",
"tests/*",
"*.fnt",
"*.png",
"*.json",
"*.md",
"LICENSE*",
]
[dependencies]
serde = { version = "1.0", optional = true, default-features = false, features = ["derive"] }
# This is a dev-dependency, but those cannot be optional, so it's included here and not built by
# default. It is used with the serde feature unit tests.
serde_json = { version = "1", optional = true }
[dev-dependencies]
bmfont = { path = ".", features = ["serde", "serde_json"] }
glium = "^0.16.0"
image = "^0.10.3"
criterion = "0.3"
[features]
default = ["parse-error"]
parse-error = []
[package.metadata.docs.rs]
features = ["serde"]
[[bench]]
name = "parse"
harness = false