This commit is contained in:
Pravdyvy 2026-01-08 09:10:45 +02:00
parent f817279d33
commit f400684d59
3 changed files with 6 additions and 6 deletions

View File

@ -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",
]

View File

@ -12,4 +12,4 @@ thiserror.workspace = true
url.workspace = true
futures.workspace = true
serde_json.workspace = true
common-http-client.workspace = true
common-http-client.workspace = true

View File

@ -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,
)))
}
}