Cargo Features

Hedwig has no features set by default.

[dependencies]
hedwig = { version = "7.1.0", features = ["google", "mock", "json-schema", "protobuf"] }
google = parking_lot, tracing, ya-gcp

Backends

Affects backends::googlepubsub

mock = async-channel, parking_lot
json-schema = serde, serde_json, valico

Validators

protobuf = prost

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.

async-channel mock?

Enables async-channel ^1.6

serde json-schema?
serde_json json-schema?
parking_lot google? mock?

Enables parking_lot ^0.11

prost protobuf?

Enables prost ^0.12

Affects validators::prost

tracing google?
valico json-schema?

Enables valico ^3.2

ya-gcp google?