Cargo Features

RocStr has no features set by default.

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

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 implicit feature

Enables serde

serde:

A generic serialization/deserialization framework

Affects rocstr::serialize