icu 1.2.0

International Components for Unicode
Documentation
# This file is part of ICU4X. For terms of use, please see the file
# called LICENSE at the top level of the ICU4X source tree
# (online at: https://github.com/unicode-org/icu4x/blob/main/LICENSE ).

[package]
name = "icu"
description = "International Components for Unicode"
version = "1.2.0"
authors = ["The ICU4X Project Developers"]
edition = "2021"
readme = "README.md"
repository = "https://github.com/unicode-org/icu4x"
license = "Unicode-DFS-2016"
categories = ["internationalization"]
# Keep this in sync with other crates unless there are exceptions
include = [
    "src/**/*",
    "examples/**/*",
    "benches/**/*",
    "tests/**/*",
    "Cargo.toml",
    "LICENSE",
    "README.md"
]

[package.metadata.docs.rs]
all-features = true

[dependencies]
icu_calendar = { version = "1.2.0", path = "../calendar", default-features = false }
icu_collator = { version = "1.2.0", path = "../collator", default-features = false }
icu_collections = { version = "1.2.0", path = "../collections", default-features = false }
icu_datetime = { version = "1.2.0", path = "../datetime", default-features = false }
icu_decimal = { version = "1.2.0", path = "../decimal", default-features = false }
icu_list = { version = "1.2.0", path = "../list", default-features = false }
icu_locid = { version = "1.2.0", path = "../locid", default-features = false }
icu_locid_transform = { version = "1.2.0", path = "../locid_transform", default-features = false }
icu_normalizer = { version = "1.2.0", path = "../normalizer", default-features = false }
icu_plurals = { version = "1.2.0", path = "../plurals", default-features = false }
icu_properties = { version = "1.2.0", path = "../properties", default-features = false }
icu_segmenter = { version = "1.2.0", path = "../segmenter", default-features = false }
icu_timezone = { version = "1.2.0", path = "../timezone", default-features = false }

# Experimental components
icu_casemapping = { version = "0.7.1", path = "../../experimental/casemapping", default-features = false, optional = true }
icu_displaynames = { version = "0.10.0", path = "../../experimental/displaynames", default-features = false, optional = true }
icu_relativetime = { version = "0.1.0", path = "../../experimental/relativetime", default-features = false, optional = true }
icu_compactdecimal = { version = "0.2.0", path = "../../experimental/compactdecimal", default-features = false, optional = true }

# For docs links
icu_provider = { version = "1.2.0", path = "../../provider/core", default-features = false }

[dev-dependencies]
icu_testdata = { path = "../../provider/testdata" }
writeable = { path = "../../utils/writeable" }

[features]
default = [
    "icu_segmenter/default",
]
std = [
    "icu_calendar/std",
    "icu_casemapping?/std",
    "icu_collator/std",
    "icu_collections/std",
    "icu_datetime/std",
    "icu_decimal/std",
    "icu_displaynames?/std",
    "icu_list/std",
    "icu_locid_transform/std",
    "icu_locid/std",
    "icu_normalizer/std",
    "icu_plurals/std",
    "icu_relativetime?/std",
    "icu_properties/std",
    "icu_segmenter/std",
    "icu_timezone/std",
]
serde = [
    "icu_calendar/serde",
    "icu_casemapping?/serde",
    "icu_collator/serde",
    "icu_collections/serde",
    "icu_datetime/serde",
    "icu_decimal/serde",
    "icu_displaynames?/serde",
    "icu_list/serde",
    "icu_locid_transform/serde",
    "icu_locid/serde",
    "icu_normalizer/serde",
    "icu_plurals/serde",
    "icu_relativetime?/serde",
    "icu_properties/serde",
    "icu_segmenter/serde",
    "icu_timezone/serde",
]
serde_human = [
    "icu_list/serde_human"
]
icu_datetime_experimental = [
    "icu_datetime/experimental",
]
experimental = [
    "icu_casemapping",
    "icu_datetime_experimental",
    "icu_displaynames",
    "icu_relativetime",
    "icu_compactdecimal",
]

[package.metadata.cargo-all-features]
# Components are tested individually, and there's no logic in this crate
skip_feature_sets = [[]]

[[example]]
name = "tui"
required-features = ["serde"]