[package]
name = "qcs-api-client-openapi"
description = "Auto-generated bindings to the QCS OpenAPI"
version = "0.14.1"
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"]
publish = ["crates-io"]
[features]
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",
]
[dependencies]
anyhow = { workspace = true, optional = true }
http = { workspace = true }
qcs-api-client-common = { workspace = true }
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"] }