flexstr 0.11.2

A flexible, simple to use, clone-efficient string type for Rust
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 = "flexstr"
version = "0.11.2"
authors = ["Scott Meeuwsen <smeeuwsen@gmail.com>"]
build = false
exclude = ["docs/**"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A flexible, simple to use, clone-efficient string type for Rust"
documentation = "https://docs.rs/flexstr"
readme = "README.md"
keywords = [
    "string",
    "rc_str",
    "arc_str",
    "refcount",
    "inline",
]
categories = [
    "data-structures",
    "memory-management",
    "no-std",
    "text-processing",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/nu11ptr/flexstr"

[package.metadata.docs.rs]
features = [
    "bytes",
    "cstr",
    "osstr",
    "path",
    "serde",
    "std",
    "str",
]
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
bytes = [
    "flexstr_support/bytes",
    "inline_flexstr/bytes",
]
cstr = [
    "flexstr_support/cstr",
    "inline_flexstr/cstr",
]
default = [
    "std",
    "str",
]
osstr = [
    "flexstr_support/osstr",
    "inline_flexstr/osstr",
    "std",
]
path = [
    "flexstr_support/path",
    "inline_flexstr/path",
    "osstr",
]
safe = [
    "flexstr_support/safe",
    "inline_flexstr/safe",
]
sqlx_pg_arrays = [
    "sqlx",
    "sqlx/postgres",
]
std = [
    "flexstr_support/std",
    "inline_flexstr/std",
    "serde?/std",
]
str = [
    "flexstr_support/str",
    "inline_flexstr/str",
]
win_min_unsafe = [
    "flexstr_support/win_min_unsafe",
    "inline_flexstr/win_min_unsafe",
    "safe",
]

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

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

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

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

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

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

[dependencies.flexstr_support]
version = "0.1.3"
default-features = false

[dependencies.inline_flexstr]
version = "0.1.5"
default-features = false

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

[dependencies.sqlx]
version = "0.8"
optional = true
default-features = false

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