Cargo Features
[dependencies]
gitlab = { version = "0.1705.0", default-features = false, features = ["client_api", "client_der", "client_pem", "minimal_versions"] }
- default = client_api
-
The
client_api
feature is set by default whenevergitlab
is added without
somewhere in the dependency tree.default-features = false - client_api default client_der? client_pem? = async-trait, cron, futures-util, graphql_client, itertools, percent-encoding, reqwest, thiserror
-
Enables rustls-tls of reqwest
Affects
gitlab::api
,test::client
… - client_der = client_api
-
Enables native-tls of reqwest
reqwest:
Enables native-tls specific functionality not available by default.
- client_pem = client_api
-
Enables rustls-tls of reqwest
- minimal_versions = bumpalo, combine, mio, openssl, rustls, tempfile, void
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.
- cron client_api
-
Enables cron ~0.12
- itertools client_api
-
Enables itertools ~0.12
- percent-encoding client_api
- reqwest client_api client_der? client_pem?
- thiserror client_api
-
Enables thiserror ^1.0.2
- async-trait client_api
- futures-util client_api
- graphql_client client_api
- void minimal_versions?
-
Enables void
Minimum version fixes.
unreachable
requires onlyvoid 1.0.0
https://github.com/reem/rust-unreachable/pull/15 - openssl minimal_versions?
-
Enables openssl
Required to avoid https://rustsec.org/advisories/RUSTSEC-2023-0044 Required to avoid https://rustsec.org/advisories/RUSTSEC-2023-0072 Required to avoid https://rustsec.org/advisories/RUSTSEC-2024-0357
- tempfile minimal_versions?
-
Enables tempfile
Required to avoid
remove_dir_all
dependency. - mio minimal_versions?
-
Enables mio ^0.8.11
Required to avoid https://rustsec.org/advisories/RUSTSEC-2024-0019
- rustls minimal_versions?
-
Enables rustls ^0.22.4
Required to avoid https://rustsec.org/advisories/RUSTSEC-2024-0336
- bumpalo minimal_versions?
-
Enables bumpalo
Required to avoid https://rustsec.org/advisories/RUSTSEC-2022-0078
- combine minimal_versions?
-
Enables combine ^3.6.2
Required to avoid https://rustsec.org/advisories/RUSTSEC-2023-0015