From 6cd4319fcf540ef70f74cc2f10d0d4297ee7b788 Mon Sep 17 00:00:00 2001 From: Ellie Huxtable Date: Thu, 11 Apr 2024 16:59:01 +0100 Subject: feat(gui): add base structure (#1935) * initial * ui things * cargo * update, add history refresh button * history page a bit better, add initial dotfiles page * re-org layout * bye squigglies * add dotfiles ui, show aliases * add default shell detection * put stats in a little drawer, alias import changes * use new table for aliases, add alias deleting * support adding aliases * close drawer when added, no alias autocomplete * clippy, format * attempt to ensure gdk is installed ok * sudo * no linux things on mac ffs * I forgot we build for windows too... end of day * remove tauri backend from workspace --- ui/backend/Cargo.toml | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 ui/backend/Cargo.toml (limited to 'ui/backend/Cargo.toml') diff --git a/ui/backend/Cargo.toml b/ui/backend/Cargo.toml new file mode 100644 index 00000000..94721acc --- /dev/null +++ b/ui/backend/Cargo.toml @@ -0,0 +1,38 @@ +[package] +name = "ui" +version = "0.0.0" +description = "A Tauri App" +publish = false +authors = ["you"] +edition = "2021" + +# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html + +[build-dependencies] +tauri-build = { version = "2.0.0-beta", features = [] } + +[dependencies] +atuin-client = { path = "../../atuin-client", version = "18.1.0" } +atuin-common = { path = "../../atuin-common", version = "18.1.0" } + +atuin-dotfiles = { path = "../../atuin-dotfiles", version = "0.1.0" } + +eyre = "0.6" +tauri = { version = "2.0.0-beta", features = ["tray-icon"] } +serde = { version = "1.0", features = ["derive"] } +serde_json = "1.0" +time = "0.3.34" +uuid = "1.7.0" +syntect = "5.2.0" + +[workspace.dependencies.sqlx] +version = "=0.7.3" +features = ["runtime-tokio-rustls", "time", "postgres", "uuid"] + +[features] +# this feature is used for production builds or when `devPath` points to the filesystem +# DO NOT REMOVE!! +custom-protocol = ["tauri/custom-protocol"] + +#[lib] +#crate-type = ["staticlib", "cdylib", "rlib"] -- cgit v1.3.1