# 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 = "icu_locale_canonicalizer" version = "0.6.0" authors = ["The ICU4X Project Developers"] include = [ "src/**/*", "examples/**/*", "benches/**/*", "tests/**/*", "Cargo.toml", "LICENSE", "README.md", ] description = "API for Unicode Language and Locale Identifiers canonicalization" categories = ["internationalization"] license-file = "LICENSE" repository = "https://github.com/unicode-org/icu4x" resolver = "2" [package.metadata.cargo-all-features] skip_optional_dependencies = true denylist = ["bench"] [package.metadata.docs.rs] all-features = true [lib] path = "src/lib.rs" bench = false [[test]] name = "locale_canonicalizer" required-features = ["serde"] [[bench]] name = "locale_canonicalizer" harness = false [dependencies.icu_locid] version = "0.6" features = [ "serde", "zerovec", ] [dependencies.icu_provider] version = "0.6" features = ["macros"] [dependencies.litemap] version = "0.4" features = ["yoke"] [dependencies.serde] version = "1.0" features = [ "derive", "alloc", ] optional = true default-features = false [dependencies.tinystr] version = "0.6" features = [ "alloc", "zerovec", ] default-features = false [dependencies.zerovec] version = "0.7" features = ["yoke"] [dev-dependencies.criterion] version = "0.3.3" [dev-dependencies.serde] version = "1.0" features = ["derive"] [dev-dependencies.serde_json] version = "1.0" [features] bench = ["serde"] datagen = [ "serde", "litemap/serde_serialize", "zerovec/serde_serialize", ] default = [] serde = [ "dep:serde", "icu_locid/serde", "litemap/serde", "tinystr/serde", "zerovec/serde", ]