-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
88 lines (83 loc) · 3.22 KB
/
Cargo.toml
File metadata and controls
88 lines (83 loc) · 3.22 KB
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
80
81
82
83
84
85
86
87
88
[package]
name = "gitlab"
version = "0.1804.0"
authors = ["Ben Boeckel <ben.boeckel@kitware.com>"]
license = "MIT/Apache-2.0"
description = """
Gitlab API client.
"""
repository = "https://gitlab.kitware.com/utils/rust-gitlab"
documentation = "https://docs.rs/gitlab/0.1804.0"
readme = "README.md"
keywords = ["gitlab", "api"]
categories = ["web-programming", "api-bindings"]
edition = "2021"
rust-version = "1.65"
[features]
default = ["client_api"]
client_api = [
"cron",
"itertools",
"percent-encoding",
"reqwest",
"thiserror",
"graphql_client",
"async-trait",
"futures-util",
"reqwest/native-tls",
]
client_der = ["reqwest/native-tls", "client_api"]
client_pem = ["reqwest/native-tls", "client_api"]
minimal_versions = ["void", "openssl", "tempfile", "mio", "rustls", "bumpalo", "combine", "ring"]
# 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.15", optional = true }
derive_builder = "~0.20"
itertools = { version = "~0.14", 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 = "^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.31", default-features = false, features = ["clock", "serde"] }
graphql_client = { version = "~0.14", optional = true }
http = "^1"
serde = { version = "~1.0.137", features = ["derive"] }
serde_json = "^1.0.70"
serde_urlencoded = "~0.7"
url = "^2.5.4"
# 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
# Required to avoid https://rustsec.org/advisories/RUSTSEC-2025-0004
# Required to avoid https://rustsec.org/advisories/RUSTSEC-2025-0022
openssl = { version = "~0.10.72", optional = true }
# Required to avoid `instant` transitive dependency.
tempfile = { version = "^3.7.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 }
# Required to avoid https://rustsec.org/advisories/RUSTSEC-2025-0009
ring = { version = "0.17.12", optional = true }
# Bumps minimum so that its `miniz_oxide` dependency drops the unmaintained
# `adler` crate for `adler2`.
backtrace = "^0.3.74"
[dev-dependencies]
itertools = { version = "~0.14" }
thiserror = "^2"
tokio = { version = "1.38.2", features = ["macros", "rt-multi-thread"] }