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