forked from oxidecomputer/third-party-api-clients
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
58 lines (54 loc) · 1.91 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
[package]
name = "revai"
description = "A fully generated & opinionated API client for the Rev.ai API."
version = "0.5.0"
documentation = "https://docs.rs/revai/"
repository = "https://github.com/oxidecomputer/third-party-api-clients/tree/main/rev.ai"
readme = "README.md"
edition = "2021"
license = "MIT"
[features]
default = ["rustls-tls", "reqwest-tracing/opentelemetry_0_17"]
# enable etag-based http_cache functionality
httpcache = ["dirs"]
native-tls = ["reqwest/default-tls", "openssl"]
rustls-tls = ["reqwest/rustls-tls", "ring", "pem"]
[dependencies]
anyhow = "1"
async-recursion = "^1.0"
chrono = { version = "0.4", default-features = false, features = ["serde"] }
dirs = { version = "^3.0.2", optional = true }
http = "^0.2.4"
jsonwebtoken = "8"
log = { version = "^0.4", features = ["serde"] }
mime = "0.3"
openssl = { version = "0.10", default-features = false, optional = true }
parse_link_header = "0.3.3"
pem = { version = "1.1.0", default-features = false, optional = true }
percent-encoding = "2.2"
reqwest = { version = "0.11.14", default-features = false, features = ["json", "multipart"] }
reqwest-conditional-middleware = "0.1.0"
reqwest-middleware = "0.1.5"
reqwest-retry = "0.1.4"
reqwest-tracing = "0.3.0"
ring = { version = "0.16", default-features = false, optional = true }
schemars = { version = "0.8", features = ["bytes", "chrono", "url", "uuid1"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
serde_urlencoded = "^0.7"
url = { version = "2", features = ["serde"] }
bytes = { version = "1", features = ["serde"] }
async-trait = "^0.1.51"
uuid = { version = "1.1", features = ["serde", "v4"] }
tokio = { version = "1.25.0", features = ["full"] }
[dev-dependencies]
base64 = "^0.13"
dirs = "^3.0.2"
nom_pem = "4"
rand = "0.8.5"
rsa = "0.8.1"
tokio = { version = "1.25.0", features = ["test-util"] }
wiremock = "0.5.17"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]