152 lines
2.8 KiB
TOML
152 lines
2.8 KiB
TOML
# 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.82"
|
|
name = "zerotrie"
|
|
version = "0.2.3"
|
|
authors = ["The ICU4X Project Developers"]
|
|
build = false
|
|
include = [
|
|
"data/**/*",
|
|
"src/**/*",
|
|
"examples/**/*",
|
|
"benches/**/*",
|
|
"tests/**/*",
|
|
"Cargo.toml",
|
|
"LICENSE",
|
|
"README.md",
|
|
"build.rs",
|
|
]
|
|
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_core",
|
|
"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.8.0"
|
|
features = ["alloc"]
|
|
optional = true
|
|
default-features = false
|
|
|
|
[dependencies.serde_core]
|
|
version = "1.0.220"
|
|
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.3"
|
|
optional = true
|
|
default-features = false
|