| 1 |
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO |
| 2 |
# |
| 3 |
# When uploading crates to the registry Cargo will automatically |
| 4 |
# "normalize" Cargo.toml files for maximal compatibility |
| 5 |
# with all versions of Cargo and also rewrite `path` dependencies |
| 6 |
# to registry (e.g., crates.io) dependencies. |
| 7 |
# |
| 8 |
# If you are reading this file be aware that the original Cargo.toml |
| 9 |
# will likely look very different (and much more reasonable). |
| 10 |
# See Cargo.toml.orig for the original contents. |
| 11 |
|
| 12 |
[package] |
| 13 |
edition = "2021" |
| 14 |
name = "unic-langid-impl" |
| 15 |
version = "0.9.6" |
| 16 |
authors = ["Zibi Braniecki <[email protected]>"] |
| 17 |
build = false |
| 18 |
include = [ |
| 19 |
"src/**/*", |
| 20 |
"benches/*.rs", |
| 21 |
"tests/*.rs", |
| 22 |
"Cargo.toml", |
| 23 |
"LICENSE-APACHE", |
| 24 |
"LICENSE-MIT", |
| 25 |
"README.md", |
| 26 |
] |
| 27 |
autolib = false |
| 28 |
autobins = false |
| 29 |
autoexamples = false |
| 30 |
autotests = false |
| 31 |
autobenches = false |
| 32 |
description = "API for managing Unicode Language Identifiers" |
| 33 |
readme = "README.md" |
| 34 |
categories = ["internationalization"] |
| 35 |
license = "MIT OR Apache-2.0" |
| 36 |
repository = "https://github.com/zbraniecki/unic-locale" |
| 37 |
|
| 38 |
[features] |
| 39 |
binary = [ |
| 40 |
"serde", |
| 41 |
"serde_json", |
| 42 |
] |
| 43 |
likelysubtags = [] |
| 44 |
|
| 45 |
[lib] |
| 46 |
name = "unic_langid_impl" |
| 47 |
path = "src/lib.rs" |
| 48 |
|
| 49 |
[[bin]] |
| 50 |
name = "generate_layout" |
| 51 |
path = "src/bin/generate_layout.rs" |
| 52 |
required-features = ["binary"] |
| 53 |
|
| 54 |
[[bin]] |
| 55 |
name = "generate_likelysubtags" |
| 56 |
path = "src/bin/generate_likelysubtags.rs" |
| 57 |
required-features = ["binary"] |
| 58 |
|
| 59 |
[[test]] |
| 60 |
name = "canonicalize_test" |
| 61 |
path = "tests/canonicalize_test.rs" |
| 62 |
|
| 63 |
[[test]] |
| 64 |
name = "fixtures" |
| 65 |
path = "tests/fixtures.rs" |
| 66 |
|
| 67 |
[[test]] |
| 68 |
name = "language_identifier_test" |
| 69 |
path = "tests/language_identifier_test.rs" |
| 70 |
|
| 71 |
[[test]] |
| 72 |
name = "likelysubtags" |
| 73 |
path = "tests/likelysubtags.rs" |
| 74 |
required-features = ["likelysubtags"] |
| 75 |
|
| 76 |
[[bench]] |
| 77 |
name = "canonicalize" |
| 78 |
path = "benches/canonicalize.rs" |
| 79 |
harness = false |
| 80 |
|
| 81 |
[[bench]] |
| 82 |
name = "langid" |
| 83 |
path = "benches/langid.rs" |
| 84 |
harness = false |
| 85 |
|
| 86 |
[[bench]] |
| 87 |
name = "likely_subtags" |
| 88 |
path = "benches/likely_subtags.rs" |
| 89 |
harness = false |
| 90 |
required-features = ["likelysubtags"] |
| 91 |
|
| 92 |
[[bench]] |
| 93 |
name = "parser" |
| 94 |
path = "benches/parser.rs" |
| 95 |
harness = false |
| 96 |
|
| 97 |
[dependencies.serde] |
| 98 |
version = "1.0" |
| 99 |
optional = true |
| 100 |
|
| 101 |
[dependencies.serde_json] |
| 102 |
version = "1.0" |
| 103 |
optional = true |
| 104 |
|
| 105 |
[dependencies.tinystr] |
| 106 |
version = "0.8.0" |
| 107 |
|
| 108 |
[dev-dependencies.criterion] |
| 109 |
version = "0.5" |
| 110 |
|
| 111 |
[dev-dependencies.serde] |
| 112 |
version = "1.0" |
| 113 |
features = ["derive"] |
| 114 |
|
| 115 |
[dev-dependencies.serde_json] |
| 116 |
version = "1.0" |