Cargo Features

[dependencies]
twitter-v2 = { version = "0.1.8", default-features = false, features = ["rustls-tls", "native-tls", "arbitrary_precision"] }
default = native-tls, oauth2

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

rustls-tls

Enables rustls-tls of oauth2 and reqwest ^0.11

native-tls default

Enables native-tls of oauth2 and reqwest ^0.11

reqwest:

Enables native-tls specific functionality not available by default.

arbitrary_precision

Enables arbitrary_precision of serde_json

serde_json:

Use an arbitrary precision number representation for serde_json::Number. This allows JSON numbers of arbitrary size/precision to be read into a Number and written back to a JSON string without loss of precision.

Unlike float_roundtrip, this feature makes JSON -> serde_json::Number -> JSON produce output identical to the input.

Affects entity::AnnotationEntity.probability, geo::GeoCoordinates.coordinates, geo::GeoFeature.bbox

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.

oauth2 default native-tls rustls-tls?