Cargo Features

[dependencies]
infobip_sdk = { version = "0.6.1", default-features = false, features = ["email", "sms", "whatsapp", "native-tls", "native-tls-vendored", "rustls-tls", "rustls-tls-manual-roots", "rustls-tls-webpki-roots"] }
default = email, sms, whatsapp

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

Enables default-tls of reqwest

reqwest:

Note: this doesn't enable the 'native-tls' feature, which adds specific functionality for it.

email default

Adds support for sending email.

Affects api::email, model::email

sms default

Adds support for SMS.

Affects api::sms, model::sms

whatsapp default

Adds support for sending WhatsApp messages.

Affects api::whatsapp, model::whatsapp

native-tls

See https://docs.rs/reqwest/latest/reqwest/#optional-features Enables TLS functionality provided by native-tls.

Enables native-tls of reqwest

native-tls-vendored

Enables the vendored feature of native-tls.

Enables native-tls-vendored of reqwest

rustls-tls

Enables TLS functionality provided by rustls. Equivalent to rustls-tls-webpki-roots.

Enables rustls-tls of reqwest

rustls-tls-manual-roots

Enables TLS functionality provided by rustls, without setting any root certificates. Roots have to be specified manually.

Enables rustls-tls-manual-roots of reqwest

rustls-tls-webpki-roots

Enables TLS functionality provided by rustls, while using root certificates from the webpki-roots crate.

Enables rustls-tls-webpki-roots of reqwest