Cargo Features
[dependencies]
fugle = { version = "0.3.8", default-features = false, features = ["query", "async-query", "websocket", "async-websocket"] }
- default = query
-
The
query
feature is set by default wheneverfugle
is added without
somewhere in the dependency tree.default-features = false - query default = ureq
- async-query = reqwest
- websocket = log, serde_json, tungstenite
-
Affects
fugle::websocket
… - async-websocket = futures-util, log, serde_json, tokio, tokio-tungstenite, tungstenite
-
Affects
fugle::websocket
…
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.
- ureq query
- serde_json async-websocket? websocket?
- log async-websocket? websocket?
- futures-util async-websocket?
- tokio async-websocket?
- reqwest async-query?
-
Enables reqwest ^0.11
- tokio-tungstenite async-websocket?
-
Enables tokio-tungstenite ^0.17
- tungstenite async-websocket? websocket?
-
Enables tungstenite ^0.17