Cargo Features

[dependencies]
ustc_cas = { version = "0.2.0", default-features = false, features = ["validate-code", "blocking", "native-tls", "rustls-tls"] }
default = native-tls, validate-code

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

validate-code default = bytes, image
blocking

Enables blocking of reqwest ^0.11

Affects ustc_cas::blocking

native-tls default

Enables native-tls of reqwest ^0.11

reqwest:

Enables native-tls specific functionality not available by default.

rustls-tls

Enables rustls-tls of reqwest ^0.11

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.

bytes validate-code
image validate-code

Enables image ^0.24