gitbutler/crates/gitbutler-tauri/Cargo.toml
Kiril Videlov 736ef0d648 Refactor: move patch reference structs to the stack crate
The separation no longer makes sense
2024-11-02 13:24:53 +01:00

105 lines
2.9 KiB
TOML

[package]
name = "gitbutler-tauri"
version = "0.0.0"
edition = "2021"
authors = ["GitButler <gitbutler@gitbutler.com>"]
publish = false
[lib]
doctest = false
crate-type = ["lib", "staticlib", "cdylib"]
[[bin]]
name = "gitbutler-tauri"
path = "src/main.rs"
test = false
[build-dependencies]
tauri-build = { version = "2.0.2", features = [] }
[dev-dependencies]
pretty_assertions = "1.4"
tempfile = "3.13"
gitbutler-testsupport.workspace = true
[dependencies]
anyhow = "1.0.92"
backtrace = { version = "0.3.74", optional = true }
console-subscriber = "0.4.1"
dirs = "5.0.1"
futures.workspace = true
git2.workspace = true
gix = { workspace = true, features = [
"max-performance",
"blocking-http-transport-curl",
"worktree-mutation",
] }
once_cell = "1.20"
reqwest = { version = "0.12.9", features = ["json"] }
serde.workspace = true
serde_json = { version = "1.0", features = ["std", "arbitrary_precision"] }
tauri = { version = "^2.0.6", features = ["unstable"] }
tauri-plugin-dialog = "2.0.3"
tauri-plugin-fs = "2.0.3"
tauri-plugin-http = "2.0.3"
tauri-plugin-log = "2.0.1"
tauri-plugin-os = "2.0.1"
tauri-plugin-process = "2.0.1"
tauri-plugin-shell = "2.0.2"
tauri-plugin-single-instance = "2.0.1"
tauri-plugin-store = "2.1.0"
tauri-plugin-updater = "2.0.2"
tauri-plugin-window-state = "2.0.1"
parking_lot.workspace = true
log = "^0.4"
thiserror.workspace = true
# The features here optimize for performance.
tokio = { workspace = true, features = ["rt-multi-thread", "parking_lot"] }
tracing.workspace = true
tracing-appender = "0.2.3"
tracing-subscriber.workspace = true
tracing-forest = { version = "0.1.6" }
gitbutler-watcher.workspace = true
gitbutler-branch-actions.workspace = true
gitbutler-oplog.workspace = true
gitbutler-repo.workspace = true
gitbutler-repo-actions.workspace = true
gitbutler-command-context.workspace = true
gitbutler-feedback.workspace = true
gitbutler-fs.workspace = true
gitbutler-config.workspace = true
gitbutler-project.workspace = true
gitbutler-user.workspace = true
gitbutler-branch.workspace = true
gitbutler-reference.workspace = true
gitbutler-error.workspace = true
gitbutler-secret.workspace = true
gitbutler-id.workspace = true
gitbutler-storage.workspace = true
gitbutler-stack.workspace = true
gitbutler-diff.workspace = true
gitbutler-operating-modes.workspace = true
gitbutler-edit-mode.workspace = true
gitbutler-sync.workspace = true
gitbutler-forge.workspace = true
gitbutler-settings.workspace = true
open = "5"
url = "2.5.2"
[lints.clippy]
all = "deny"
perf = "deny"
correctness = "deny"
[features]
default = ["custom-protocol", "devtools"]
## A forwarding to all crates that have windows-specific adjustments for testing on non-Windows.
windows = []
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"]
error-context = ["dep:backtrace"]