rollback tempfile, drop rustvers requirement

This commit is contained in:
Jonathan Kelley committed 2025-12-05 11:22:50 -08:00
1 parent 35351ebe99
commit da04e1e8df
2 files changed
+4 -3

No files matched your search

+2 -2
View File
@@ -7,7 +7,7 @@ description = "CLI for building fullstack web, desktop, and mobile apps with a s
repository = "https://github.com/DioxusLabs/dioxus/"
license = "MIT OR Apache-2.0"
keywords = ["mobile", "gui", "cli", "dioxus", "wasm"]
rust-version = "1.89.0" # todo: fix the requirement caused by cargo-generate on 1.89
rust-version = "1.81.0"
[dependencies]
dioxus-autofmt = { workspace = true }
@@ -119,7 +119,7 @@ shell-words = { workspace = true }
log = { version = "0.4", features = ["max_level_off", "release_max_level_off"] }
# link intercept
tempfile = "3.23.0"
tempfile = "3.19.1"
manganis = { workspace = true }
manganis-core = { workspace = true }
target-lexicon = { version = "0.13.2", features = ["serde", "serde_support"] }
+2 -1
View File
@@ -960,10 +960,11 @@ impl BuildRequest {
}
}
#[allow(deprecated)]
let session_cache_dir = args
.session_cache_dir
.clone()
.unwrap_or_else(|| TempDir::new().unwrap().keep());
.unwrap_or_else(|| TempDir::new().unwrap().into_path());
let extra_rustc_args = shell_words::split(&args.rustc_args.clone().unwrap_or_default())
.context("Failed to parse rustc args")?;