Cargo Features

[dependencies]
matrix-oracle = { version = "0.1.3", default-features = false, features = ["client", "server", "native-tls", "rustls"] }
default = client, native-tls, server

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

client default = url

Enable client-server well-known resolution

Affects matrix-oracle::client

server default = trust-dns-resolver

Enable server-server well-known resolution

Affects matrix-oracle::server

native-tls default

Use openssl for TLS

Enables native-tls of reqwest ^0.11, dns-over-native-tls and dnssec-openssl of trust-dns-resolver ^0.22

rustls

Use rustls for TLS

Enables rustls-tls of reqwest ^0.11, dns-over-rustls and dnssec-ring of trust-dns-resolver ^0.22

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.

trust-dns-resolver native-tls rustls? server

Enables trust-dns-resolver ^0.22

url client