Cargo Features

B2-client has no features set by default.

[dependencies]
b2-client = { version = "0.1.3", features = ["with_surf", "with_hyper", "with_isahc"] }

TODO: Add awc?

with_surf = async-std, surf

These features can only be enabled exclusively of each other:

with_hyper = http, hyper, hyper-tls, tokio
with_isahc = futures-lite, isahc

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 with_surf?
async-std with_surf?
hyper with_hyper?

Enables hyper ^0.14.13

TODO: Can I remove runtime?

hyper-tls with_hyper?

Enables hyper-tls ^0.5.0

tokio with_hyper?
http with_hyper?

Enables http ^0.2.5

isahc with_isahc?
futures-lite with_isahc?

Enables futures-lite ^1.10.1