2023-01-31 17:55:57 +03:00
|
|
|
[package]
|
2024-04-04 12:56:56 +03:00
|
|
|
name = "gitbutler-tauri"
|
2023-01-31 17:55:57 +03:00
|
|
|
version = "0.0.0"
|
|
|
|
edition = "2021"
|
2024-02-07 00:59:59 +03:00
|
|
|
authors = ["GitButler <gitbutler@gitbutler.com>"]
|
2024-03-27 22:40:52 +03:00
|
|
|
publish = false
|
2023-05-05 10:56:01 +03:00
|
|
|
|
2024-03-28 10:49:53 +03:00
|
|
|
[lib]
|
|
|
|
doctest = false
|
|
|
|
|
|
|
|
[[bin]]
|
2024-04-04 12:56:56 +03:00
|
|
|
name = "gitbutler-tauri"
|
2024-03-28 10:49:53 +03:00
|
|
|
path = "src/main.rs"
|
|
|
|
test = false
|
|
|
|
|
2023-01-31 17:55:57 +03:00
|
|
|
[build-dependencies]
|
2024-07-02 10:48:47 +03:00
|
|
|
tauri-build = { version = "1.5.3", features = [] }
|
2023-01-31 17:55:57 +03:00
|
|
|
|
2023-10-09 16:11:13 +03:00
|
|
|
[dev-dependencies]
|
|
|
|
pretty_assertions = "1.4"
|
2024-03-30 13:01:58 +03:00
|
|
|
tempfile = "3.10"
|
2024-04-10 14:06:49 +03:00
|
|
|
gitbutler-testsupport.workspace = true
|
2023-10-09 16:11:13 +03:00
|
|
|
|
2023-01-31 17:55:57 +03:00
|
|
|
[dependencies]
|
2024-06-01 18:38:43 +03:00
|
|
|
anyhow = "1.0.86"
|
|
|
|
backtrace = { version = "0.3.72", optional = true }
|
2024-08-01 22:45:06 +03:00
|
|
|
console-subscriber = "0.4.0"
|
2024-05-15 18:39:00 +03:00
|
|
|
dirs = "5.0.1"
|
2024-07-14 22:51:28 +03:00
|
|
|
fslock.workspace = true
|
2024-07-27 20:15:02 +03:00
|
|
|
futures.workspace = true
|
2024-01-17 17:33:05 +03:00
|
|
|
git2.workspace = true
|
2024-08-28 13:53:07 +03:00
|
|
|
gix = { workspace = true, features = ["max-performance", "blocking-http-transport-curl"] }
|
2023-12-22 16:29:46 +03:00
|
|
|
once_cell = "1.19"
|
2024-05-01 18:11:55 +03:00
|
|
|
reqwest = { version = "0.12.4", features = ["json"] }
|
2024-03-18 17:08:51 +03:00
|
|
|
serde.workspace = true
|
2024-07-09 17:43:58 +03:00
|
|
|
serde_json = { version = "1.0", features = ["std", "arbitrary_precision"] }
|
2024-02-15 00:17:01 +03:00
|
|
|
tauri-plugin-context-menu = { git = "https://github.com/c2r0b/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" }
|
2024-01-28 14:38:54 +03:00
|
|
|
tauri-plugin-store = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v1" }
|
2024-02-29 21:28:45 +03:00
|
|
|
tauri-plugin-log = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v1" }
|
2024-07-28 21:36:55 +03:00
|
|
|
parking_lot.workspace = true
|
2024-02-29 21:28:45 +03:00
|
|
|
log = "^0.4"
|
2024-01-17 17:33:05 +03:00
|
|
|
thiserror.workspace = true
|
2024-04-18 10:25:40 +03:00
|
|
|
# The features here optimize for performance.
|
2024-07-09 17:43:58 +03:00
|
|
|
tokio = { workspace = true, features = ["rt-multi-thread", "parking_lot"] }
|
2024-08-11 15:55:00 +03:00
|
|
|
tracing.workspace = true
|
2023-11-27 18:37:45 +03:00
|
|
|
tracing-appender = "0.2.3"
|
2024-08-11 15:55:00 +03:00
|
|
|
tracing-subscriber.workspace = true
|
2024-04-17 22:46:40 +03:00
|
|
|
gitbutler-watcher.workspace = true
|
2024-07-10 15:49:48 +03:00
|
|
|
gitbutler-branch-actions.workspace = true
|
2024-07-07 21:00:01 +03:00
|
|
|
gitbutler-oplog.workspace = true
|
2024-07-08 01:45:04 +03:00
|
|
|
gitbutler-repo.workspace = true
|
2024-07-08 14:23:03 +03:00
|
|
|
gitbutler-command-context.workspace = true
|
2024-07-08 14:52:22 +03:00
|
|
|
gitbutler-feedback.workspace = true
|
2024-07-08 15:49:45 +03:00
|
|
|
gitbutler-config.workspace = true
|
2024-07-08 16:33:26 +03:00
|
|
|
gitbutler-project.workspace = true
|
2024-07-08 19:58:29 +03:00
|
|
|
gitbutler-user.workspace = true
|
2024-07-09 01:10:55 +03:00
|
|
|
gitbutler-branch.workspace = true
|
2024-07-09 02:14:28 +03:00
|
|
|
gitbutler-reference.workspace = true
|
2024-07-09 12:13:39 +03:00
|
|
|
gitbutler-error.workspace = true
|
2024-07-09 13:11:12 +03:00
|
|
|
gitbutler-secret.workspace = true
|
2024-07-09 13:39:18 +03:00
|
|
|
gitbutler-id.workspace = true
|
2024-07-09 13:54:08 +03:00
|
|
|
gitbutler-storage.workspace = true
|
2024-07-17 21:16:48 +03:00
|
|
|
gitbutler-diff.workspace = true
|
2024-08-13 18:05:28 +03:00
|
|
|
gitbutler-operating-modes.workspace = true
|
2024-08-19 12:03:51 +03:00
|
|
|
gitbutler-edit-mode.workspace = true
|
2024-05-05 22:40:06 +03:00
|
|
|
open = "5"
|
2024-04-04 12:56:56 +03:00
|
|
|
|
|
|
|
[dependencies.tauri]
|
2024-07-02 10:48:47 +03:00
|
|
|
version = "1.7.0"
|
2024-04-04 12:56:56 +03:00
|
|
|
features = [
|
2024-07-09 17:43:58 +03:00
|
|
|
"http-all",
|
|
|
|
"os-all",
|
|
|
|
"dialog-open",
|
|
|
|
"fs-read-file",
|
|
|
|
"path-all",
|
|
|
|
"process-relaunch",
|
|
|
|
"protocol-asset",
|
|
|
|
"shell-open",
|
|
|
|
"window-maximize",
|
|
|
|
"window-start-dragging",
|
|
|
|
"window-unmaximize",
|
2024-04-04 12:56:56 +03:00
|
|
|
]
|
2023-01-31 17:55:57 +03:00
|
|
|
|
2024-03-25 19:58:18 +03:00
|
|
|
[lints.clippy]
|
|
|
|
all = "deny"
|
|
|
|
perf = "deny"
|
|
|
|
correctness = "deny"
|
|
|
|
|
2023-01-31 17:55:57 +03:00
|
|
|
[features]
|
2024-04-29 16:54:13 +03:00
|
|
|
default = ["custom-protocol", "devtools"]
|
2024-04-25 08:16:41 +03:00
|
|
|
## A forwarding to all crates that have windows-specific adjustments for testing on non-Windows.
|
2024-04-25 17:33:55 +03:00
|
|
|
windows = []
|
2023-07-21 14:05:28 +03:00
|
|
|
devtools = ["tauri/devtools"]
|
2024-04-19 16:17:44 +03:00
|
|
|
|
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
|
|
|
|
2024-07-09 17:43:58 +03:00
|
|
|
error-context = ["dep:backtrace"]
|