Cargo Features
[dependencies]
beatsaver-rs = { version = "0.2.0", default-features = false, features = ["async", "sync", "surf_backend", "reqwest_backend", "ureq_backend", "hash"] }
- default = reqwest_backend
-
The
reqwest_backend
feature is set by default wheneverbeatsaver-rs
is added without
somewhere in the dependency tree.default-features = false - async reqwest_backend surf_backend? = async-trait, futures
- sync ureq_backend?
- surf_backend = async, async-std, surf
- reqwest_backend default = async, reqwest, tokio
- ureq_backend = sync, ureq
- hash = sha2
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.
- surf surf_backend?
- async-std surf_backend?
- async-trait async?
- futures async?
- tokio reqwest_backend
- reqwest reqwest_backend
-
Enables reqwest ^0.11
- sha2 hash?
-
Enables sha2 ^0.9
- ureq ureq_backend?