Cargo Features

WebExtensions has no features set by default.

[dependencies]
web-extensions = { version = "0.3.0", features = ["firefox"] }
firefox

Affects web-extensions::contextual_identities