146 lines
2.7 KiB
TOML
146 lines
2.7 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 = "zerovec"
|
|
version = "0.11.5"
|
|
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 = "Zero-copy vector backed by a byte array"
|
|
readme = "README.md"
|
|
keywords = [
|
|
"zerocopy",
|
|
"serialization",
|
|
"zero-copy",
|
|
"serde",
|
|
]
|
|
categories = [
|
|
"rust-patterns",
|
|
"memory-management",
|
|
"caching",
|
|
"no-std",
|
|
"data-structures",
|
|
]
|
|
license = "Unicode-3.0"
|
|
repository = "https://github.com/unicode-org/icu4x"
|
|
|
|
[package.metadata.workspaces]
|
|
independent = true
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
|
|
[package.metadata.cargo-all-features]
|
|
max_combination_size = 3
|
|
|
|
[features]
|
|
alloc = ["serde?/alloc"]
|
|
databake = ["dep:databake"]
|
|
derive = ["dep:zerovec-derive"]
|
|
hashmap = [
|
|
"dep:twox-hash",
|
|
"alloc",
|
|
]
|
|
serde = ["dep:serde"]
|
|
std = []
|
|
yoke = ["dep:yoke"]
|
|
|
|
[lib]
|
|
name = "zerovec"
|
|
path = "src/lib.rs"
|
|
bench = false
|
|
|
|
[[example]]
|
|
name = "zv_serde"
|
|
path = "examples/zv_serde.rs"
|
|
required-features = ["serde"]
|
|
|
|
[[bench]]
|
|
name = "vzv"
|
|
path = "benches/vzv.rs"
|
|
harness = false
|
|
|
|
[[bench]]
|
|
name = "zeromap"
|
|
path = "benches/zeromap.rs"
|
|
harness = false
|
|
required-features = [
|
|
"serde",
|
|
"hashmap",
|
|
"derive",
|
|
]
|
|
|
|
[[bench]]
|
|
name = "zerovec"
|
|
path = "benches/zerovec.rs"
|
|
harness = false
|
|
|
|
[[bench]]
|
|
name = "zerovec_iai"
|
|
path = "benches/zerovec_iai.rs"
|
|
harness = false
|
|
|
|
[[bench]]
|
|
name = "zerovec_serde"
|
|
path = "benches/zerovec_serde.rs"
|
|
harness = false
|
|
required-features = ["serde"]
|
|
|
|
[dependencies.databake]
|
|
version = "0.2.0"
|
|
features = ["derive"]
|
|
optional = true
|
|
default-features = false
|
|
|
|
[dependencies.serde]
|
|
version = "1.0.220"
|
|
features = ["derive"]
|
|
optional = true
|
|
default-features = false
|
|
|
|
[dependencies.twox-hash]
|
|
version = "2.0.0"
|
|
features = ["xxhash64"]
|
|
optional = true
|
|
default-features = false
|
|
|
|
[dependencies.yoke]
|
|
version = "0.8.0"
|
|
optional = true
|
|
default-features = false
|
|
|
|
[dependencies.zerofrom]
|
|
version = "0.1.3"
|
|
default-features = false
|
|
|
|
[dependencies.zerovec-derive]
|
|
version = "0.11.1"
|
|
optional = true
|
|
default-features = false
|