mirror of
https://github.com/astral-sh/uv.git
synced 2025-11-18 19:21:46 +00:00
parent
42dac85bf7
commit
c162078050
2 changed files with 5 additions and 1 deletions
|
|
@ -119,7 +119,7 @@ ignored = [
|
|||
]
|
||||
|
||||
[features]
|
||||
default = ["python", "pypi", "git", "performance"]
|
||||
default = ["python", "pypi", "git", "performance", "crates-io"]
|
||||
# Use better memory allocators, etc. — also turns-on self-update.
|
||||
performance = [
|
||||
"performance-memory-allocator",
|
||||
|
|
@ -137,5 +137,7 @@ python-patch = []
|
|||
pypi = []
|
||||
# Introduces a dependency on Git.
|
||||
git = []
|
||||
# Introduces a dependency on crates.io.
|
||||
crates-io = []
|
||||
# Adds self-update functionality.
|
||||
self-update = ["axoupdater", "uv-cli/self-update"]
|
||||
|
|
|
|||
|
|
@ -2538,6 +2538,7 @@ fn init_library_flit() -> Result<()> {
|
|||
|
||||
/// Run `uv init --app --package --build-backend maturin` to create a packaged application project
|
||||
#[test]
|
||||
#[cfg(feature = "crates-io")]
|
||||
fn init_app_build_backend_maturin() -> Result<()> {
|
||||
let context = TestContext::new("3.12");
|
||||
|
||||
|
|
@ -2808,6 +2809,7 @@ fn init_app_build_backend_scikit() -> Result<()> {
|
|||
|
||||
/// Run `uv init --lib --build-backend maturin` to create a packaged application project
|
||||
#[test]
|
||||
#[cfg(feature = "crates-io")]
|
||||
fn init_lib_build_backend_maturin() -> Result<()> {
|
||||
let context = TestContext::new("3.12");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue