1# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO 2# 3# When uploading crates to the registry Cargo will automatically 4# "normalize" Cargo.toml files for maximal compatibility 5# with all versions of Cargo and also rewrite `path` dependencies 6# to registry (e.g., crates.io) dependencies. 7# 8# If you are reading this file be aware that the original Cargo.toml 9# will likely look very different (and much more reasonable). 10# See Cargo.toml.orig for the original contents. 11 12[package] 13edition = "2021" 14rust-version = "1.81" 15name = "tinystr" 16version = "0.8.1" 17authors = ["The ICU4X Project Developers"] 18build = false 19include = [ 20 "data/**/*", 21 "src/**/*", 22 "examples/**/*", 23 "benches/**/*", 24 "tests/**/*", 25 "Cargo.toml", 26 "LICENSE", 27 "README.md", 28] 29autolib = false 30autobins = false 31autoexamples = false 32autotests = false 33autobenches = false 34description = "A small ASCII-only bounded length string representation." 35readme = "README.md" 36keywords = [ 37 "string", 38 "str", 39 "small", 40 "tiny", 41 "no_std", 42] 43categories = ["data-structures"] 44license = "Unicode-3.0" 45repository = "https://github.com/unicode-org/icu4x" 46 47[package.metadata.docs.rs] 48all-features = true 49 50[package.metadata.workspaces] 51independent = true 52 53[features] 54alloc = ["zerovec?/alloc"] 55databake = ["dep:databake"] 56default = ["alloc"] 57serde = ["dep:serde"] 58std = [] 59zerovec = ["dep:zerovec"] 60 61[lib] 62name = "tinystr" 63path = "src/lib.rs" 64bench = false 65 66[[test]] 67name = "serde" 68path = "tests/serde.rs" 69required-features = ["serde"] 70 71[[bench]] 72name = "construct" 73path = "benches/construct.rs" 74harness = false 75 76[[bench]] 77name = "overview" 78path = "benches/overview.rs" 79harness = false 80 81[[bench]] 82name = "read" 83path = "benches/read.rs" 84harness = false 85 86[[bench]] 87name = "serde" 88path = "benches/serde.rs" 89harness = false 90required-features = ["serde"] 91 92[dependencies.databake] 93version = "0.2.0" 94optional = true 95default-features = false 96 97[dependencies.displaydoc] 98version = "0.2.3" 99default-features = false 100 101[dependencies.serde] 102version = "1.0.110" 103features = ["alloc"] 104optional = true 105default-features = false 106 107[dependencies.zerovec] 108version = "0.11.1" 109optional = true 110default-features = false 111 112[dev-dependencies.bincode] 113version = "1.3.1" 114 115[dev-dependencies.postcard] 116version = "1.0.3" 117features = ["use-std"] 118default-features = false 119 120[dev-dependencies.rand] 121version = "0.8" 122features = ["small_rng"] 123 124[dev-dependencies.serde_json] 125version = "1.0.45" 126features = ["alloc"] 127 128[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.criterion] 129version = "0.5.0" 130