blob: cfa15aad77ddd14a34dae2cfe364253459a0692f [file] [log] [blame]
# 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 = "2021"
rust-version = "1.81"
name = "zerotrie"
version = "0.2.1"
authors = ["The ICU4X Project Developers"]
build = false
include = [
"data/**/*",
"src/**/*",
"examples/**/*",
"benches/**/*",
"tests/**/*",
"Cargo.toml",
"LICENSE",
"README.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A data structure that efficiently maps strings to integers"
homepage = "https://icu4x.unicode.org"
readme = "README.md"
categories = ["internationalization"]
license = "Unicode-3.0"
repository = "https://github.com/unicode-org/icu4x"
[package.metadata.docs.rs]
all-features = true
[features]
alloc = []
databake = [
"dep:databake",
"zerovec?/databake",
]
default = []
litemap = [
"dep:litemap",
"alloc",
]
serde = [
"dep:serde",
"dep:litemap",
"alloc",
"litemap/serde",
"zerovec?/serde",
]
yoke = ["dep:yoke"]
zerofrom = ["dep:zerofrom"]
[lib]
name = "zerotrie"
path = "src/lib.rs"
bench = false
[[example]]
name = "first_weekday_for_region"
path = "examples/first_weekday_for_region.rs"
[[test]]
name = "asciitrie_test"
path = "tests/asciitrie_test.rs"
required-features = [
"alloc",
"litemap",
]
[[test]]
name = "builder_test"
path = "tests/builder_test.rs"
required-features = [
"alloc",
"litemap",
]
[[test]]
name = "derive_test"
path = "tests/derive_test.rs"
[[test]]
name = "ignorecase_test"
path = "tests/ignorecase_test.rs"
[[test]]
name = "locale_aux_test"
path = "tests/locale_aux_test.rs"
required-features = [
"alloc",
"litemap",
]
[[bench]]
name = "overview"
path = "benches/overview.rs"
harness = false
required-features = [
"alloc",
"litemap",
]
[dependencies.databake]
version = "0.2.0"
features = ["derive"]
optional = true
default-features = false
[dependencies.displaydoc]
version = "0.2.3"
default-features = false
[dependencies.litemap]
version = "0.7.3"
features = ["alloc"]
optional = true
default-features = false
[dependencies.serde]
version = "1.0.110"
optional = true
default-features = false
[dependencies.yoke]
version = "0.8.0"
features = ["derive"]
optional = true
default-features = false
[dependencies.zerofrom]
version = "0.1.3"
optional = true
default-features = false
[dependencies.zerovec]
version = "0.11.1"
optional = true
default-features = false
[dev-dependencies.bincode]
version = "1.3.1"
[dev-dependencies.postcard]
version = "1.0.3"
features = ["alloc"]
default-features = false
[dev-dependencies.rand]
version = "0.8"
[dev-dependencies.rand_pcg]
version = "0.3"
[dev-dependencies.rmp-serde]
version = "1.2.0"
[dev-dependencies.serde]
version = "1.0.110"
default-features = false
[dev-dependencies.serde_json]
version = "1.0.45"
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.criterion]
version = "0.5.0"