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