Cargo Features

[dependencies]
optivorbis = { version = "0.2.0", default-features = false, features = ["source-date-epoch", "wasm-bindings", "wasm-web-bindings"] }
default = source-date-epoch

The source-date-epoch feature is set by default whenever optivorbis is added without default-features = false somewhere in the dependency tree.

source-date-epoch default
wasm-bindings wasm-web-bindings? = wasm-bindgen
wasm-web-bindings = console_error_panic_hook, console_log, wasm-bindings

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.

wasm-bindgen wasm-bindings?
console_log wasm-web-bindings?
console_error_panic_hook wasm-web-bindings?