general: snapshot

This commit is contained in:
k
2024-07-05 18:03:53 +02:00
parent 069311dcf3
commit a931ad7a1e
43 changed files with 1210 additions and 1037 deletions
+2 -2
View File
@@ -1463,7 +1463,7 @@ dependencies = [
[[package]]
name = "parser"
version = "0.1.1"
version = "0.2.0"
dependencies = [
"allocative",
"bincode",
@@ -1907,7 +1907,7 @@ dependencies = [
[[package]]
name = "server"
version = "0.1.1"
version = "0.2.0"
dependencies = [
"axum",
"bincode",
+1 -1
View File
@@ -1,6 +1,6 @@
[package]
name = "server"
version = "0.1.1"
version = "0.2.0"
edition = "2021"
[dependencies]
+14
View File
@@ -1,2 +1,16 @@
# Restart cloudflared
# Sometimes it's acting up
if command -v cloudflared &> /dev/null; then
# For Mac OS users
if [ "$(uname)" == "Darwin" ]; then
echo "Restarting cloudflared..."
sudo launchctl stop com.cloudflare.cloudflared
sudo launchctl unload /Library/LaunchDaemons/com.cloudflare.cloudflared.plist
sudo launchctl load /Library/LaunchDaemons/com.cloudflare.cloudflared.plist
sudo launchctl start com.cloudflare.cloudflared
fi
fi
cargo watch -w "./src" -w "./run.sh" -x "run -r"
# cargo watch -w "./src" -w "./run.sh" -w "../datasets/disk_path_to_type.json" -x "run -r"