Cargo Features
[dependencies]
openapi-client-gen = { version = "0.0.2", default-features = false, features = ["blocking", "async", "ffi"] }
- default = async, blocking
-
These default features are set whenever
openapi-client-gen
is added without
somewhere in the dependency tree.default-features = false - blocking default
-
Affects
rt::BlockingStream
,rt::RequestCustomizer.customize_request_blocking
,rt::ResponseCustomizer.customize_response_blocking
,rt::ApiRequestBuilder.builder_blocking
… - async default
-
Affects
rt::set_tokio_runtime
,rt::has_tokio_runtime
,rt::AsyncStream
,rt::RequestCustomizer.customize_request_async
,rt::ResponseCustomizer.customize_response_async
,rt::ApiRequestBuilder.builder_async
… - ffi