| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
[package] |
| 13 |
edition = "2021" |
| 14 |
rust-version = "1.83" |
| 15 |
name = "icu_locale_core" |
| 16 |
version = "2.1.1" |
| 17 |
authors = ["The ICU4X Project Developers"] |
| 18 |
build = false |
| 19 |
include = [ |
| 20 |
"data/**/*", |
| 21 |
"src/**/*", |
| 22 |
"examples/**/*", |
| 23 |
"benches/**/*", |
| 24 |
"tests/**/*", |
| 25 |
"Cargo.toml", |
| 26 |
"LICENSE", |
| 27 |
"README.md", |
| 28 |
"build.rs", |
| 29 |
] |
| 30 |
autolib = false |
| 31 |
autobins = false |
| 32 |
autoexamples = false |
| 33 |
autotests = false |
| 34 |
autobenches = false |
| 35 |
description = "API for managing Unicode Language and Locale Identifiers" |
| 36 |
homepage = "https://icu4x.unicode.org" |
| 37 |
readme = "README.md" |
| 38 |
categories = ["internationalization"] |
| 39 |
license = "Unicode-3.0" |
| 40 |
repository = "https://github.com/unicode-org/icu4x" |
| 41 |
|
| 42 |
[package.metadata.docs.rs] |
| 43 |
all-features = true |
| 44 |
|
| 45 |
[features] |
| 46 |
alloc = [ |
| 47 |
"litemap/alloc", |
| 48 |
"tinystr/alloc", |
| 49 |
"writeable/alloc", |
| 50 |
"serde?/alloc", |
| 51 |
] |
| 52 |
databake = [ |
| 53 |
"dep:databake", |
| 54 |
"alloc", |
| 55 |
] |
| 56 |
serde = [ |
| 57 |
"dep:serde", |
| 58 |
"tinystr/serde", |
| 59 |
] |
| 60 |
zerovec = [ |
| 61 |
"dep:zerovec", |
| 62 |
"tinystr/zerovec", |
| 63 |
] |
| 64 |
|
| 65 |
[lib] |
| 66 |
name = "icu_locale_core" |
| 67 |
path = "src/lib.rs" |
| 68 |
bench = false |
| 69 |
|
| 70 |
[[test]] |
| 71 |
name = "langid" |
| 72 |
path = "tests/langid.rs" |
| 73 |
|
| 74 |
[[test]] |
| 75 |
name = "locale" |
| 76 |
path = "tests/locale.rs" |
| 77 |
|
| 78 |
[[bench]] |
| 79 |
name = "iai_langid" |
| 80 |
path = "benches/iai_langid.rs" |
| 81 |
harness = false |
| 82 |
|
| 83 |
[[bench]] |
| 84 |
name = "langid" |
| 85 |
path = "benches/langid.rs" |
| 86 |
harness = false |
| 87 |
|
| 88 |
[[bench]] |
| 89 |
name = "locale" |
| 90 |
path = "benches/locale.rs" |
| 91 |
harness = false |
| 92 |
|
| 93 |
[[bench]] |
| 94 |
name = "subtags" |
| 95 |
path = "benches/subtags.rs" |
| 96 |
harness = false |
| 97 |
|
| 98 |
[dependencies.databake] |
| 99 |
version = "0.2.0" |
| 100 |
features = ["derive"] |
| 101 |
optional = true |
| 102 |
default-features = false |
| 103 |
|
| 104 |
[dependencies.displaydoc] |
| 105 |
version = "0.2.3" |
| 106 |
default-features = false |
| 107 |
|
| 108 |
[dependencies.litemap] |
| 109 |
version = "0.8.0" |
| 110 |
default-features = false |
| 111 |
|
| 112 |
[dependencies.serde] |
| 113 |
version = "1.0.220" |
| 114 |
optional = true |
| 115 |
default-features = false |
| 116 |
|
| 117 |
[dependencies.tinystr] |
| 118 |
version = "0.8.0" |
| 119 |
default-features = false |
| 120 |
|
| 121 |
[dependencies.writeable] |
| 122 |
version = "0.6.0" |
| 123 |
default-features = false |
| 124 |
|
| 125 |
[dependencies.zerovec] |
| 126 |
version = "0.11.3" |
| 127 |
optional = true |
| 128 |
default-features = false |