Cargo Features
[dependencies]
gloo = { version = "0.11.0", default-features = false, features = ["futures", "timers", "events", "file", "dialogs", "storage", "render", "console", "utils", "history", "worker", "net"] }
- default = console, dialogs, events, file, history, net, render, storage, timers, utils, worker
-
These default features are set whenever
gloo
is added without
somewhere in the dependency tree.default-features = false - futures = file, timers, worker
-
Enables futures of gloo-file, gloo-timers, and gloo-worker
- timers default futures? = gloo-timers
- events default = gloo-events
- file default futures? = gloo-file
- dialogs default = gloo-dialogs
- storage default = gloo-storage
- render default = gloo-render
- console default = gloo-console
- utils default = gloo-utils
- history default = gloo-history
- worker default futures? = gloo-worker
- net default = gloo-net
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.