# 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 <gandalf@mozilla.com>"]
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 = []
