diff --git a/Cargo.toml b/Cargo.toml index 431cc2d8..35d0a408 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -19,7 +19,7 @@ members = [ "integration_tests/proc_macro_test_attribute", "examples/program_deployment", "examples/program_deployment/methods", - "examples/program_deployment/methods/guest", + "examples/program_deployment/methods/guest", "bedrock_client", ] diff --git a/bedrock_client/Cargo.toml b/bedrock_client/Cargo.toml index 8ac9b73b..5a93a1b0 100644 --- a/bedrock_client/Cargo.toml +++ b/bedrock_client/Cargo.toml @@ -12,4 +12,4 @@ thiserror.workspace = true url.workspace = true futures.workspace = true serde_json.workspace = true -common-http-client.workspace = true \ No newline at end of file +common-http-client.workspace = true diff --git a/bedrock_client/src/lib.rs b/bedrock_client/src/lib.rs index 177e9e35..9315f083 100644 --- a/bedrock_client/src/lib.rs +++ b/bedrock_client/src/lib.rs @@ -1,7 +1,6 @@ use anyhow::Result; use common_http_client::CommonHttpClient; -pub use common_http_client::BasicAuthCredentials; -pub use common_http_client::Error; +pub use common_http_client::{BasicAuthCredentials, Error}; use reqwest::Client; // Simple wrapper @@ -15,7 +14,8 @@ impl BedrockClient { .timeout(std::time::Duration::from_secs(60)) .build()?; - Ok(BedrockClient(CommonHttpClient::new_with_client(client, auth))) + Ok(BedrockClient(CommonHttpClient::new_with_client( + client, auth, + ))) } } -