2023-01-31 17:55:57 +03:00
|
|
|
[package]
|
2023-09-06 11:46:07 +03:00
|
|
|
name = "gitbutler"
|
2023-01-31 17:55:57 +03:00
|
|
|
version = "0.0.0"
|
|
|
|
edition = "2021"
|
|
|
|
rust-version = "1.57"
|
2023-05-05 10:56:01 +03:00
|
|
|
|
2023-10-18 17:39:14 +03:00
|
|
|
[lib]
|
|
|
|
name = "gblib"
|
|
|
|
path = "src/lib.rs"
|
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
name = "gitbutler"
|
|
|
|
path = "src/bin.rs"
|
|
|
|
|
2023-01-31 17:55:57 +03:00
|
|
|
[build-dependencies]
|
2023-10-05 11:31:51 +03:00
|
|
|
tauri-build = { version = "1.5", features = [] }
|
2023-01-31 17:55:57 +03:00
|
|
|
|
2023-10-09 16:11:13 +03:00
|
|
|
[dev-dependencies]
|
2023-10-10 18:14:36 +03:00
|
|
|
once_cell = "1.0"
|
2023-10-09 16:11:13 +03:00
|
|
|
pretty_assertions = "1.4"
|
2023-10-12 11:48:57 +03:00
|
|
|
tempfile = "3.8"
|
2023-10-09 16:11:13 +03:00
|
|
|
|
2023-01-31 17:55:57 +03:00
|
|
|
[dependencies]
|
2023-09-14 10:07:58 +03:00
|
|
|
anyhow = "1.0.72"
|
2023-10-23 18:36:15 +03:00
|
|
|
async-trait = "0.1.74"
|
2023-09-14 10:07:58 +03:00
|
|
|
backoff = "0.4.0"
|
2023-12-14 14:55:01 +03:00
|
|
|
backtrace = { version = "0.3.69", optional = true }
|
2023-11-20 18:26:57 +03:00
|
|
|
bstr = "1.8.0"
|
2023-12-04 18:17:09 +03:00
|
|
|
byteorder = "1.5.0"
|
2023-11-06 18:36:05 +03:00
|
|
|
chrono = { version = "0.4.31", features = ["serde"] }
|
2023-10-13 11:54:45 +03:00
|
|
|
console-subscriber = "0.2.0"
|
2023-09-14 10:07:58 +03:00
|
|
|
diffy = "0.3.0"
|
|
|
|
filetime = "0.2.22"
|
|
|
|
futures = "0.3"
|
2023-10-13 11:54:45 +03:00
|
|
|
git2 = { version = "0.18.1", features = ["vendored-openssl", "vendored-libgit2"] }
|
2023-12-12 19:15:35 +03:00
|
|
|
git2-hooks = "0.3"
|
2023-11-14 18:58:51 +03:00
|
|
|
governor = "0.6.0"
|
2023-11-27 18:37:58 +03:00
|
|
|
itertools = "0.12"
|
2023-11-22 14:20:07 +03:00
|
|
|
lazy_static = "1.4.0"
|
2023-09-14 10:07:58 +03:00
|
|
|
md5 = "0.7.0"
|
2023-11-14 18:58:51 +03:00
|
|
|
nonzero_ext = "0.3.0"
|
2023-09-14 10:07:58 +03:00
|
|
|
notify = { version = "6.0.1" }
|
2023-11-14 13:37:40 +03:00
|
|
|
notify-debouncer-full = "0.3.1"
|
2023-09-14 10:07:58 +03:00
|
|
|
num_cpus = "1.16.0"
|
2023-11-14 18:58:51 +03:00
|
|
|
once_cell = "1.0"
|
2023-09-14 13:23:25 +03:00
|
|
|
r2d2 = "0.8.10"
|
|
|
|
r2d2_sqlite = "0.22.0"
|
2023-09-14 10:07:58 +03:00
|
|
|
rand = "0.8.5"
|
|
|
|
refinery = { version = "0.8", features = [ "rusqlite" ] }
|
2023-10-05 11:44:02 +03:00
|
|
|
reqwest = "0.11.22"
|
2023-09-14 10:07:58 +03:00
|
|
|
resolve-path = "0.1.0"
|
|
|
|
rusqlite = { version = "0.29.0", features = [ "bundled", "blob" ] }
|
|
|
|
rustix = "0.38"
|
2023-12-14 14:55:01 +03:00
|
|
|
sentry = { version = "0.32", optional = true, features = ["backtrace", "contexts", "panic", "transport", "anyhow", "debug-images", "reqwest", "native-tls" ] }
|
2023-12-11 18:47:20 +03:00
|
|
|
sentry-tracing = "0.32.0"
|
2023-01-31 17:55:57 +03:00
|
|
|
serde = { version = "1.0", features = ["derive"] }
|
2023-09-14 10:07:58 +03:00
|
|
|
serde_json = { version = "1.0", features = [ "std", "arbitrary_precision" ] }
|
2023-10-05 11:46:44 +03:00
|
|
|
sha1 = "0.10.6"
|
2023-10-18 16:27:59 +03:00
|
|
|
sha2 = "0.10.8"
|
2023-12-11 18:48:08 +03:00
|
|
|
similar = { version = "2.3.0", features = ["unicode"] }
|
2023-11-20 18:27:52 +03:00
|
|
|
slug = "0.1.5"
|
2023-12-04 18:14:51 +03:00
|
|
|
ssh-key = { version = "0.6.3", features = [ "alloc", "ed25519" ] }
|
2023-12-08 16:51:16 +03:00
|
|
|
ssh2 = { version = "0.9.4", features = ["vendored-openssl"] }
|
2023-10-18 14:16:03 +03:00
|
|
|
tauri = { version = "1.5.2", features = ["dialog-open", "fs-read-file", "path-all", "process-relaunch", "protocol-asset", "shell-open", "system-tray", "window-maximize", "window-start-dragging", "window-unmaximize"] }
|
2023-10-28 22:22:01 +03:00
|
|
|
tauri-plugin-context-menu = { git = "https://github.com/gitbutlerapp/tauri-plugin-context-menu", branch = "main" }
|
2023-10-18 11:14:37 +03:00
|
|
|
tauri-plugin-single-instance = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v1" }
|
2023-05-12 13:33:25 +03:00
|
|
|
tauri-plugin-window-state = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v1" }
|
2023-11-06 18:35:48 +03:00
|
|
|
thiserror = "1.0.50"
|
2023-11-13 18:54:23 +03:00
|
|
|
tokio = { version = "1.34.0", features = [ "full", "sync", "tracing" ] }
|
2023-11-08 11:23:24 +03:00
|
|
|
tokio-util = "0.7.10"
|
2023-11-21 15:01:09 +03:00
|
|
|
tracing = "0.1.40"
|
2023-11-27 18:37:45 +03:00
|
|
|
tracing-appender = "0.2.3"
|
2023-09-14 10:07:58 +03:00
|
|
|
tracing-subscriber = "0.3.17"
|
|
|
|
url = "2.4"
|
|
|
|
urlencoding = "2.1.3"
|
2023-11-20 18:26:07 +03:00
|
|
|
uuid = "1.6.1"
|
2023-09-14 10:07:58 +03:00
|
|
|
walkdir = "2.3.2"
|
|
|
|
zip = "0.6.5"
|
2023-01-31 17:55:57 +03:00
|
|
|
|
|
|
|
[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
|
2023-12-14 14:55:01 +03:00
|
|
|
default = ["custom-protocol", "sentry", "error-context"]
|
2023-07-21 14:05:28 +03:00
|
|
|
# this feature enables devtools
|
|
|
|
devtools = ["tauri/devtools"]
|
2023-01-31 17:55:57 +03:00
|
|
|
# this feature is used used for production builds where `devPath` points to the filesystem
|
|
|
|
# DO NOT remove this
|
|
|
|
custom-protocol = ["tauri/custom-protocol"]
|
2023-11-24 11:03:04 +03:00
|
|
|
|
2023-12-14 14:55:01 +03:00
|
|
|
sentry = ["dep:sentry", "error-context"]
|
|
|
|
error-context = ["dep:backtrace", "sentry/backtrace"]
|
|
|
|
|
2023-11-24 11:03:04 +03:00
|
|
|
[lints]
|
|
|
|
workspace = true
|