1[package]
2name = "unicode-bidi"
3version = "0.3.15"
4authors = ["The Servo Project Developers"]
5license = "MIT OR Apache-2.0"
6description = "Implementation of the Unicode Bidirectional Algorithm"
7repository = "https://github.com/servo/unicode-bidi"
8documentation = "https://docs.rs/unicode-bidi/"
9keywords = ["rtl", "unicode", "text", "layout", "bidi"]
10readme="README.md"
11edition = "2018"
12categories = [
13 "no-std",
14 "encoding",
15 "text-processing",
16]
17
18# No data is shipped; benches, examples and tests also depend on data.
19exclude = [
20 "benches/**",
21 "data/**",
22 "examples/**",
23 "tests/**",
24 "tools/**",
25]
26
27[badges]
28appveyor = { repository = "servo/unicode-bidi" }
29
30[lib]
31name = "unicode_bidi"
32
33[dependencies]
34flame = { version = "0.2", optional = true }
35flamer = { version = "0.4", optional = true }
36serde = { version = ">=0.8, <2.0", default-features = false, optional = true, features = ["derive"] }
37
38[dev-dependencies]
39serde_test = ">=0.8, <2.0"
40
41[features]
42# Note: We don't actually use the `std` feature for anything other than making
43# doctests work. But it may come in handy in the future.
44default = ["std", "hardcoded-data"]
45hardcoded-data = [] # Include hardcoded Bidi data
46std = []
47unstable = [] # travis-cargo needs it
48bench_it = []
49flame_it = ["flame", "flamer"]
50with_serde = ["serde"] # DEPRECATED, please use `serde` feature, instead.
51
52[[test]]
53name = "conformance_tests"
54required-features = ["hardcoded-data"]
55path = "tests/conformance_tests.rs"
56