1[package]
2name = "unicode-bidi"
3version = "0.3.18"
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"
12rust-version = "1.47.0"
13categories = [
14 "no-std",
15 "encoding",
16 "text-processing",
17]
18
19# No data is shipped; benches, examples and tests also depend on data.
20exclude = [
21 "benches/**",
22 "data/**",
23 "examples/**",
24 "tests/**",
25 "tools/**",
26]
27
28[badges]
29appveyor = { repository = "servo/unicode-bidi" }
30
31[lib]
32name = "unicode_bidi"
33
34[dependencies]
35flame = { version = "0.2", optional = true }
36flamer = { version = "0.4", optional = true }
37serde = { version = ">=0.8, <2.0", default-features = false, optional = true, features = ["derive"] }
38smallvec = { version = ">=1.13", optional = true, features = ["union"] }
39
40[dev-dependencies]
41serde_test = ">=0.8, <2.0"
42
43[features]
44# Note: We don't actually use the `std` feature for anything other than making
45# doctests work. But it may come in handy in the future.
46default = ["std", "hardcoded-data"]
47hardcoded-data = [] # Include hardcoded Bidi data
48std = []
49unstable = [] # travis-cargo needs it
50bench_it = []
51flame_it = ["flame", "flamer"]
52with_serde = ["serde"] # DEPRECATED, please use `serde` feature, instead.
53
54[[test]]
55name = "conformance_tests"
56required-features = ["hardcoded-data"]
57path = "tests/conformance_tests.rs"
58