133 lines
2.5 KiB
TOML
133 lines
2.5 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 = "tinystr"
|
|
version = "0.8.2"
|
|
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 small ASCII-only bounded length string representation."
|
|
readme = "README.md"
|
|
keywords = [
|
|
"string",
|
|
"str",
|
|
"small",
|
|
"tiny",
|
|
"no_std",
|
|
]
|
|
categories = ["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
|
|
|
|
[features]
|
|
alloc = [
|
|
"serde_core?/alloc",
|
|
"zerovec?/alloc",
|
|
]
|
|
databake = ["dep:databake"]
|
|
default = ["alloc"]
|
|
serde = ["dep:serde_core"]
|
|
std = []
|
|
zerovec = ["dep:zerovec"]
|
|
|
|
[lib]
|
|
name = "tinystr"
|
|
path = "src/lib.rs"
|
|
bench = false
|
|
|
|
[[test]]
|
|
name = "serde"
|
|
path = "tests/serde.rs"
|
|
required-features = ["serde"]
|
|
|
|
[[bench]]
|
|
name = "construct"
|
|
path = "benches/construct.rs"
|
|
harness = false
|
|
|
|
[[bench]]
|
|
name = "overview"
|
|
path = "benches/overview.rs"
|
|
harness = false
|
|
|
|
[[bench]]
|
|
name = "read"
|
|
path = "benches/read.rs"
|
|
harness = false
|
|
|
|
[[bench]]
|
|
name = "serde"
|
|
path = "benches/serde.rs"
|
|
harness = false
|
|
required-features = ["serde"]
|
|
|
|
[dependencies.databake]
|
|
version = "0.2.0"
|
|
optional = true
|
|
default-features = false
|
|
|
|
[dependencies.displaydoc]
|
|
version = "0.2.3"
|
|
default-features = false
|
|
|
|
[dependencies.serde_core]
|
|
version = "1.0.220"
|
|
optional = true
|
|
default-features = false
|
|
|
|
[dependencies.zerovec]
|
|
version = "0.11.3"
|
|
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"
|
|
features = ["small_rng"]
|
|
|
|
[dev-dependencies.serde_json]
|
|
version = "1.0.45"
|
|
features = ["alloc"]
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.criterion]
|
|
version = "0.5.0"
|