-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
79 lines (74 loc) · 2.8 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
[package]
name = "gitlab"
version = "0.1701.0"
authors = ["Ben Boeckel <[email protected]>"]
license = "MIT/Apache-2.0"
description = """
Gitlab API client.
"""
repository = "https://gitlab.kitware.com/utils/rust-gitlab"
documentation = "https://docs.rs/gitlab/0.1701.0"
readme = "README.md"
keywords = ["gitlab", "api"]
categories = ["web-programming", "api-bindings"]
edition = "2021"
[features]
default = ["client_api"]
client_api = [
"cron",
"itertools",
"percent-encoding",
"reqwest",
"thiserror",
"graphql_client",
"async-trait",
"futures-util",
"reqwest/rustls-tls",
]
client_der = ["reqwest/native-tls", "client_api"]
client_pem = ["reqwest/rustls-tls", "client_api"]
minimal_versions = ["void", "openssl", "tempfile", "mio", "rustls", "bumpalo", "combine"]
# This feature is here to aid with `semver-checks` by hiding the known-unstable
# parts of the crate.
_nohooks = []
[dependencies]
base64 = "~0.22"
cron = { version = "~0.12", optional = true }
derive_builder = "~0.20"
itertools = { version = "~0.12", optional = true }
log = "~0.4.6"
percent-encoding = { version = "^2.0", optional = true }
reqwest = { version = "~0.12", features = ["blocking", "json"], default-features = false, optional = true }
thiserror = { version = "^1.0.2", optional = true }
async-trait = { version = "~0.1.9", optional = true }
futures-util = { version = "0.3.14", default-features = false, optional = true }
bytes = "^1.0"
chrono = { version = "~0.4.23", default-features = false, features = ["clock", "serde"] }
graphql_client = { version = "~0.14", optional = true }
http = "^1"
serde = { version = "~1.0.103", features = ["derive"] }
serde_json = "^1.0.70"
serde_urlencoded = "~0.7"
url = "^2.1"
# Minimum version fixes.
#
# `unreachable` requires only `void 1.0.0`
# https://github.com/reem/rust-unreachable/pull/15
void = { version = "^1.0.1", optional = true }
# 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
openssl = { version = "~0.10.66", optional = true }
# Required to avoid `remove_dir_all` dependency.
tempfile = { version = "^3.4.0", optional = true }
# Required to avoid https://rustsec.org/advisories/RUSTSEC-2024-0019
mio = { version = "0.8.11", optional = true }
# Required to avoid https://rustsec.org/advisories/RUSTSEC-2024-0336
rustls = { version = "0.22.4", optional = true }
# Required to avoid https://rustsec.org/advisories/RUSTSEC-2022-0078
bumpalo = { version = "3.11.1", optional = true }
# Required to avoid https://rustsec.org/advisories/RUSTSEC-2023-0015
combine = { version = "3.6.2", optional = true }
[dev-dependencies]
itertools = { version = "~0.12" }
tokio = { version = "1.18.5", features = ["macros", "rt-multi-thread"] }