# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.85.0"
name = "qcs-api-client-grpc"
version = "0.18.2-dev.0"
authors = ["Rigetti QPU Software <qpu-software@rigetti.com>"]
build = "build.rs"
publish = ["crates-io"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "gRPC client for the QCS API"
homepage = "https://github.com/rigetti/qcs-api-client-rust"
readme = "README.md"
keywords = [
    "qcs",
    "quantum",
    "rigetti",
    "api",
]
categories = [
    "api-bindings",
    "authentication",
]
license = "Apache-2.0"
repository = "https://github.com/rigetti/qcs-api-client-rust"
resolver = "2"

[features]
grpc-web = ["qcs-dependencies-client/tonic-web"]
regen = []
server = []
tracing = [
    "qcs-api-client-common/tracing-config",
    "dep:tracing",
    "dep:urlpattern",
]
tracing-config = [
    "qcs-api-client-common/tracing-config",
    "tracing",
]
tracing-opentelemetry = [
    "qcs-api-client-common/tracing-config",
    "tracing-config",
    "tracing",
]

[lib]
name = "qcs_api_client_grpc"
path = "src/lib.rs"

[[test]]
name = "compiles"
path = "tests/compiles.rs"

[dependencies.backoff]
version = "0.4.0"
features = [
    "tokio",
    "tokio",
]

[dependencies.futures-util]
version = "0.3.30"

[dependencies.http-body]
version = "1"

[dependencies.http-body-util]
version = "0.1.2"

[dependencies.hyper]
version = "1.4.1"

[dependencies.hyper-socks2]
version = "0.9.1"
default-features = false

[dependencies.hyper-util]
version = "0.1.6"
features = [
    "client-legacy",
    "client-legacy",
]

[dependencies.qcs-api-client-common]
version = "0.18.2-dev.0"

[dependencies.qcs-dependencies-client]
version = "0.3.1"
features = [
    "grpc",
    "http",
    "tonic-health",
    "tower-http",
]

[dependencies.rigetti-hyper-proxy]
version = "1.1.1"
features = [
    "rustls",
    "rustls",
]
default-features = false

[dependencies.serde]
version = "1.0.228"

[dependencies.thiserror]
version = "2.0"

[dependencies.tokio]
version = "1.38.0"
features = [
    "time",
    "time",
]

[dependencies.tracing]
version = "0.1"
optional = true

[dependencies.url]
version = "2.3.1"

[dependencies.urlpattern]
version = "0.4.0"
optional = true

[dependencies.uuid]
version = "1.10.0"
features = [
    "v4",
    "v4",
]

[dev-dependencies.async-std]
version = "1.12.0"
features = [
    "attributes",
    "attributes",
]

[dev-dependencies.jsonwebtoken]
version = "9.3.0"

[dev-dependencies.once_cell]
version = "1.17.0"

[dev-dependencies.qcs-dependencies-client]
version = "0.3.1"
features = [
    "grpc",
    "tonic-health",
]

[dev-dependencies.rstest]
version = "0.26.0"

[dev-dependencies.serde_json]
version = "1.0.91"

[dev-dependencies.tempfile]
version = "3.3.0"

[dev-dependencies.tokio]
version = "1.38.0"
features = [
    "time",
    "parking_lot",
    "rt-multi-thread",
]

[dev-dependencies.tokio-stream]
version = "0.1.15"
features = [
    "net",
    "net",
]

[dev-dependencies.tracing-subscriber]
version = "0.3"

[build-dependencies.qcs-dependencies-client]
version = "0.3.1"
features = [
    "codegen-proto",
    "grpc",
]
