Cargo Features

RocStr has no features set by default.

[dependencies]
rocstr = { version = "0.6.2", features = ["std", "postgres"] }
std postgres?

Enables std of serde

serde:

Provide impls for common standard library types like Vec<T> and HashMap<K, V>.
Requires a dependency on the Rust standard library.

Affects rocerr::std

postgres = bytes, postgres-types, std

Affects rocstr::postgres

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

bytes postgres?
postgres-types postgres?
serde std?

Affects rocstr::serialize