-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
52 lines (48 loc) · 1.61 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
[package]
name = "qcs-api-client-openapi"
description = "Auto-generated bindings to the QCS OpenAPI"
version = "0.13.0"
edition = "2021"
license = "Apache-2.0"
repository = "https://github.com/rigetti/qcs-api-client-rust"
homepage = "https://github.com/rigetti/qcs-api-client-rust"
keywords = ["API", "QCS", "Rigetti", "quantum"]
categories = ["api-bindings"]
[dependencies]
anyhow = { version = "1.0.68", optional = true }
http = { workspace = true }
qcs-api-client-common = { path = "../qcs-api-client-common", version = "0.12.0" }
reqwest-middleware = { workspace = true, optional = true }
reqwest-tracing = { workspace = true, optional = true }
serde = { workspace = true, features = ["derive"] }
serde_json = { workspace = true }
tokio = { workspace = true, features = ["time"] }
tracing = { workspace = true, optional = true }
tracing-opentelemetry = { workspace = true, optional = true }
url = { workspace = true }
urlpattern = { workspace = true, optional = true }
[dependencies.reqwest]
workspace = true
features = ["json", "multipart", "rustls-tls-native-roots"]
[dev-dependencies]
rstest = { workspace = true }
tokio = { workspace = true, features = ["rt-multi-thread", "rt", "macros"] }
[features]
# The old name of the tracing-opentelemetry feature, here for backwards compatibility
otel-tracing = ["tracing-opentelemetry"]
tracing = [
"dep:tracing",
"qcs-api-client-common/tracing",
"urlpattern",
]
tracing-config = [
"qcs-api-client-common/tracing-config",
"tracing",
]
tracing-opentelemetry = [
"dep:anyhow",
"dep:reqwest-middleware",
"dep:reqwest-tracing",
"dep:tracing-opentelemetry",
"tracing-config",
]