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.81"
name = "tinystr"
version = "0.8.1"
authors = ["The ICU4X Project Developers"]
build = false
include = [
"data/**/*",
"src/**/*",
"examples/**/*",
"benches/**/*",
"tests/**/*",
"Cargo.toml",
"LICENSE",
"README.md",
]
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"
[package.metadata.docs.rs]
all-features = true
[package.metadata.workspaces]
independent = true
[features]
alloc = ["zerovec?/alloc"]
databake = ["dep:databake"]
default = ["alloc"]
serde = ["dep:serde"]
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]
version = "1.0.110"
features = ["alloc"]
optional = true
default-features = false
[dependencies.zerovec]
version = "0.11.1"
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.8"
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"