This commit is contained in:
2025-11-26 00:22:41 -06:00
parent 726b919163
commit d17d9797c0
4 changed files with 3 additions and 41 deletions
Generated
-36
View File
@@ -1153,7 +1153,6 @@ dependencies = [
"clipboard-rs", "clipboard-rs",
"eframe", "eframe",
"egui_ltreeview", "egui_ltreeview",
"futures",
"markdown", "markdown",
"rfd", "rfd",
"serde", "serde",
@@ -1212,21 +1211,6 @@ dependencies = [
"percent-encoding", "percent-encoding",
] ]
[[package]]
name = "futures"
version = "0.3.31"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "65bc07b1a8bc7c85c5f2e110c476c7389b4554ba72af57d8445ea63a576b0876"
dependencies = [
"futures-channel",
"futures-core",
"futures-executor",
"futures-io",
"futures-sink",
"futures-task",
"futures-util",
]
[[package]] [[package]]
name = "futures-channel" name = "futures-channel"
version = "0.3.31" version = "0.3.31"
@@ -1234,7 +1218,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2dff15bf788c671c1934e366d07e30c1814a8ef514e1af724a602e8a2fbe1b10" checksum = "2dff15bf788c671c1934e366d07e30c1814a8ef514e1af724a602e8a2fbe1b10"
dependencies = [ dependencies = [
"futures-core", "futures-core",
"futures-sink",
] ]
[[package]] [[package]]
@@ -1243,17 +1226,6 @@ version = "0.3.31"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "05f29059c0c2090612e8d742178b0580d2dc940c837851ad723096f87af6663e" checksum = "05f29059c0c2090612e8d742178b0580d2dc940c837851ad723096f87af6663e"
[[package]]
name = "futures-executor"
version = "0.3.31"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1e28d1d997f585e54aebc3f97d39e72338912123a67330d723fdbb564d646c9f"
dependencies = [
"futures-core",
"futures-task",
"futures-util",
]
[[package]] [[package]]
name = "futures-io" name = "futures-io"
version = "0.3.31" version = "0.3.31"
@@ -1284,12 +1256,6 @@ dependencies = [
"syn", "syn",
] ]
[[package]]
name = "futures-sink"
version = "0.3.31"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e575fab7d1e0dcb8d0c7bcf9a63ee213816ab51902e6d244a95819acacf1d4f7"
[[package]] [[package]]
name = "futures-task" name = "futures-task"
version = "0.3.31" version = "0.3.31"
@@ -1302,11 +1268,9 @@ version = "0.3.31"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9fa08315bb612088cc391249efdc3bc77536f16c91f6cf495e6fbe85b20a4a81" checksum = "9fa08315bb612088cc391249efdc3bc77536f16c91f6cf495e6fbe85b20a4a81"
dependencies = [ dependencies = [
"futures-channel",
"futures-core", "futures-core",
"futures-io", "futures-io",
"futures-macro", "futures-macro",
"futures-sink",
"futures-task", "futures-task",
"memchr", "memchr",
"pin-project-lite", "pin-project-lite",
-1
View File
@@ -16,7 +16,6 @@ tokio = { version = "1.47.1", features = ["full"] }
tinyrand = "0.5.0" tinyrand = "0.5.0"
clipboard-rs = "0.3.0" clipboard-rs = "0.3.0"
tempfile = "3.23.0" tempfile = "3.23.0"
futures = "0.3.31"
[package.metadata.bundle] [package.metadata.bundle]
identifier = "org.geekfu.fleen" identifier = "org.geekfu.fleen"
+1 -1
View File
@@ -290,7 +290,7 @@ impl FleenApp {
pub async fn build_and_deploy(&self) -> Result<String, FleenError> { pub async fn build_and_deploy(&self) -> Result<String, FleenError> {
let output_dir = tempfile::tempdir().map_err(|_| TargetDir)?; let output_dir = tempfile::tempdir().map_err(|_| TargetDir)?;
self.build_site(&output_dir.path())?; // Attempt to build the site somewhere self.build_site(output_dir.path())?; // Attempt to build the site somewhere
let deploy_script_path = self.root.join("_scripts/deploy.sh"); let deploy_script_path = self.root.join("_scripts/deploy.sh");
if !deploy_script_path.exists() { if !deploy_script_path.exists() {
+2 -3
View File
@@ -4,8 +4,7 @@ mod server;
mod ui_ext; mod ui_ext;
use std::path::{Path, PathBuf}; use std::path::{Path, PathBuf};
use std::sync::{Arc, Mutex, MutexGuard}; use std::sync::{Arc, Mutex};
use std::task::Waker;
use std::time::{Duration, Instant}; use std::time::{Duration, Instant};
use eframe::egui::{Button, Context, Id, RichText}; use eframe::egui::{Button, Context, Id, RichText};
use eframe::{egui, Frame}; use eframe::{egui, Frame};
@@ -54,7 +53,7 @@ struct FleenUi {
impl Default for FleenUi { impl Default for FleenUi {
fn default() -> Self { fn default() -> Self {
Self { Self {
app: None.into(), app: None,
error: None, error: None,
message: None, message: None,
selected_file: None, selected_file: None,