[package]
edition = "2024"
name = "inline_flexstr"
version = "0.1.7"
authors = ["Scott Meeuwsen <smeeuwsen@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A simple to use, copy/clone-efficient inline string type for Rust"
documentation = "https://docs.rs/inline_flexstr"
readme = "README.md"
keywords = [
"string",
"inline",
]
categories = [
"data-structures",
"memory-management",
"no-std",
"text-processing",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/nu11ptr/flexstr/inline_flexstr"
[package.metadata.docs.rs]
features = [
"bytes",
"cstr",
"osstr",
"path",
"prost",
"serde",
"std",
"str",
]
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
bytes = ["flexstr_support/bytes"]
cstr = ["flexstr_support/cstr"]
default = [
"std",
"str",
]
osstr = [
"flexstr_support/osstr",
"std",
]
path = [
"flexstr_support/path",
"osstr",
]
prost = ["dep:prost"]
safe = ["flexstr_support/safe"]
sqlx_pg_arrays = [
"sqlx",
"sqlx/postgres",
]
std = [
"flexstr_support/std",
"serde?/std",
"prost?/std",
]
str = ["flexstr_support/str"]
win_min_unsafe = [
"flexstr_support/win_min_unsafe",
"safe",
]
[lib]
name = "inline_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.prost]
version = "0.14"
optional = true
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"