Skip to content

Do not merge - DownloadTo#3913

Draft
seanmcc-msft wants to merge 2 commits intoAzure:mainfrom
seanmcc-msft:feature/storage/downloadTo
Draft

Do not merge - DownloadTo#3913
seanmcc-msft wants to merge 2 commits intoAzure:mainfrom
seanmcc-msft:feature/storage/downloadTo

Conversation

@seanmcc-msft
Copy link
Member

No description provided.

@github-actions github-actions bot added the Storage Storage Service (Queues, Blobs, Files) label Mar 11, 2026
/// directly into non-overlapping buffer sub-slices via unsafe `SendSlice`.
///
/// Returns the number of bytes written to the buffer.
pub async fn reqwest_download_to(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If this isn't just an experiment, then you probably need to condition this on a "reqwest" feature flag.

serde.workspace = true
serde_json.workspace = true
time.workspace = true
tokio = { workspace = true, features = ["rt", "sync"] }
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tokio dependencies need to be under a feature flag so first party customers can use them.

You can also use the customer configured runtime if you need to (azure_core::get_async_runtime()).

futures.workspace = true
percent-encoding.workspace = true
pin-project.workspace = true
reqwest.workspace = true
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This needs to be conditional on a feature, see the reqwest feature in azure_core.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Storage Storage Service (Queues, Blobs, Files)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants