diff --git a/Cargo.lock b/Cargo.lock index bc3103e6a..ff16149d9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1283,14 +1283,13 @@ dependencies = [ [[package]] name = "jsonwebtoken" -version = "9.2.0" +version = "8.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c7ea04a7c5c055c175f189b6dc6ba036fd62306b58c66c9f6389036c503a3f4" +checksum = "6971da4d9c3aa03c3d8f3ff0f4155b534aad021292003895a469716b2a230378" dependencies = [ "base64 0.21.7", - "js-sys", "pem", - "ring 0.17.8", + "ring 0.16.20", "serde", "serde_json", "simple_asn1", @@ -1880,12 +1879,11 @@ checksum = "19b17cddbe7ec3f8bc800887bab5e717348c95ea2ca0b1bf0837fb964dc67099" [[package]] name = "pem" -version = "3.0.3" +version = "1.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b8fcc794035347fb64beda2d3b462595dd2753e3f268d89c5aae77e8cf2c310" +checksum = "a8835c273a76a90455d7344889b0964598e3316e2a79ede8e36f16bdcf2228b8" dependencies = [ - "base64 0.21.7", - "serde", + "base64 0.13.1", ] [[package]] @@ -2184,9 +2182,9 @@ dependencies = [ [[package]] name = "qcs-api-client-common" -version = "0.7.12" +version = "0.7.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e96a94ca1f4ac3e094d51d90deb5d158dddfd0723cca1b50d302acfd2e4e78ef" +checksum = "53c56fa367070074f32143b4adef924af1441faa86e835f45371e14801884d14" dependencies = [ "async-trait", "backoff", @@ -2207,9 +2205,9 @@ dependencies = [ [[package]] name = "qcs-api-client-grpc" -version = "0.7.14" +version = "0.7.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b82196be0676c8dc24749a830e886ffda6e34b3130c6a7078354c24dec07933a" +checksum = "01247ae1b0523e058007edb0132cd40915452b8b4dc669d68156e187740ead70" dependencies = [ "backoff", "http", @@ -2240,9 +2238,9 @@ dependencies = [ [[package]] name = "qcs-api-client-openapi" -version = "0.8.13" +version = "0.8.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0e318c4bffb689688d4f95afb2b5a52a70e12a191da402e0dded093102fcb1e9" +checksum = "04d7172e79b083a85c911917c03be58eda083b36ea7575db685d21aa2fa99b41" dependencies = [ "anyhow", "qcs-api-client-common", diff --git a/Cargo.toml b/Cargo.toml index 2720b31fc..668bcec16 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,9 +4,9 @@ resolver = "2" [workspace.dependencies] qcs-api = "0.2.1" -qcs-api-client-common = "0.7.12" -qcs-api-client-grpc = "0.7.14" -qcs-api-client-openapi = "0.8.13" +qcs-api-client-common = "0.7.14" +qcs-api-client-grpc = "0.7.16" +qcs-api-client-openapi = "0.8.15" serde_json = "1.0.86" thiserror = "1.0.57" tokio = "1.36.0" diff --git a/clippy.toml b/clippy.toml index 36dd71ef8..56aeb73d1 100644 --- a/clippy.toml +++ b/clippy.toml @@ -1 +1 @@ -doc-valid-idents = ["gRPC", ".."] \ No newline at end of file +doc-valid-idents = ["gRPC", "..", "JupyterLab"] diff --git a/crates/lib/src/compiler/quilc.rs b/crates/lib/src/compiler/quilc.rs index 450f76fe6..596ee9c28 100644 --- a/crates/lib/src/compiler/quilc.rs +++ b/crates/lib/src/compiler/quilc.rs @@ -228,7 +228,7 @@ pub enum CompilationError { Libquil(crate::compiler::libquil::Error), /// Errors during compilation when using RPCQ #[error("compilation error from RPCQ: {0}")] - Rpcq(crate::compiler::rpcq::Error), + Rpcq(rpcq::Error), } /// The response from quilc for a `quil_to_native_quil` request. diff --git a/crates/lib/src/qpu/api.rs b/crates/lib/src/qpu/api.rs index c1e2af546..5fcc8df95 100644 --- a/crates/lib/src/qpu/api.rs +++ b/crates/lib/src/qpu/api.rs @@ -6,9 +6,9 @@ use std::{fmt, time::Duration}; use cached::proc_macro::cached; use derive_builder::Builder; use qcs_api_client_common::configuration::RefreshError; -pub use qcs_api_client_grpc::channel::Error as GrpcError; #[cfg(feature = "grpc-web")] use qcs_api_client_grpc::channel::wrap_channel_with_grpc_web; +pub use qcs_api_client_grpc::channel::Error as GrpcError; use qcs_api_client_grpc::{ channel::{parse_uri, wrap_channel_with, wrap_channel_with_retry}, get_channel_with_timeout, @@ -598,7 +598,7 @@ async fn get_accessor(quantum_processor_id: &str, client: &Qcs) -> Result