Cargo Features

hyper-client-sockets has no features set by default.

[dependencies]
hyper-client-sockets = { version = "0.5.2", features = ["full", "tokio-backend", "async-io-backend", "hyper-util", "unix", "vsock", "firecracker"] }
full = async-io-backend, firecracker, hyper-util, tokio-backend, unix, vsock
tokio-backend full?

Enables tokio of hyper-util and libc and tokio

tokio:

tokio backend

Affects hyper-client-sockets::tokio

async-io-backend full?

Enables async-io, futures-lite, libc, and smol-hyper

async-io:

async-io backend

Affects hyper-client-sockets::async_io

hyper-util full? tokio-backend?

Enables hex and http, client-legacy of hyper-util and tower-service

hyper-util support

Affects hyper-client-sockets::uri, hyper-client-sockets::connector

unix full?

Affects connector::unix, hyper-client-sockets::Backend.connect_to_unix_socket, uri::UnixUri

vsock full?

Enables vsock

vsock sockets

Affects async_io::AsyncVsockIo, connector::vsock, hyper-client-sockets::Backend.connect_to_vsock_socket, tokio::TokioVsockIo, uri::VsockUri

firecracker full?

Affects connector::firecracker, hyper-client-sockets::Backend.connect_to_firecracker_socket, uri::FirecrackerUri