Source code

Revision control

Copy as Markdown

Other Tools

# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.
[package]
edition = "2021"
name = "unic-langid-impl"
version = "0.9.5"
authors = ["Zibi Braniecki <gandalf@mozilla.com>"]
build = false
include = [
"src/**/*",
"benches/*.rs",
"tests/*.rs",
"Cargo.toml",
"LICENSE-APACHE",
"LICENSE-MIT",
"README.md",
]
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "API for managing Unicode Language Identifiers"
readme = "README.md"
categories = ["internationalization"]
license = "MIT OR Apache-2.0"
[lib]
name = "unic_langid_impl"
path = "src/lib.rs"
[[bin]]
name = "generate_likelysubtags"
path = "src/bin/generate_likelysubtags.rs"
required-features = ["binary"]
[[bin]]
name = "generate_layout"
path = "src/bin/generate_layout.rs"
required-features = ["binary"]
[[test]]
name = "likelysubtags"
path = "tests/likelysubtags.rs"
required-features = ["likelysubtags"]
[[test]]
name = "canonicalize_test"
path = "tests/canonicalize_test.rs"
[[test]]
name = "fixtures"
path = "tests/fixtures.rs"
[[test]]
name = "language_identifier_test"
path = "tests/language_identifier_test.rs"
[[bench]]
name = "parser"
path = "benches/parser.rs"
harness = false
[[bench]]
name = "langid"
path = "benches/langid.rs"
harness = false
[[bench]]
name = "canonicalize"
path = "benches/canonicalize.rs"
harness = false
[[bench]]
name = "likely_subtags"
path = "benches/likely_subtags.rs"
harness = false
required-features = ["likelysubtags"]
[dependencies.serde]
version = "1.0"
optional = true
[dependencies.serde_json]
version = "1.0"
optional = true
[dependencies.tinystr]
version = "0.7.0"
[dev-dependencies.criterion]
version = "0.3"
[dev-dependencies.serde]
version = "1.0"
features = ["derive"]
[dev-dependencies.serde_json]
version = "1.0"
[features]
binary = [
"serde",
"serde_json",
]
likelysubtags = []