# 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.67" name = "zerotrie" version = "0.1.3" authors = ["The ICU4X Project Developers"] include = [ "data/**/*", "src/**/*", "examples/**/*", "benches/**/*", "tests/**/*", "Cargo.toml", "LICENSE", "README.md", ] 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.cargo-all-features] denylist = ["bench"] [package.metadata.docs.rs] all-features = true [lib] bench = false [[test]] name = "asciitrie_test" required-features = [ "alloc", "litemap", ] [[test]] name = "builder_test" required-features = [ "alloc", "litemap", ] [[test]] name = "locale_aux_test" required-features = [ "alloc", "litemap", ] [[bench]] name = "overview" harness = false required-features = [ "alloc", "litemap", ] [dependencies.databake] version = "0.1.8" 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.7.4" features = ["derive"] optional = true default-features = false [dependencies.zerofrom] version = "0.1.3" optional = true default-features = false [dependencies.zerovec] version = "0.10.2" optional = true default-features = false [dev-dependencies.bincode] version = "1.3.1" [dev-dependencies.postcard] version = "1.0.1" 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" [features] alloc = [] bench = ["litemap"] 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"] [target."cfg(not(target_arch = \"wasm32\"))".dev-dependencies.criterion] version = "0.5.0"