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