Cargo Features

svg-diff has no features set by default.

[dependencies]
svg-diff = { version = "0.0.6", features = ["node", "wasm"] }
node = napi, napi-build, napi-derive

Affects bindings::napi

wasm = console_error_panic_hook, serde-wasm-bindgen, wasm-bindgen

Enables js of getrandom

getrandom:

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

Affects bindings::wasm

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.

napi node?
napi-derive node?
wasm-bindgen wasm?
serde-wasm-bindgen wasm?
console_error_panic_hook wasm?
napi-build build node?