Cargo Features

[dependencies]
typespec_client_core = { version = "0.1.0", default-features = false, features = ["derive", "http", "json", "reqwest", "reqwest_gzip", "reqwest_rustls", "tokio_fs", "tokio_sleep", "xml"] }
default = http, json, reqwest, reqwest_gzip

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

derive

Enables typespec_macros

http default

Enables http-types, http of typespec

Affects typespec_client_core::http

json default

Enables json of typespec

Affects typespec_client_core::json

reqwest default reqwest_gzip reqwest_rustls?

Enables native-tls of reqwest

reqwest:

Enables native-tls specific functionality not available by default.

reqwest_gzip default

Enables gzip of reqwest

reqwest_rustls

Enables rustls-tls-native-roots of reqwest

tokio_fs

Enables fs, io-util and sync of tokio

tokio_sleep

Enables tokio

xml

Enables quick-xml ^0.31

Affects typespec_client_core::xml

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.

tokio tokio_fs? tokio_sleep?