# 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 = "locale-match" version = "0.2.2" authors = ["Petr Alexandrovich Sabanov "] build = false exclude = [ "/.forgejo/", "/.github/", "/.gitlab/", "/.idea/", "/.vscode/", "/doc/", "/docs/", "/example/", "/examples/", "/test/", "/tests/", "/.editorconfig", "/.gitignore", "/.rustfmt.toml", "/rustfmt.toml", ] autobins = false autoexamples = false autotests = false autobenches = false description = "A small library for selecting the best match for user's preferred locales from available locales." readme = "README.md" keywords = [ "locale", "i18n", "internationalization", "l10n", "localization", ] categories = [ "internationalization", "localization", ] license = "LGPL-3.0-or-later" repository = "https://github.com/pasabanov/locale-match" [profile.dev] opt-level = 0 lto = false codegen-units = 256 debug = 2 panic = "unwind" overflow-checks = true incremental = true strip = "none" [profile.fastcompile] opt-level = 0 lto = false codegen-units = 8192 debug = 0 panic = "abort" overflow-checks = false incremental = true inherits = "dev" strip = "none" [profile.minsize] opt-level = "z" lto = true codegen-units = 1 debug = 0 panic = "abort" overflow-checks = false incremental = false inherits = "release" strip = "symbols" [profile.release] opt-level = 3 lto = true codegen-units = 1 debug = 0 panic = "abort" overflow-checks = false incremental = false strip = "symbols" [profile.relwithdebinfo] opt-level = 2 lto = true codegen-units = 1 debug = 2 panic = "unwind" overflow-checks = false incremental = false inherits = "release" strip = "none" [lib] name = "locale_match" path = "src/lib.rs" [dependencies.language-tags] version = "0.3.2" optional = true [features] bcp47 = ["language-tags"] default = [ "bcp47", "posix", ] posix = []