Source code
Revision control
Copy as Markdown
Other Tools
# 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 = "litemap"
version = "0.8.0"
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 key-value Map implementation based on a flat, sorted Vec."
readme = "README.md"
keywords = [
"sorted",
"vec",
"map",
"hashmap",
"btreemap",
]
license = "Unicode-3.0"
[package.metadata.docs.rs]
all-features = true
[package.metadata.workspaces]
independent = true
[features]
alloc = []
databake = ["dep:databake"]
default = ["alloc"]
serde = [
"dep:serde",
"alloc",
]
testing = ["alloc"]
yoke = ["dep:yoke"]
[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.8.0"
features = ["derive"]
optional = true
default-features = false
[dev-dependencies.bincode]
version = "1.3.1"
[dev-dependencies.postcard]
version = "1.0.3"
features = ["use-std"]
default-features = false
[dev-dependencies.rand]
version = "0.9"
[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"
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.criterion]
version = "0.5.0"