Cargo Features

[dependencies]
liburlx = { version = "0.1.0", default-features = false, features = ["http", "http2", "http3", "rustls", "ssh", "hickory-dns", "decompression"] }
default = decompression, http, http2, rustls

These default features are set whenever liburlx is added without default-features = false somewhere in the dependency tree.

http default

Protocols

http2 default

Enables bytes and h2

Affects http::h2

http3

Enables bytes, h3, h3-quinn, and quinn

Affects http::h3

rustls default

TLS backends

Enables rustls, tokio-rustls, and webpki-roots

ssh

SSH/SFTP/SCP protocols

Enables russh and russh-sftp

Affects protocol::ssh

hickory-dns

Async DNS resolver

Enables hickory-resolver

Affects dns::HickoryResolver

decompression default

Content-Encoding decompression

Enables brotli ^7, flate2, and zstd