Cargo Features

[dependencies]
apple-apns = { version = "0.5.3", default-features = false, features = ["http1", "jwt", "rustls"] }
default = jwt, rustls

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

http1
jwt default = jsonwebtoken

Affects apple-apns::token, client::Authentication, client::ClientBuilder.authentication

rustls default

Enables rustls-tls of reqwest ^0.11.14

Affects client::CertificateAuthority, client::ClientBuilder.ca, client::Authentication, client::ClientBuilder.authentication

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.

jsonwebtoken jwt

Enables jsonwebtoken ^8.2.0