Cargo Features
[dependencies]
odoo-api = { version = "0.2.5", default-features = false, features = ["async", "blocking", "types-only"] }
- default = async, blocking
-
By default, fully reqwest async/blocking support is enabled
- async default = reqwest
-
Include async Reqwest support
- blocking default = reqwest
-
Include blocking Reqwest support
Enables blocking of reqwest ^0.11
- types-only
-
Disable the "OdooClient" implementation. This is useful if you *only* need the API method types
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.
- reqwest async blocking
-
Enables reqwest ^0.11