# 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.71.1" name = "litemap" version = "0.7.4" authors = ["The ICU4X Project Developers"] build = false include = [ "data/**/*", "src/**/*", "examples/**/*", "benches/**/*", "tests/**/*", "Cargo.toml", "LICENSE", "README.md", ] autobins = false autoexamples = false autotests = false autobenches = false description = "A key-value Map implementation based on a flat, sorted Vec." documentation = "https://docs.rs/litemap" readme = "README.md" keywords = [ "sorted", "vec", "map", "hashmap", "btreemap", ] 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 [package.metadata.workspaces] independent = true [lib] name = "litemap" path = "src/lib.rs" bench = false [[example]] name = "language_names_hash_map" path = "examples/language_names_hash_map.rs" [[example]] name = "language_names_lite_map" path = "examples/language_names_lite_map.rs" [[example]] name = "litemap_bincode" path = "examples/litemap_bincode.rs" required-features = ["serde"] [[example]] name = "litemap_postcard" path = "examples/litemap_postcard.rs" required-features = ["serde"] [[test]] name = "rkyv" path = "tests/rkyv.rs" [[test]] name = "serde" path = "tests/serde.rs" required-features = ["serde"] [[test]] name = "store" path = "tests/store.rs" required-features = ["testing"] [[bench]] name = "litemap" path = "benches/litemap.rs" harness = false required-features = ["serde"] [dependencies.databake] version = "0.2.0" optional = true default-features = false [dependencies.serde] version = "1.0.110" features = ["alloc"] optional = true default-features = false [dependencies.yoke] version = "0.7.5" features = ["derive"] optional = true default-features = false [dev-dependencies.bincode] version = "1.3.1" [dev-dependencies.postcard] version = "1.0.1" features = ["use-std"] default-features = false [dev-dependencies.rkyv] version = "0.7" features = ["validation"] [dev-dependencies.serde] version = "1.0.110" default-features = false [dev-dependencies.serde_json] version = "1.0.45" [features] alloc = [] bench = ["serde"] databake = ["dep:databake"] default = ["alloc"] serde = ["dep:serde"] testing = ["alloc"] yoke = ["dep:yoke"] [target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.criterion] version = "0.5.0"