Cargo Features

postgres-protocol has no features set by default.

[dependencies]
postgres-protocol = { version = "0.6.8", features = ["js"] }
js

Enables wasm_js of getrandom

getrandom:

Optional backend: wasm_js
This flag enables the backend but does not select it. To use the backend, use this flag *and* set getrandom_backend=wasm_js (see README).

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.

getrandom js?