Add R2 feature for malo tests (#15160)

Closes https://github.com/astral-sh/uv/issues/15158.
This commit is contained in:
Charlie Marsh 2025-08-08 12:26:18 +01:00 committed by GitHub
parent 1843c90e74
commit 9daadbfab0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 0 deletions

View file

@ -162,6 +162,7 @@ default-tests = [
"crates-io",
"git",
"pypi",
"r2",
"python",
"python-managed",
"python-eol",
@ -174,6 +175,8 @@ crates-io = []
git = []
# Introduces a testing dependency on PyPI.
pypi = []
# Introduces a testing dependency on R2.
r2 = []
# Introduces a testing dependency on a local Python installation.
python = []
# Introduces a testing dependency on a local Python installation with specific patch versions.

View file

@ -1,3 +1,5 @@
#![cfg(feature = "r2")]
use futures::TryStreamExt;
use tokio_util::compat::FuturesAsyncReadCompatExt;