refactor: update crate name

This commit is contained in:
ByteAtATime 2025-07-26 10:22:26 -07:00
parent da614329c8
commit 9bcdb3e6d7
No known key found for this signature in database
4 changed files with 58 additions and 72 deletions

110
src-tauri/Cargo.lock generated
View file

@ -1695,6 +1695,61 @@ version = "0.4.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0ce7134b9999ecaf8bcd65542e436736ef32ddca1b3e06094cb6ec5755203b80"
[[package]]
name = "flare"
version = "0.1.0"
dependencies = [
"aes-gcm",
"anyhow",
"arboard",
"bincode",
"bytes",
"chrono",
"enigo 0.5.0",
"evdev",
"freedesktop-file-parser",
"futures-util",
"hex",
"image",
"keyring",
"lazy_static",
"notify",
"notify-debouncer-full",
"once_cell",
"percent-encoding",
"rand 0.9.1",
"rayon",
"rdev",
"regex",
"reqwest",
"rusqlite",
"selection",
"serde",
"serde_json",
"sha2",
"tauri",
"tauri-build",
"tauri-plugin-clipboard-manager",
"tauri-plugin-deep-link",
"tauri-plugin-dialog",
"tauri-plugin-fs",
"tauri-plugin-global-shortcut",
"tauri-plugin-http",
"tauri-plugin-opener",
"tauri-plugin-os",
"tauri-plugin-shell",
"tauri-plugin-single-instance",
"tokio",
"tokio-tungstenite",
"trash",
"url",
"uuid",
"walkdir",
"xkbcommon 0.8.0",
"zbus",
"zip",
]
[[package]]
name = "flate2"
version = "1.1.2"
@ -4594,61 +4649,6 @@ version = "0.6.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "20675572f6f24e9e76ef639bc5552774ed45f1c30e2951e1e99c59888861c539"
[[package]]
name = "raycast-linux"
version = "0.1.0"
dependencies = [
"aes-gcm",
"anyhow",
"arboard",
"bincode",
"bytes",
"chrono",
"enigo 0.5.0",
"evdev",
"freedesktop-file-parser",
"futures-util",
"hex",
"image",
"keyring",
"lazy_static",
"notify",
"notify-debouncer-full",
"once_cell",
"percent-encoding",
"rand 0.9.1",
"rayon",
"rdev",
"regex",
"reqwest",
"rusqlite",
"selection",
"serde",
"serde_json",
"sha2",
"tauri",
"tauri-build",
"tauri-plugin-clipboard-manager",
"tauri-plugin-deep-link",
"tauri-plugin-dialog",
"tauri-plugin-fs",
"tauri-plugin-global-shortcut",
"tauri-plugin-http",
"tauri-plugin-opener",
"tauri-plugin-os",
"tauri-plugin-shell",
"tauri-plugin-single-instance",
"tokio",
"tokio-tungstenite",
"trash",
"url",
"uuid",
"walkdir",
"xkbcommon 0.8.0",
"zbus",
"zip",
]
[[package]]
name = "rayon"
version = "1.10.0"

View file

@ -1,5 +1,5 @@
[package]
name = "raycast-linux"
name = "flare"
version = "0.1.0"
description = "A Tauri App"
authors = ["you"]
@ -11,7 +11,7 @@ edition = "2021"
# The `_lib` suffix may seem redundant but it is necessary
# to make the lib name unique and wouldn't conflict with the bin name.
# This seems to be only an issue on Windows, see https://github.com/rust-lang/cargo/issues/8519
name = "raycast_linux_lib"
name = "flare_lib"
crate-type = ["staticlib", "cdylib", "rlib"]
[build-dependencies]

View file

@ -1,20 +1,6 @@
use std::process::Command;
fn main() {
// dont touch this file - it works and i have no idea why
// let status = Command::new("swift")
// .arg("build")
// .arg("-c")
// .arg("release")
// .arg("--package-path")
// .arg("SoulverWrapper")
// .status()
// .expect("Failed to execute swift build command");
// if !status.success() {
// panic!("Swift build failed");
// }
let _ = Command::new("patchelf")
.arg("--set-rpath")
.arg("$ORIGIN")

View file

@ -2,5 +2,5 @@
#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")]
fn main() {
raycast_linux_lib::run()
flare_lib::run()
}