# 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 = "lang-id" version = "0.0.1-beta.3" authors = ["Moe "] description = "Const lang-ids and maps are provided, mainly for i18n and l10n." readme = "Readme.md" categories = [ "internationalization", "localization", ] license = "MIT/Apache-2.0" repository = "https://github.com/2moe/lang-id" [package.metadata.docs.rs] all-features = true targets = ["x86_64-unknown-linux-gnu"] rustdoc-args = [ "--cfg", "__lang_id_doc", ] [dependencies.phf] version = "0.11.1" features = ["macros"] optional = true default-features = false [dependencies.sys-locale] version = "0.3.0" optional = true [dependencies.tinystr] version = "0.7.1" optional = true default-features = false [dependencies.unic-langid] version = "0.9.1" features = ["likelysubtags"] [features] default = [ "sys-lang", "match", ] map = [ "dep:phf", "dep:tinystr", ] match = [] sys-lang = ["dep:sys-locale"]