Cargo Features

[dependencies]
stabilityai = { version = "0.1.0", default-features = false, features = ["rustls", "native-tls", "native-tls-vendored"] }
default = rustls

The rustls feature is set by default whenever stabilityai 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.20

native-tls

Enable native-tls for TLS support

Enables native-tls of reqwest ^0.11.20

native-tls-vendored

Remove dependency on OpenSSL

Enables native-tls-vendored of reqwest ^0.11.20