[package]
name = "icu_provider_blob"
description = "ICU4X data provider that reads from blobs in memory"
authors.workspace = true
categories.workspace = true
edition.workspace = true
homepage.workspace = true
include.workspace = true
license.workspace = true
repository.workspace = true
rust-version.workspace = true
version.workspace = true
[package.metadata.docs.rs]
all-features = true
[dependencies]
icu_provider = { workspace = true, features = ["deserialize_postcard_1", "serde"] }
postcard = { workspace = true, features = ["alloc"] }
serde = { workspace = true, features = ["alloc"] }
writeable = {workspace = true }
zerovec = { workspace = true, features = ["serde", "yoke"] }
zerotrie = { workspace = true, features = ["serde", "zerovec"] }
log = { workspace = true, optional = true }
[dev-dependencies]
icu_locid = { path = "../../components/locid", default-features = false, features = ["serde"] }
icu_datetime = { path = "../../components/datetime", default-features = false, features = ["datagen", "experimental"] }
icu_datetime_data = { path = "../../provider/baked/datetime" }
icu_locid_transform = { path = "../../components/locid_transform", default-features = false, features = ["compiled_data"] }
icu_datagen = { path = "../../provider/datagen", default-features = false }
icu_provider_adapters = { path = "../../provider/adapters", default-features = false }
twox-hash = { workspace = true }
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
criterion = { workspace = true }
[features]
bench = []
std = ["icu_provider/std"]
export = [
"icu_provider/datagen",
"log",
"postcard/alloc",
"std",
"zerovec/serde",
"zerotrie/alloc",
"zerotrie/litemap",
]
[lib]
bench = false
[[bench]]
name = "auxkey_bench"
harness = false
required-features = ["export"]
[[bench]]
name = "blob_version_bench"
harness = false