Cargo Features
[dependencies]
deft = { version = "0.7.1", default-features = false, features = ["tray", "sqlite", "http", "websocket", "audio", "gl", "clipboard", "dialog"] }
- default = gl, http, tray, websocket
-
These default features are set whenever
deft
is added without
somewhere in the dependency tree.default-features = false - tray default = deft-tray
-
Affects
ext::ext_tray
… - sqlite = rusqlite
-
Affects
ext::ext_sqlite
… - http default = reqwest
-
Affects
ext::ext_http
,ext::ext_fetch
… - websocket default = tokio-tungstenite
-
Affects
ext::ext_websocket
,deft::websocket
… - audio = rodio
-
Affects
ext::ext_audio
… - gl default
-
Enables gl of skia-window
- clipboard
-
Enables clipboard
Affects
ext::ext_clipboard
… - dialog = native-dialog
-
Affects
ext::ext_dialog
…
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.
- deft-tray tray
- tokio-tungstenite websocket
-
Enables tokio-tungstenite ^0.23.1
- rodio audio?
-
Enables rodio ^0.19.0
- rusqlite sqlite?
-
Enables rusqlite ^0.32.0
- native-dialog not android dialog?
-
Enables native-dialog ^0.7.0
- reqwest not android android http
-
Enables reqwest ^0.11.27