[build-dependencies.pyo3-build-config]
optional = true
version = "0.22.1"
[dependencies.async-trait]
version = "0.1"
[dependencies.backoff]
features = ["tokio"]
version = "0.4.0"
[dependencies.base64]
version = "0.22.1"
[dependencies.derive_builder]
version = "0.20.0"
[dependencies.figment]
features = ["env", "toml"]
version = "0.10.18"
[dependencies.futures]
version = "0.3.26"
[dependencies.home]
version = "0.5.5"
[dependencies.http]
version = "0.2.8"
[dependencies.jsonwebtoken]
version = "9.3.0"
[dependencies.paste]
optional = true
version = "1.0.15"
[dependencies.pyo3]
features = ["multiple-pymethods"]
optional = true
version = "0.20.3"
[dependencies.pyo3-asyncio]
features = ["tokio-runtime"]
optional = true
version = "0.20.0"
[dependencies.reqwest]
default-features = false
features = ["json", "rustls-tls-native-roots", "socks"]
version = "0.11.27"
[dependencies.rigetti-pyo3]
optional = true
version = "0.3.6"
[dependencies.serde]
features = ["derive"]
version = "1.0"
[dependencies.shellexpand]
version = "3.1.0"
[dependencies.thiserror]
version = "1.0.32"
[dependencies.time]
features = ["parsing"]
version = "0.3.34"
[dependencies.tokio]
features = ["sync"]
version = "1.20.1"
[dependencies.toml]
version = "0.8.14"
[dependencies.tracing]
optional = true
version = "0.1.37"
[dependencies.url]
optional = true
version = "2.3.1"
[dependencies.urlpattern]
optional = true
version = "0.2.0"
[dev-dependencies.chrono]
version = "0.4.38"
[dev-dependencies.figment]
features = ["env", "toml", "test"]
version = "0.10.18"
[dev-dependencies.httpmock]
version = "0.7.0"
[dev-dependencies.rstest]
version = "0.21.0"
[dev-dependencies.serial_test]
version = "3.1.1"
[dev-dependencies.tokio]
features = ["fs", "macros"]
version = "1.20.1"
[features]
python = ["dep:pyo3", "dep:pyo3-asyncio", "dep:paste", "dep:rigetti-pyo3", "tokio/macros", "pyo3-build-config"]
tracing = ["dep:tracing", "url", "urlpattern"]
tracing-config = ["tracing"]
[lib]
crate-type = ["cdylib", "rlib"]
name = "qcs_api_client_common"
path = "src/lib.rs"
[lints.clippy]
all = "deny"
module_name_repetitions = "allow"
redundant_pub_crate = "allow"
unsafe_derive_deserialize = "allow"
[lints.clippy.nursery]
level = "warn"
priority = -2
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
absolute_paths_not_starting_with_crate = "warn"
anonymous_parameters = "warn"
bad_style = "warn"
dead_code = "warn"
improper_ctypes = "warn"
keyword_idents = "warn"
macro_use_extern_crate = "warn"
meta_variable_misuse = "warn"
missing_abi = "warn"
missing_debug_implementations = "warn"
missing_docs = "warn"
no_mangle_generic_items = "warn"
non_shorthand_field_patterns = "warn"
noop_method_call = "warn"
overflowing_literals = "warn"
path_statements = "warn"
patterns_in_fns_without_body = "warn"
pointer_structural_match = "warn"
semicolon_in_expressions_from_macros = "warn"
trivial_casts = "warn"
trivial_numeric_casts = "warn"
unconditional_recursion = "warn"
unreachable_pub = "warn"
unsafe_code = "warn"
unused = "warn"
unused_allocation = "warn"
unused_comparisons = "warn"
unused_extern_crates = "warn"
unused_import_braces = "warn"
unused_lifetimes = "warn"
unused_parens = "warn"
unused_qualifications = "warn"
while_true = "warn"
[package]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = "build.rs"
categories = ["api-bindings", "authentication"]
description = "Common code for QCS API clients"
edition = "2021"
homepage = "https://github.com/rigetti/qcs-api-client-rust"
keywords = ["qcs", "quantum", "rigetti", "api"]
license = "Apache-2.0"
name = "qcs-api-client-common"
readme = "README.md"
repository = "https://github.com/rigetti/qcs-api-client-rust"
version = "0.9.0"
[package.metadata.docs.rs]
features = ["python", "tracing"]
[[test]]
name = "token_refresh_test"
path = "tests/token_refresh_test.rs"