cheetah-string 2.0.0

A lightweight, high-performance string manipulation library optimized for speed-sensitive applications
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 = "2021"
rust-version = "1.75.0"
name = "cheetah-string"
version = "2.0.0"
authors = ["mxsm <mxsm@apache.org>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
A lightweight, high-performance string manipulation library optimized for speed-sensitive applications
"""
homepage = "https://github.com/mxsm/cheetah-string"
readme = "README.md"
keywords = [
    "fast",
    "fast-string",
    "bytes",
    "rust",
    "rocketmq-rust",
]
categories = ["network-programming"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/mxsm/cheetah-string"

[features]
bytes = ["dep:bytes"]
default = ["std"]
experimental-packed = []
serde = [
    "dep:serde",
    "serde/alloc",
]
simd = []
std = ["memchr/std"]

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

[[example]]
name = "char_methods"
path = "examples/char_methods.rs"

[[example]]
name = "comprehensive_patterns"
path = "examples/comprehensive_patterns.rs"

[[example]]
name = "pattern_matching"
path = "examples/pattern_matching.rs"

[[example]]
name = "simd_demo"
path = "examples/simd_demo.rs"

[[example]]
name = "test_empty_pattern"
path = "examples/test_empty_pattern.rs"

[[example]]
name = "test_split_behavior"
path = "examples/test_split_behavior.rs"

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

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

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

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

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

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

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

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

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

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

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

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

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

[[bench]]
name = "cheetah"
path = "benches/cheetah.rs"
harness = false

[[bench]]
name = "comprehensive"
path = "benches/comprehensive.rs"
harness = false

[[bench]]
name = "layout"
path = "benches/layout.rs"
harness = false

[[bench]]
name = "mq_properties"
path = "benches/mq_properties.rs"
harness = false

[[bench]]
name = "mq_remoting_header"
path = "benches/mq_remoting_header.rs"
harness = false

[[bench]]
name = "mq_topic"
path = "benches/mq_topic.rs"
harness = false

[[bench]]
name = "mutation"
path = "benches/mutation.rs"
harness = false

[[bench]]
name = "pattern"
path = "benches/pattern.rs"
harness = false

[[bench]]
name = "simd"
path = "benches/simd.rs"
harness = false

[dependencies.bytes]
version = "1.10.0"
optional = true
default-features = false

[dependencies.memchr]
version = "2"
default-features = false

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

[dev-dependencies.compact_str]
version = "0.8"

[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]

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

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