Skip to content

Commit

Permalink
feat: Added async API
Browse files Browse the repository at this point in the history
  • Loading branch information
ikrivosheev committed Oct 23, 2024
1 parent f58f151 commit 8f8813e
Show file tree
Hide file tree
Showing 5 changed files with 1,350 additions and 31 deletions.
22 changes: 14 additions & 8 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,18 @@ description = "RabbitMQ HTTP API client"
license = "MIT OR Apache-2.0"

[dependencies]
reqwest = { version = "0.12", features = [
"json",
"multipart",
], optional = true }
thiserror = "1"
serde = { version = "1.0", features = ["derive", "std"] }
serde = { version = "1.0", features = ["derive"] }
serde-aux = "4.5"
serde_json = "1"
percent-encoding = "2"
rand = "0.8"
ring = "0.17"
rbase64 = "2"
reqwest = { version = "0.12", features = [
"json",
"multipart",
], optional = true }
thiserror = { version = "1", optional = true }
percent-encoding = { version = "2", optional = true }
tabled = { version = "0.16", features = ["derive", "macros"], optional = true }

[dev-dependencies]
Expand All @@ -29,5 +29,11 @@ cargo-nextest = "0.9.81"
[features]
default = ["core", "blocking"]
core = []
blocking = ["dep:reqwest", "reqwest/blocking"]
async = ["dep:reqwest", "dep:thiserror", "dep:percent-encoding"]
blocking = [
"dep:reqwest",
"reqwest/blocking",
"dep:thiserror",
"dep:percent-encoding",
]
tabled = ["dep:tabled"]
Loading

0 comments on commit 8f8813e

Please sign in to comment.