Cargo Features

[dependencies]
changes-stream2 = { version = "0.2.18", default-features = false, features = ["raw_value_doc", "metrics", "native-tls", "rustls-tls"] }
default = native-tls

The native-tls feature is set by default whenever changes-stream2 is added without default-features = false somewhere in the dependency tree.

raw_value_doc

change.doc as serde_json::value::RawValue

Enables raw_value of serde_json

Affects event::ChangeEvent.doc

metrics

Enables metrics ^0.23 and regex

native-tls default

tls library selection

Enables native-tls of reqwest

rustls-tls

Enables rustls-tls of reqwest