Cargo Features

postgres-protocol has no features set by default.

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

Enables js of getrandom

getrandom:

Feature to enable JavaScript bindings on wasm*-unknown-unknown

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?