[dependencies.arbitrary]
default-features = false
optional = true
version = "1"
[dependencies.borsh]
optional = true
version = "1"
[dependencies.bytes]
optional = true
version = "1"
[dependencies.castaway]
default-features = false
features = ["alloc"]
version = "0.2.3"
[dependencies.cfg-if]
version = "1"
[dependencies.diesel]
default-features = false
optional = true
version = "2"
[dependencies.itoa]
version = "1"
[dependencies.markup]
default-features = false
optional = true
version = "0.13"
[dependencies.proptest]
default-features = false
features = ["std"]
optional = true
version = "1"
[dependencies.quickcheck]
default-features = false
optional = true
version = "1"
[dependencies.rkyv]
default-features = false
features = ["size_32"]
optional = true
version = "0.7"
[dependencies.rustversion]
version = "1"
[dependencies.ryu]
version = "1"
[dependencies.serde]
default-features = false
features = ["derive", "alloc"]
optional = true
version = "1"
[dependencies.smallvec]
features = ["union"]
optional = true
version = "1"
[dependencies.sqlx]
default-features = false
optional = true
version = "0.7"
[dependencies.static_assertions]
version = "1"
[dev-dependencies.cfg-if]
version = "1"
[dev-dependencies.proptest]
default-features = false
features = ["std"]
version = "1"
[dev-dependencies.quickcheck]
default-features = false
version = "1"
[dev-dependencies.quickcheck_macros]
version = "1"
[dev-dependencies.rayon]
version = "1"
[dev-dependencies.rkyv]
default-features = false
features = ["alloc", "size_32"]
version = "0.7"
[dev-dependencies.serde]
features = ["derive"]
version = "1"
[dev-dependencies.serde_json]
version = "1"
[dev-dependencies.test-case]
version = "3"
[dev-dependencies.test-strategy]
version = "0.3"
[features]
arbitrary = ["dep:arbitrary"]
borsh = ["dep:borsh"]
bytes = ["dep:bytes"]
default = ["std"]
diesel = ["dep:diesel"]
markup = ["dep:markup"]
proptest = ["dep:proptest"]
quickcheck = ["dep:quickcheck"]
rkyv = ["dep:rkyv"]
serde = ["dep:serde"]
smallvec = ["dep:smallvec"]
sqlx = ["dep:sqlx", "std"]
sqlx-mysql = ["sqlx", "sqlx/mysql"]
sqlx-postgres = ["sqlx", "sqlx/postgres"]
sqlx-sqlite = ["sqlx", "sqlx/sqlite"]
std = []
[package]
authors = ["Parker Timmerman <parker@parkertimmerman.com>"]
categories = ["encoding", "parsing", "memory-management", "text-processing"]
description = "A memory efficient string type that transparently stores strings on the stack, when possible"
edition = "2021"
homepage = "https://github.com/ParkMyCar/compact_str"
keywords = ["string", "compact", "small", "memory", "mutable"]
license = "MIT"
name = "compact_str"
readme = "README.md"
repository = "https://github.com/ParkMyCar/compact_str"
version = "0.8.0"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]