Cargo Features

[dependencies]
localghost = { version = "0.3.0", default-features = false, features = ["task-idle"] }
default = task-idle

The task-idle feature is set by default whenever localghost is added without default-features = false somewhere in the dependency tree.

task-idle default

Enables IdleDeadline and IdleRequestOptions of web-sys

localghost has 2 features without comments.