Cargo Features

double-ratchet-2 has no features set by default.

[dependencies]
double-ratchet-2 = { version = "0.4.0-pre.2", features = ["wasm", "browser"] }
wasm

Enables js of getrandom

getrandom:

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

browser

double-ratchet-2 has 2 features without comments.