# 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_compactdecimal" description = "Compact decimal" version = "0.2.4" license-file = "LICENSE" authors.workspace = true categories.workspace = true edition.workspace = true homepage.workspace = true include.workspace = true repository.workspace = true rust-version.workspace = true [package.metadata.workspaces] independent = true [package.metadata.docs.rs] all-features = true [dependencies] displaydoc = { version = "0.2.3", default-features = false } fixed_decimal = { workspace = true } icu_decimal = { workspace = true } icu_plurals = { workspace = true } icu_provider = { workspace = true, features = ["macros"] } writeable = { workspace = true } zerovec = { workspace = true, features = ["yoke"] } databake = { workspace = true, features = ["derive"], optional = true} serde = { version = "1.0", default-features = false, features = ["derive", "alloc"], optional = true } icu_compactdecimal_data = { workspace = true, optional = true } icu_locid_transform = { workspace = true, optional = true, features = ["compiled_data"]} [dev-dependencies] icu_locid = { path = "../../components/locid" } [features] default = ["compiled_data"] std = ["fixed_decimal/std", "icu_decimal/std", "icu_plurals/std", "icu_provider/std"] serde = ["dep:serde", "zerovec/serde", "icu_decimal/serde", "icu_plurals/serde"] datagen = ["std", "serde", "dep:databake", "zerovec/databake"] compiled_data = ["dep:icu_compactdecimal_data", "dep:icu_locid_transform", "icu_decimal/compiled_data", "icu_plurals/compiled_data"] ryu = ["fixed_decimal/ryu"]