Cargo Features

[dependencies]
gitlab = { version = "0.1611.0", default-features = false, features = ["client_api", "client_der", "client_pem", "minimal_versions"] }
default = client_api

The client_api feature is set by default whenever gitlab is added without default-features = false somewhere in the dependency tree.

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
itertools client_api
percent-encoding client_api
reqwest client_api client_der? client_pem?
thiserror client_api
async-trait client_api
futures-util client_api
graphql_client client_api
void minimal_versions?

Enables void

Minimum version fixes.

unreachable requires only void 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

tempfile minimal_versions?

Enables tempfile

Required to avoid remove_dir_all dependency.

mio minimal_versions?

Enables mio

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