gitbutler/packages/tauri/Cargo.toml
extrawurst f535ba30d5 trigger flush_session if GB_FLUSH file triggers watcher git event
* remove GB_FLUSH after processing it
* add test for flushing and deleting flush file
* add more unittests for cases:
 * no session, file -> no flush, file deleted
 * session, file -> flush, file deleted
 * session, no file -> no flush
2023-10-10 12:03:06 +02:00

75 lines
2.3 KiB
TOML

[package]
name = "gitbutler"
version = "0.0.0"
edition = "2021"
rust-version = "1.57"
[build-dependencies]
tauri-build = { version = "1.5", features = [] }
[dev-dependencies]
pretty_assertions = "1.4"
[dependencies]
anyhow = "1.0.72"
async-trait = "0.1.73"
backoff = "0.4.0"
bstr = "1.6.2"
byteorder = "1.4.3"
chrono = "0.4.29"
console-subscriber = "0.1.10"
diffy = "0.3.0"
filetime = "0.2.22"
futures = "0.3"
git2 = { version = "0.17.2", features = ["vendored-openssl", "vendored-libgit2"] }
md5 = "0.7.0"
notify = { version = "6.0.1" }
num_cpus = "1.16.0"
posthog-rs = "0.2.2"
r2d2 = "0.8.10"
r2d2_sqlite = "0.22.0"
rand = "0.8.5"
refinery = { version = "0.8", features = [ "rusqlite" ] }
reqwest = "0.11.14"
resolve-path = "0.1.0"
rusqlite = { version = "0.29.0", features = [ "bundled", "blob" ] }
rustix = "0.38"
sentry = { version = "0.31", features = ["backtrace", "contexts", "panic", "transport", "anyhow", "debug-images", "reqwest", "native-tls" ] }
sentry-rust-minidump = "0.6.4"
sentry-tracing = "0.31.7"
serde = { version = "1.0", features = ["derive"] }
serde-jsonlines = "0.4.0"
serde_json = { version = "1.0", features = [ "std", "arbitrary_precision" ] }
sha1 = "0.10.5"
sha2 = "0.10.6"
similar = { version = "2.2.1", features = ["unicode"] }
ssh-key = { version = "0.6.1", features = [ "alloc", "ed25519" ] }
tantivy = "0.20.2"
tauri = { version = "1.5", features = ["dialog-open", "fs-read-file", "path-all", "process-relaunch", "protocol-asset", "shell-open", "system-tray", "window-maximize", "window-start-dragging", "window-unmaximize"] }
tauri-plugin-window-state = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v1" }
tempfile = "3.8"
thiserror = "1.0.44"
tokio = { version = "1.29.1", features = [ "full", "sync", "tracing" ] }
tokio-util = "0.7.8"
tracing = "0.1.37"
tracing-appender = "0.2.2"
tracing-subscriber = "0.3.17"
url = "2.4"
urlencoding = "2.1.3"
uuid = "1.4.1"
walkdir = "2.3.2"
zip = "0.6.5"
[features]
# by default Tauri runs in production mode
# when `tauri dev` runs it is executed with `cargo run --no-default-features` if `devPath` is an URL
default = ["custom-protocol"]
# enabled debug logging
debug = []
# this feature enables devtools
devtools = ["tauri/devtools"]
# this feature is used used for production builds where `devPath` points to the filesystem
# DO NOT remove this
custom-protocol = ["tauri/custom-protocol"]