Cargo Features
[dependencies]
graph-rs-sdk = { version = "2.0.3", default-features = false, features = ["native-tls", "rustls-tls", "brotli", "deflate", "trust-dns", "socks", "openssl", "interactive-auth", "test-util"] }
When updating or adding new features to this or dependent crates run cargo tree -e features -i graph-rs-sdk
Use this command verify that the dependency is not enabled by default due to another package having it as a dependency without default-features=false.
- default = native-tls
-
The
native-tls
feature is set by default whenevergraph-rs-sdk
is added without
somewhere in the dependency tree.default-features = false - native-tls default
-
Enables native-tls of graph-core, graph-http, graph-oauth, and reqwest
reqwest:
Enables native-tls specific functionality not available by default.
- rustls-tls
-
Enables rustls-tls of graph-core, graph-http, graph-oauth, and reqwest
- brotli
-
Enables brotli of graph-core, graph-http, graph-oauth, and reqwest
- deflate
-
Enables deflate of graph-core, graph-http, graph-oauth, and reqwest
- trust-dns
-
Enables trust-dns of graph-core, graph-http, graph-oauth, and reqwest
reqwest:
Deprecated, remove this feature while bumping minor versions.
- socks
-
Enables socks of graph-core, graph-http, graph-oauth, and reqwest
- openssl
-
Enables openssl of graph-oauth
- interactive-auth
-
Enables interactive-auth of graph-oauth
- test-util
-
Enables test-util of graph-http
graph-rs-sdk has 10 features without comments.