lean_string 0.5.2

Compact, clone-on-write string.
Documentation
# 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 = "2024"
name = "lean_string"
version = "0.5.2"
authors = ["ryota2357"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Compact, clone-on-write string."
readme = "README.md"
keywords = [
    "string",
    "sso",
    "cow",
]
categories = [
    "data-structures",
    "no-std",
]
license = "MIT"
repository = "https://github.com/ryota2357/lean_string"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
default = ["std"]
std = []

[lib]
name = "lean_string"
path = "src/lib.rs"

[[test]]
name = "alloc_string"
path = "tests/alloc_string.rs"

[[test]]
name = "arbitrary"
path = "tests/arbitrary.rs"

[[test]]
name = "handmade"
path = "tests/handmade.rs"

[[test]]
name = "loom"
path = "tests/loom.rs"

[[test]]
name = "property"
path = "tests/property.rs"

[[test]]
name = "serde"
path = "tests/serde.rs"

[dependencies.arbitrary]
version = "1"
optional = true
default-features = false

[dependencies.castaway]
version = "0.2.4"
features = ["alloc"]
default-features = false

[dependencies.itoa]
version = "1.0"

[dependencies.ryu]
version = "1.0"

[dependencies.serde]
version = "1.0"
optional = true
default-features = false

[dev-dependencies.paste]
version = "1.0.15"

[dev-dependencies.proptest]
version = "1.10.0"
features = ["attr-macro"]

[dev-dependencies.serde]
version = "1.0"
features = ["derive"]

[dev-dependencies.serde_json]
version = "1.0"

[target."cfg(loom)".dependencies.loom]
version = "0.7.2"
optional = true

[target."cfg(loom)".dev-dependencies.dhat]
version = "0.3.3"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(loom)"]