Cargo Features

[dependencies]
compact_str = { version = "0.8.0", default-features = false, features = ["std", "borsh", "bytes", "diesel", "markup", "quickcheck", "rkyv", "serde", "smallvec", "sqlx", "sqlx-mysql", "sqlx-postgres", "sqlx-sqlite", "arbitrary", "proptest"] }
default = std

The std feature is set by default whenever compact_str is added without default-features = false somewhere in the dependency tree.

std default sqlx?
borsh

Enables borsh

bytes

Enables bytes

diesel

Enables diesel

markup

Enables markup ^0.13

quickcheck

Enables quickcheck

rkyv

Enables rkyv

serde

Enables serde

smallvec

Enables smallvec

sqlx sqlx-mysql? sqlx-postgres? sqlx-sqlite? = std

Enables sqlx ^0.7

sqlx-mysql = sqlx

Enables mysql of sqlx ^0.7

sqlx-postgres = sqlx

Enables postgres of sqlx ^0.7

sqlx-sqlite = sqlx

Enables sqlite of sqlx ^0.7

arbitrary

Enables arbitrary

proptest

Enables proptest

compact_str has 16 features without comments.