-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathCargo.toml
55 lines (49 loc) · 1.26 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
[package]
name = "rabbitmq_http_client"
version = "0.21.0"
edition = "2021"
description = "RabbitMQ HTTP API client"
license = "MIT OR Apache-2.0"
[lib]
# doctests for async client must be wrapped
# with a Tokio block_on block or marked with no_run,
# or skipped entirely, which is what we want
doctest = false
[dependencies]
serde = { version = "1.0", features = ["derive"] }
serde-aux = "4.5"
serde_json = "1"
rand = "0.8"
ring = "0.17"
rbase64 = "2"
percent-encoding = { version = "2", optional = true }
tabled = { version = "0.17", features = ["derive", "macros"], optional = true }
reqwest = { version = "0.12.12", features = [
"json",
"multipart",
], optional = true }
backtrace = { version = "0.3", optional = true }
thiserror = { version = "2", optional = true }
tokio = "1.43.0"
time = { version = "0.3.37", features = ["serde-human-readable"] }
[dev-dependencies]
amqprs = { version = "2"}
cargo-nextest = "0.9.88"
regex = { version = "1", features = ["std"] }
[features]
default = ["core", "blocking"]
core = []
async = [
"dep:reqwest",
"dep:thiserror",
"dep:backtrace",
"dep:percent-encoding"
]
blocking = [
"dep:reqwest",
"reqwest/blocking",
"dep:thiserror",
"dep:backtrace",
"dep:percent-encoding",
]
tabled = ["dep:tabled"]