gitbutler/crates/gitbutler-tauri/Cargo.toml

87 lines
2.7 KiB
TOML
Raw Normal View History

2023-01-31 17:55:57 +03:00
[package]
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>"]
publish = false
[lib]
doctest = false
[[bin]]
name = "gitbutler-tauri"
path = "src/main.rs"
test = false
2023-01-31 17:55:57 +03:00
[build-dependencies]
tauri-build = { version = "1.5", features = [] }
2023-01-31 17:55:57 +03:00
[dev-dependencies]
#once_cell = "1.19"
pretty_assertions = "1.4"
tempfile = "3.10"
gitbutler-testsupport.workspace = true
2023-01-31 17:55:57 +03:00
[dependencies]
build(deps): bump the rust-updates group with 14 updates Bumps the rust-updates group with 14 updates: | Package | From | To | | --- | --- | --- | | [git2](https://github.com/rust-lang/git2-rs) | `0.18.2` | `0.18.3` | | [uuid](https://github.com/uuid-rs/uuid) | `1.7.0` | `1.8.0` | | [thiserror](https://github.com/dtolnay/thiserror) | `1.0.57` | `1.0.58` | | [toml](https://github.com/toml-rs/toml) | `0.8.11` | `0.8.12` | | [anyhow](https://github.com/dtolnay/anyhow) | `1.0.80` | `1.0.81` | | [async-trait](https://github.com/dtolnay/async-trait) | `0.1.77` | `0.1.79` | | [backtrace](https://github.com/rust-lang/backtrace-rs) | `0.3.69` | `0.3.71` | | [chrono](https://github.com/chronotope/chrono) | `0.4.34` | `0.4.37` | | [regex](https://github.com/rust-lang/regex) | `1.10.3` | `1.10.4` | | [serde_json](https://github.com/serde-rs/json) | `1.0.112` | `1.0.115` | | [ssh-key](https://github.com/RustCrypto/SSH) | `0.6.4` | `0.6.5` | | [tauri](https://github.com/tauri-apps/tauri) | `1.6.0` | `1.6.1` | | [walkdir](https://github.com/BurntSushi/walkdir) | `2.4.0` | `2.5.0` | | [nix](https://github.com/nix-rust/nix) | `0.27.1` | `0.28.0` | Updates `git2` from 0.18.2 to 0.18.3 - [Changelog](https://github.com/rust-lang/git2-rs/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-lang/git2-rs/compare/git2-0.18.2...git2-0.18.3) Updates `uuid` from 1.7.0 to 1.8.0 - [Release notes](https://github.com/uuid-rs/uuid/releases) - [Commits](https://github.com/uuid-rs/uuid/compare/1.7.0...1.8.0) Updates `thiserror` from 1.0.57 to 1.0.58 - [Release notes](https://github.com/dtolnay/thiserror/releases) - [Commits](https://github.com/dtolnay/thiserror/compare/1.0.57...1.0.58) Updates `toml` from 0.8.11 to 0.8.12 - [Commits](https://github.com/toml-rs/toml/compare/toml-v0.8.11...toml-v0.8.12) Updates `anyhow` from 1.0.80 to 1.0.81 - [Release notes](https://github.com/dtolnay/anyhow/releases) - [Commits](https://github.com/dtolnay/anyhow/compare/1.0.80...1.0.81) Updates `async-trait` from 0.1.77 to 0.1.79 - [Release notes](https://github.com/dtolnay/async-trait/releases) - [Commits](https://github.com/dtolnay/async-trait/compare/0.1.77...0.1.79) Updates `backtrace` from 0.3.69 to 0.3.71 - [Release notes](https://github.com/rust-lang/backtrace-rs/releases) - [Commits](https://github.com/rust-lang/backtrace-rs/compare/0.3.69...0.3.71) Updates `chrono` from 0.4.34 to 0.4.37 - [Release notes](https://github.com/chronotope/chrono/releases) - [Changelog](https://github.com/chronotope/chrono/blob/main/CHANGELOG.md) - [Commits](https://github.com/chronotope/chrono/compare/v0.4.34...v0.4.37) Updates `regex` from 1.10.3 to 1.10.4 - [Release notes](https://github.com/rust-lang/regex/releases) - [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-lang/regex/compare/1.10.3...1.10.4) Updates `serde_json` from 1.0.112 to 1.0.115 - [Release notes](https://github.com/serde-rs/json/releases) - [Commits](https://github.com/serde-rs/json/compare/v1.0.112...v1.0.115) Updates `ssh-key` from 0.6.4 to 0.6.5 - [Commits](https://github.com/RustCrypto/SSH/compare/ssh-key/v0.6.4...ssh-key/v0.6.5) Updates `tauri` from 1.6.0 to 1.6.1 - [Release notes](https://github.com/tauri-apps/tauri/releases) - [Commits](https://github.com/tauri-apps/tauri/compare/tauri-v1.6.0...tauri-v1.6.1) Updates `walkdir` from 2.4.0 to 2.5.0 - [Commits](https://github.com/BurntSushi/walkdir/compare/2.4.0...2.5.0) Updates `nix` from 0.27.1 to 0.28.0 - [Changelog](https://github.com/nix-rust/nix/blob/master/CHANGELOG.md) - [Commits](https://github.com/nix-rust/nix/compare/v0.27.1...v0.28.0) --- updated-dependencies: - dependency-name: git2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: rust-updates - dependency-name: uuid dependency-type: direct:production update-type: version-update:semver-minor dependency-group: rust-updates - dependency-name: thiserror dependency-type: direct:production update-type: version-update:semver-patch dependency-group: rust-updates - dependency-name: toml dependency-type: direct:production update-type: version-update:semver-patch dependency-group: rust-updates - dependency-name: anyhow dependency-type: direct:production update-type: version-update:semver-patch dependency-group: rust-updates - dependency-name: async-trait dependency-type: direct:production update-type: version-update:semver-patch dependency-group: rust-updates - dependency-name: backtrace dependency-type: direct:production update-type: version-update:semver-patch dependency-group: rust-updates - dependency-name: chrono dependency-type: direct:production update-type: version-update:semver-patch dependency-group: rust-updates - dependency-name: regex dependency-type: direct:production update-type: version-update:semver-patch dependency-group: rust-updates - dependency-name: serde_json dependency-type: direct:production update-type: version-update:semver-patch dependency-group: rust-updates - dependency-name: ssh-key dependency-type: direct:production update-type: version-update:semver-patch dependency-group: rust-updates - dependency-name: tauri dependency-type: direct:production update-type: version-update:semver-patch dependency-group: rust-updates - dependency-name: walkdir dependency-type: direct:production update-type: version-update:semver-minor dependency-group: rust-updates - dependency-name: nix dependency-type: direct:production update-type: version-update:semver-minor dependency-group: rust-updates ... Signed-off-by: dependabot[bot] <support@github.com>
2024-03-27 21:57:36 +03:00
anyhow = "1.0.81"
async-trait = "0.1.79"
2023-09-14 10:07:58 +03:00
backoff = "0.4.0"
build(deps): bump the rust-updates group with 14 updates Bumps the rust-updates group with 14 updates: | Package | From | To | | --- | --- | --- | | [git2](https://github.com/rust-lang/git2-rs) | `0.18.2` | `0.18.3` | | [uuid](https://github.com/uuid-rs/uuid) | `1.7.0` | `1.8.0` | | [thiserror](https://github.com/dtolnay/thiserror) | `1.0.57` | `1.0.58` | | [toml](https://github.com/toml-rs/toml) | `0.8.11` | `0.8.12` | | [anyhow](https://github.com/dtolnay/anyhow) | `1.0.80` | `1.0.81` | | [async-trait](https://github.com/dtolnay/async-trait) | `0.1.77` | `0.1.79` | | [backtrace](https://github.com/rust-lang/backtrace-rs) | `0.3.69` | `0.3.71` | | [chrono](https://github.com/chronotope/chrono) | `0.4.34` | `0.4.37` | | [regex](https://github.com/rust-lang/regex) | `1.10.3` | `1.10.4` | | [serde_json](https://github.com/serde-rs/json) | `1.0.112` | `1.0.115` | | [ssh-key](https://github.com/RustCrypto/SSH) | `0.6.4` | `0.6.5` | | [tauri](https://github.com/tauri-apps/tauri) | `1.6.0` | `1.6.1` | | [walkdir](https://github.com/BurntSushi/walkdir) | `2.4.0` | `2.5.0` | | [nix](https://github.com/nix-rust/nix) | `0.27.1` | `0.28.0` | Updates `git2` from 0.18.2 to 0.18.3 - [Changelog](https://github.com/rust-lang/git2-rs/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-lang/git2-rs/compare/git2-0.18.2...git2-0.18.3) Updates `uuid` from 1.7.0 to 1.8.0 - [Release notes](https://github.com/uuid-rs/uuid/releases) - [Commits](https://github.com/uuid-rs/uuid/compare/1.7.0...1.8.0) Updates `thiserror` from 1.0.57 to 1.0.58 - [Release notes](https://github.com/dtolnay/thiserror/releases) - [Commits](https://github.com/dtolnay/thiserror/compare/1.0.57...1.0.58) Updates `toml` from 0.8.11 to 0.8.12 - [Commits](https://github.com/toml-rs/toml/compare/toml-v0.8.11...toml-v0.8.12) Updates `anyhow` from 1.0.80 to 1.0.81 - [Release notes](https://github.com/dtolnay/anyhow/releases) - [Commits](https://github.com/dtolnay/anyhow/compare/1.0.80...1.0.81) Updates `async-trait` from 0.1.77 to 0.1.79 - [Release notes](https://github.com/dtolnay/async-trait/releases) - [Commits](https://github.com/dtolnay/async-trait/compare/0.1.77...0.1.79) Updates `backtrace` from 0.3.69 to 0.3.71 - [Release notes](https://github.com/rust-lang/backtrace-rs/releases) - [Commits](https://github.com/rust-lang/backtrace-rs/compare/0.3.69...0.3.71) Updates `chrono` from 0.4.34 to 0.4.37 - [Release notes](https://github.com/chronotope/chrono/releases) - [Changelog](https://github.com/chronotope/chrono/blob/main/CHANGELOG.md) - [Commits](https://github.com/chronotope/chrono/compare/v0.4.34...v0.4.37) Updates `regex` from 1.10.3 to 1.10.4 - [Release notes](https://github.com/rust-lang/regex/releases) - [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-lang/regex/compare/1.10.3...1.10.4) Updates `serde_json` from 1.0.112 to 1.0.115 - [Release notes](https://github.com/serde-rs/json/releases) - [Commits](https://github.com/serde-rs/json/compare/v1.0.112...v1.0.115) Updates `ssh-key` from 0.6.4 to 0.6.5 - [Commits](https://github.com/RustCrypto/SSH/compare/ssh-key/v0.6.4...ssh-key/v0.6.5) Updates `tauri` from 1.6.0 to 1.6.1 - [Release notes](https://github.com/tauri-apps/tauri/releases) - [Commits](https://github.com/tauri-apps/tauri/compare/tauri-v1.6.0...tauri-v1.6.1) Updates `walkdir` from 2.4.0 to 2.5.0 - [Commits](https://github.com/BurntSushi/walkdir/compare/2.4.0...2.5.0) Updates `nix` from 0.27.1 to 0.28.0 - [Changelog](https://github.com/nix-rust/nix/blob/master/CHANGELOG.md) - [Commits](https://github.com/nix-rust/nix/compare/v0.27.1...v0.28.0) --- updated-dependencies: - dependency-name: git2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: rust-updates - dependency-name: uuid dependency-type: direct:production update-type: version-update:semver-minor dependency-group: rust-updates - dependency-name: thiserror dependency-type: direct:production update-type: version-update:semver-patch dependency-group: rust-updates - dependency-name: toml dependency-type: direct:production update-type: version-update:semver-patch dependency-group: rust-updates - dependency-name: anyhow dependency-type: direct:production update-type: version-update:semver-patch dependency-group: rust-updates - dependency-name: async-trait dependency-type: direct:production update-type: version-update:semver-patch dependency-group: rust-updates - dependency-name: backtrace dependency-type: direct:production update-type: version-update:semver-patch dependency-group: rust-updates - dependency-name: chrono dependency-type: direct:production update-type: version-update:semver-patch dependency-group: rust-updates - dependency-name: regex dependency-type: direct:production update-type: version-update:semver-patch dependency-group: rust-updates - dependency-name: serde_json dependency-type: direct:production update-type: version-update:semver-patch dependency-group: rust-updates - dependency-name: ssh-key dependency-type: direct:production update-type: version-update:semver-patch dependency-group: rust-updates - dependency-name: tauri dependency-type: direct:production update-type: version-update:semver-patch dependency-group: rust-updates - dependency-name: walkdir dependency-type: direct:production update-type: version-update:semver-minor dependency-group: rust-updates - dependency-name: nix dependency-type: direct:production update-type: version-update:semver-minor dependency-group: rust-updates ... Signed-off-by: dependabot[bot] <support@github.com>
2024-03-27 21:57:36 +03:00
backtrace = { version = "0.3.71", optional = true }
chrono = { version = "0.4.37", features = ["serde"] }
console-subscriber = "0.2.0"
2024-04-14 12:13:19 +03:00
crossbeam-channel = "0.5.12"
2023-09-14 10:07:58 +03:00
futures = "0.3"
2024-01-17 17:33:05 +03:00
git2.workspace = true
Bump the rust-updates group with 10 updates Bumps the rust-updates group with 10 updates: | Package | From | To | | --- | --- | --- | | [serde](https://github.com/serde-rs/serde) | `1.0.196` | `1.0.197` | | [thiserror](https://github.com/dtolnay/thiserror) | `1.0.56` | `1.0.57` | | [anyhow](https://github.com/dtolnay/anyhow) | `1.0.79` | `1.0.80` | | [bstr](https://github.com/BurntSushi/bstr) | `1.9.0` | `1.9.1` | | [chrono](https://github.com/chronotope/chrono) | `0.4.33` | `0.4.34` | | [governor](https://github.com/boinkor-net/governor) | `0.6.0` | `0.6.3` | | [serde_json](https://github.com/serde-rs/json) | `1.0.113` | `1.0.114` | | [tauri](https://github.com/tauri-apps/tauri) | `1.5.4` | `1.6.0` | | [log](https://github.com/rust-lang/log) | `0.4.20` | `0.4.21` | | [tempfile](https://github.com/Stebalien/tempfile) | `3.10.0` | `3.10.1` | Updates `serde` from 1.0.196 to 1.0.197 - [Release notes](https://github.com/serde-rs/serde/releases) - [Commits](https://github.com/serde-rs/serde/compare/v1.0.196...v1.0.197) Updates `thiserror` from 1.0.56 to 1.0.57 - [Release notes](https://github.com/dtolnay/thiserror/releases) - [Commits](https://github.com/dtolnay/thiserror/compare/1.0.56...1.0.57) Updates `anyhow` from 1.0.79 to 1.0.80 - [Release notes](https://github.com/dtolnay/anyhow/releases) - [Commits](https://github.com/dtolnay/anyhow/compare/1.0.79...1.0.80) Updates `bstr` from 1.9.0 to 1.9.1 - [Commits](https://github.com/BurntSushi/bstr/compare/1.9.0...1.9.1) Updates `chrono` from 0.4.33 to 0.4.34 - [Release notes](https://github.com/chronotope/chrono/releases) - [Changelog](https://github.com/chronotope/chrono/blob/main/CHANGELOG.md) - [Commits](https://github.com/chronotope/chrono/compare/v0.4.33...v0.4.34) Updates `governor` from 0.6.0 to 0.6.3 - [Release notes](https://github.com/boinkor-net/governor/releases) - [Changelog](https://github.com/boinkor-net/governor/blob/master/release.toml) - [Commits](https://github.com/boinkor-net/governor/compare/v0.6.0...v0.6.3) Updates `serde_json` from 1.0.113 to 1.0.114 - [Release notes](https://github.com/serde-rs/json/releases) - [Commits](https://github.com/serde-rs/json/compare/v1.0.113...v1.0.114) Updates `tauri` from 1.5.4 to 1.6.0 - [Release notes](https://github.com/tauri-apps/tauri/releases) - [Commits](https://github.com/tauri-apps/tauri/compare/tauri-v1.5.4...tauri-v1.6.0) Updates `log` from 0.4.20 to 0.4.21 - [Release notes](https://github.com/rust-lang/log/releases) - [Changelog](https://github.com/rust-lang/log/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-lang/log/compare/0.4.20...0.4.21) Updates `tempfile` from 3.10.0 to 3.10.1 - [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md) - [Commits](https://github.com/Stebalien/tempfile/compare/v3.10.0...v3.10.1) --- updated-dependencies: - dependency-name: serde dependency-type: direct:production update-type: version-update:semver-patch dependency-group: rust-updates - dependency-name: thiserror dependency-type: direct:production update-type: version-update:semver-patch dependency-group: rust-updates - dependency-name: anyhow dependency-type: direct:production update-type: version-update:semver-patch dependency-group: rust-updates - dependency-name: bstr dependency-type: direct:production update-type: version-update:semver-patch dependency-group: rust-updates - dependency-name: chrono dependency-type: direct:production update-type: version-update:semver-patch dependency-group: rust-updates - dependency-name: governor dependency-type: direct:production update-type: version-update:semver-patch dependency-group: rust-updates - dependency-name: serde_json dependency-type: direct:production update-type: version-update:semver-patch dependency-group: rust-updates - dependency-name: tauri dependency-type: direct:production update-type: version-update:semver-minor dependency-group: rust-updates - dependency-name: log dependency-type: direct:production update-type: version-update:semver-patch dependency-group: rust-updates - dependency-name: tempfile dependency-type: direct:production update-type: version-update:semver-patch dependency-group: rust-updates ... Signed-off-by: dependabot[bot] <support@github.com>
2024-03-01 20:12:15 +03:00
governor = "0.6.3"
itertools = "0.12"
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"
once_cell = "1.19"
reqwest = { version = "0.12.2", features = ["json"] }
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" ] }
sentry-tracing = "0.32.0"
2024-03-18 17:08:51 +03:00
serde.workspace = true
2023-09-14 10:07:58 +03:00
serde_json = { version = "1.0", features = [ "std", "arbitrary_precision" ] }
slug = "0.1.5"
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" }
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" }
log = "^0.4"
2024-01-17 17:33:05 +03:00
thiserror.workspace = true
2024-03-01 19:39:42 +03:00
tokio = { workspace = true, features = [ "full", "sync" ] }
tokio-util = "0.7.10"
tracing = "0.1.40"
tracing-appender = "0.2.3"
2023-09-14 10:07:58 +03:00
tracing-subscriber = "0.3.17"
gitbutler-core.workspace = true
[dependencies.tauri]
version = "1.6.1"
features = [
"http-all", "os-all", "dialog-open", "fs-read-file",
"path-all", "process-relaunch", "protocol-asset",
"shell-open", "window-maximize", "window-start-dragging",
"window-unmaximize"
]
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]
# by default Tauri runs in production mode
# when `tauri dev` runs it is executed with `cargo run --no-default-features` if `devPath` is a URL
default = ["custom-protocol", "sentry"]
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
sentry = ["dep:sentry"]
2023-12-14 14:55:01 +03:00
error-context = ["dep:backtrace", "sentry/backtrace"]