Debian Codegraph @

third_party/rust/unic-langid-impl/Cargo.toml

raw
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.5"
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 autobins = false
28 autoexamples = false
29 autotests = false
30 autobenches = false
31 description = "API for managing Unicode Language Identifiers"
32 readme = "README.md"
33 categories = ["internationalization"]
34 license = "MIT OR Apache-2.0"
35 repository = "https://github.com/zbraniecki/unic-locale"
36
37 [lib]
38 name = "unic_langid_impl"
39 path = "src/lib.rs"
40
41 [[bin]]
42 name = "generate_likelysubtags"
43 path = "src/bin/generate_likelysubtags.rs"
44 required-features = ["binary"]
45
46 [[bin]]
47 name = "generate_layout"
48 path = "src/bin/generate_layout.rs"
49 required-features = ["binary"]
50
51 [[test]]
52 name = "likelysubtags"
53 path = "tests/likelysubtags.rs"
54 required-features = ["likelysubtags"]
55
56 [[test]]
57 name = "canonicalize_test"
58 path = "tests/canonicalize_test.rs"
59
60 [[test]]
61 name = "fixtures"
62 path = "tests/fixtures.rs"
63
64 [[test]]
65 name = "language_identifier_test"
66 path = "tests/language_identifier_test.rs"
67
68 [[bench]]
69 name = "parser"
70 path = "benches/parser.rs"
71 harness = false
72
73 [[bench]]
74 name = "langid"
75 path = "benches/langid.rs"
76 harness = false
77
78 [[bench]]
79 name = "canonicalize"
80 path = "benches/canonicalize.rs"
81 harness = false
82
83 [[bench]]
84 name = "likely_subtags"
85 path = "benches/likely_subtags.rs"
86 harness = false
87 required-features = ["likelysubtags"]
88
89 [dependencies.serde]
90 version = "1.0"
91 optional = true
92
93 [dependencies.serde_json]
94 version = "1.0"
95 optional = true
96
97 [dependencies.tinystr]
98 version = "0.7.0"
99
100 [dev-dependencies.criterion]
101 version = "0.3"
102
103 [dev-dependencies.serde]
104 version = "1.0"
105 features = ["derive"]
106
107 [dev-dependencies.serde_json]
108 version = "1.0"
109
110 [features]
111 binary = [
112 "serde",
113 "serde_json",
114 ]
115 likelysubtags = []