Cargo Features
[dependencies]
libtad-rs = { version = "0.2.0", default-features = false, features = ["async-client", "sync-client"] }
- default = sync-client
-
The
sync-client
feature is set by default wheneverlibtad-rs
is added without
somewhere in the dependency tree.default-features = false - async-client = async-trait, reqwest
- sync-client default = attohttpc
-
Enables is_sync of maybe-async
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.
- async-trait async-client?
-
Enables async-trait
Optional async handling
- reqwest async-client?
-
Enables reqwest ^0.11
HTTP clients
- attohttpc sync-client
-
Enables attohttpc ^0.17