Cargo Features

[dependencies]
anthropic = { version = "0.0.8", default-features = false, features = ["rustls", "native-tls"] }
default = rustls

The rustls feature is set by default whenever anthropic is added without default-features = false somewhere in the dependency tree.

rustls default

Enable rustls for TLS support

Enables rustls-tls-native-roots of reqwest ^0.11.17

native-tls

Enable native-tls for TLS support

Enables native-tls of reqwest ^0.11.17