cleanup
This commit is contained in:
Generated
-36
@@ -1153,7 +1153,6 @@ dependencies = [
|
||||
"clipboard-rs",
|
||||
"eframe",
|
||||
"egui_ltreeview",
|
||||
"futures",
|
||||
"markdown",
|
||||
"rfd",
|
||||
"serde",
|
||||
@@ -1212,21 +1211,6 @@ dependencies = [
|
||||
"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]]
|
||||
name = "futures-channel"
|
||||
version = "0.3.31"
|
||||
@@ -1234,7 +1218,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "2dff15bf788c671c1934e366d07e30c1814a8ef514e1af724a602e8a2fbe1b10"
|
||||
dependencies = [
|
||||
"futures-core",
|
||||
"futures-sink",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
@@ -1243,17 +1226,6 @@ version = "0.3.31"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
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]]
|
||||
name = "futures-io"
|
||||
version = "0.3.31"
|
||||
@@ -1284,12 +1256,6 @@ dependencies = [
|
||||
"syn",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "futures-sink"
|
||||
version = "0.3.31"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "e575fab7d1e0dcb8d0c7bcf9a63ee213816ab51902e6d244a95819acacf1d4f7"
|
||||
|
||||
[[package]]
|
||||
name = "futures-task"
|
||||
version = "0.3.31"
|
||||
@@ -1302,11 +1268,9 @@ version = "0.3.31"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "9fa08315bb612088cc391249efdc3bc77536f16c91f6cf495e6fbe85b20a4a81"
|
||||
dependencies = [
|
||||
"futures-channel",
|
||||
"futures-core",
|
||||
"futures-io",
|
||||
"futures-macro",
|
||||
"futures-sink",
|
||||
"futures-task",
|
||||
"memchr",
|
||||
"pin-project-lite",
|
||||
|
||||
@@ -16,7 +16,6 @@ tokio = { version = "1.47.1", features = ["full"] }
|
||||
tinyrand = "0.5.0"
|
||||
clipboard-rs = "0.3.0"
|
||||
tempfile = "3.23.0"
|
||||
futures = "0.3.31"
|
||||
|
||||
[package.metadata.bundle]
|
||||
identifier = "org.geekfu.fleen"
|
||||
|
||||
+1
-1
@@ -290,7 +290,7 @@ impl FleenApp {
|
||||
|
||||
pub async fn build_and_deploy(&self) -> Result<String, FleenError> {
|
||||
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");
|
||||
if !deploy_script_path.exists() {
|
||||
|
||||
+2
-3
@@ -4,8 +4,7 @@ mod server;
|
||||
mod ui_ext;
|
||||
|
||||
use std::path::{Path, PathBuf};
|
||||
use std::sync::{Arc, Mutex, MutexGuard};
|
||||
use std::task::Waker;
|
||||
use std::sync::{Arc, Mutex};
|
||||
use std::time::{Duration, Instant};
|
||||
use eframe::egui::{Button, Context, Id, RichText};
|
||||
use eframe::{egui, Frame};
|
||||
@@ -54,7 +53,7 @@ struct FleenUi {
|
||||
impl Default for FleenUi {
|
||||
fn default() -> Self {
|
||||
Self {
|
||||
app: None.into(),
|
||||
app: None,
|
||||
error: None,
|
||||
message: None,
|
||||
selected_file: None,
|
||||
|
||||
Reference in New Issue
Block a user