Skip to content

Commit

Permalink
Docs
Browse files Browse the repository at this point in the history
  • Loading branch information
tustvold committed Mar 3, 2025
1 parent 871e29d commit 569e63d
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 5 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/object_store.yml
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,8 @@ jobs:
uses: ./.github/actions/setup-builder
with:
target: wasm32-unknown-unknown,wasm32-wasip1
- name: Install clag
run: apt-get update && apt-get install -y clang
- name: Build wasm32-unknown-unknown
run: cargo build --target wasm32-unknown-unknown
- name: Build wasm32-wasip1
Expand Down
4 changes: 3 additions & 1 deletion object_store/src/aws/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -883,7 +883,9 @@ impl AmazonS3Builder {
self
}

/// Overrides the [`HttpConnector`], by default uses [`ReqwestConnector`]
/// The [`HttpConnector`] to use
///
/// On non-WASM32 platforms uses [`reqwest`] by default, on WASM32 platforms must be provided
pub fn with_http_connector<C: HttpConnector>(mut self, connector: C) -> Self {
self.http_connector = Some(Arc::new(connector));
self
Expand Down
4 changes: 3 additions & 1 deletion object_store/src/azure/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -889,7 +889,9 @@ impl MicrosoftAzureBuilder {
self
}

/// Overrides the [`HttpConnector`], by default uses [`ReqwestConnector`]
/// The [`HttpConnector`] to use
///
/// On non-WASM32 platforms uses [`reqwest`] by default, on WASM32 platforms must be provided
pub fn with_http_connector<C: HttpConnector>(mut self, connector: C) -> Self {
self.http_connector = Some(Arc::new(connector));
self
Expand Down
2 changes: 1 addition & 1 deletion object_store/src/client/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -809,7 +809,7 @@ mod cloud {
use crate::client::token::{TemporaryToken, TokenCache};
use crate::RetryConfig;

/// A [`CredentialProvider`] that uses [`Client`] to fetch temporary tokens
/// A [`CredentialProvider`] that uses [`HttpClient`] to fetch temporary tokens
#[derive(Debug)]
pub(crate) struct TokenCredentialProvider<T: TokenProvider> {
inner: T,
Expand Down
4 changes: 3 additions & 1 deletion object_store/src/gcp/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,9 @@ impl GoogleCloudStorageBuilder {
self
}

/// Overrides the [`HttpConnector`], by default uses [`ReqwestConnector`]
/// The [`HttpConnector`] to use
///
/// On non-WASM32 platforms uses [`reqwest`] by default, on WASM32 platforms must be provided
pub fn with_http_connector<C: HttpConnector>(mut self, connector: C) -> Self {
self.http_connector = Some(Arc::new(connector));
self
Expand Down
4 changes: 3 additions & 1 deletion object_store/src/http/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,9 @@ impl HttpBuilder {
self
}

/// Overrides the [`HttpConnector`], by default uses [`ReqwestConnector`]
/// The [`HttpConnector`] to use
///
/// On non-WASM32 platforms uses [`reqwest`] by default, on WASM32 platforms must be provided
pub fn with_http_connector<C: HttpConnector>(mut self, connector: C) -> Self {
self.http_connector = Some(Arc::new(connector));
self
Expand Down

0 comments on commit 569e63d

Please sign in to comment.