From 26a029d407be480d791972afb5975cf62c9360a6 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 02:47:55 +0200 Subject: Adding upstream version 124.0.1. Signed-off-by: Daniel Baumann --- third_party/rust/unic-langid-impl/Cargo.toml | 86 ++++++++++++++++++++++++++++ 1 file changed, 86 insertions(+) create mode 100644 third_party/rust/unic-langid-impl/Cargo.toml (limited to 'third_party/rust/unic-langid-impl/Cargo.toml') diff --git a/third_party/rust/unic-langid-impl/Cargo.toml b/third_party/rust/unic-langid-impl/Cargo.toml new file mode 100644 index 0000000000..eab3f743e9 --- /dev/null +++ b/third_party/rust/unic-langid-impl/Cargo.toml @@ -0,0 +1,86 @@ +# 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 = "2018" +name = "unic-langid-impl" +version = "0.9.1" +authors = ["Zibi Braniecki "] +include = [ + "src/**/*", + "benches/*.rs", + "tests/*.rs", + "Cargo.toml", + "README.md", +] +description = "API for managing Unicode Language Identifiers" +readme = "README.md" +categories = ["internationalization"] +license = "MIT/Apache-2.0" +repository = "https://github.com/zbraniecki/unic-locale" + +[[bin]] +name = "generate_likelysubtags" +required-features = ["binary"] + +[[bin]] +name = "generate_layout" +required-features = ["binary"] + +[[test]] +name = "likelysubtags" +path = "tests/likelysubtags.rs" +required-features = ["likelysubtags"] + +[[bench]] +name = "parser" +harness = false + +[[bench]] +name = "langid" +harness = false + +[[bench]] +name = "canonicalize" +harness = false + +[[bench]] +name = "likely_subtags" +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 = [] -- cgit v1.2.3