minimize app-crate dependencies

After the library was removed, it needs less as well.
This commit is contained in:
Sebastian Thiel 2024-03-30 11:01:58 +01:00
parent 2dbdc6ea99
commit 8e9133092f
No known key found for this signature in database
GPG Key ID: 9CB5EE7895E8268B
2 changed files with 39 additions and 95 deletions

102
Cargo.lock generated
View File

@ -276,7 +276,7 @@ dependencies = [
"glib-sys", "glib-sys",
"gobject-sys", "gobject-sys",
"libc", "libc",
"system-deps 6.1.1", "system-deps 6.2.0",
] ]
[[package]] [[package]]
@ -625,7 +625,7 @@ checksum = "3c55d429bef56ac9172d25fecb85dc8068307d17acd74b377866b7a1ef25d3c8"
dependencies = [ dependencies = [
"glib-sys", "glib-sys",
"libc", "libc",
"system-deps 6.1.1", "system-deps 6.2.0",
] ]
[[package]] [[package]]
@ -676,9 +676,9 @@ dependencies = [
[[package]] [[package]]
name = "cfg-expr" name = "cfg-expr"
version = "0.15.4" version = "0.15.7"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b40ccee03b5175c18cde8f37e7d2a33bcef6f8ec8f7cc0d81090d1bb380949c9" checksum = "fa50868b64a9a6fda9d593ce778849ea8715cd2a3d2cc17ffdb4a2f2f2f1961d"
dependencies = [ dependencies = [
"smallvec", "smallvec",
"target-lexicon", "target-lexicon",
@ -1451,9 +1451,9 @@ dependencies = [
[[package]] [[package]]
name = "fiat-crypto" name = "fiat-crypto"
version = "0.2.1" version = "0.2.6"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d0870c84016d4b481be5c9f323c24f65e31e901ae618f0e80f4308fb00de1d2d" checksum = "1676f435fc1dadde4d03e43f5d62b259e1ce5f40bd4ffb21db2b42ebe59c1382"
[[package]] [[package]]
name = "field-offset" name = "field-offset"
@ -1670,9 +1670,9 @@ checksum = "38d84fa142264698cdce1a9f9172cf383a0c82de1bddcf3092901442c4097004"
[[package]] [[package]]
name = "futures-timer" name = "futures-timer"
version = "3.0.2" version = "3.0.3"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e64b03909df88034c26dc1547e8970b91f98bdb65165d6a4e9110d94263dbb2c" checksum = "f288b0a4f20f9a56b5d1da57e2227c661b7b16168e2f72365f57b63326e29b24"
[[package]] [[package]]
name = "futures-util" name = "futures-util"
@ -1740,7 +1740,7 @@ dependencies = [
"glib-sys", "glib-sys",
"gobject-sys", "gobject-sys",
"libc", "libc",
"system-deps 6.1.1", "system-deps 6.2.0",
] ]
[[package]] [[package]]
@ -1757,7 +1757,7 @@ dependencies = [
"libc", "libc",
"pango-sys", "pango-sys",
"pkg-config", "pkg-config",
"system-deps 6.1.1", "system-deps 6.2.0",
] ]
[[package]] [[package]]
@ -1771,7 +1771,7 @@ dependencies = [
"gobject-sys", "gobject-sys",
"libc", "libc",
"pkg-config", "pkg-config",
"system-deps 6.1.1", "system-deps 6.2.0",
] ]
[[package]] [[package]]
@ -1783,7 +1783,7 @@ dependencies = [
"gdk-sys", "gdk-sys",
"glib-sys", "glib-sys",
"libc", "libc",
"system-deps 6.1.1", "system-deps 6.2.0",
"x11", "x11",
] ]
@ -1875,7 +1875,7 @@ dependencies = [
"glib-sys", "glib-sys",
"gobject-sys", "gobject-sys",
"libc", "libc",
"system-deps 6.1.1", "system-deps 6.2.0",
"winapi 0.3.9", "winapi 0.3.9",
] ]
@ -1963,47 +1963,25 @@ dependencies = [
"async-trait", "async-trait",
"backoff", "backoff",
"backtrace", "backtrace",
"bstr 1.9.1",
"byteorder",
"chrono", "chrono",
"console-subscriber", "console-subscriber",
"diffy",
"filetime",
"fslock",
"futures", "futures",
"git2", "git2",
"git2-hooks",
"gitbutler", "gitbutler",
"gitbutler-git",
"governor", "governor",
"itertools 0.12.1", "itertools 0.12.1",
"lazy_static",
"log", "log",
"md5",
"nonzero_ext", "nonzero_ext",
"notify", "notify",
"notify-debouncer-full", "notify-debouncer-full",
"num_cpus",
"once_cell", "once_cell",
"pretty_assertions", "pretty_assertions",
"r2d2",
"r2d2_sqlite",
"rand 0.8.5",
"refinery",
"regex",
"reqwest 0.12.2", "reqwest 0.12.2",
"resolve-path",
"rusqlite",
"sentry", "sentry",
"sentry-tracing", "sentry-tracing",
"serde", "serde",
"serde_json", "serde_json",
"sha1",
"sha2",
"similar",
"slug", "slug",
"ssh-key",
"ssh2",
"tauri", "tauri",
"tauri-build", "tauri-build",
"tauri-plugin-context-menu", "tauri-plugin-context-menu",
@ -2015,15 +1993,9 @@ dependencies = [
"thiserror", "thiserror",
"tokio", "tokio",
"tokio-util", "tokio-util",
"toml 0.8.12",
"tracing", "tracing",
"tracing-appender", "tracing-appender",
"tracing-subscriber", "tracing-subscriber",
"url",
"urlencoding",
"uuid",
"walkdir",
"zip",
] ]
[[package]] [[package]]
@ -2091,7 +2063,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ef4b192f8e65e9cf76cbf4ea71fa8e3be4a0e18ffe3d68b8da6836974cc5bad4" checksum = "ef4b192f8e65e9cf76cbf4ea71fa8e3be4a0e18ffe3d68b8da6836974cc5bad4"
dependencies = [ dependencies = [
"libc", "libc",
"system-deps 6.1.1", "system-deps 6.2.0",
] ]
[[package]] [[package]]
@ -2121,7 +2093,7 @@ checksum = "0d57ce44246becd17153bd035ab4d32cfee096a657fc01f2231c9278378d1e0a"
dependencies = [ dependencies = [
"glib-sys", "glib-sys",
"libc", "libc",
"system-deps 6.1.1", "system-deps 6.2.0",
] ]
[[package]] [[package]]
@ -2193,7 +2165,7 @@ dependencies = [
"gobject-sys", "gobject-sys",
"libc", "libc",
"pango-sys", "pango-sys",
"system-deps 6.1.1", "system-deps 6.2.0",
] ]
[[package]] [[package]]
@ -2287,11 +2259,11 @@ dependencies = [
[[package]] [[package]]
name = "hdrhistogram" name = "hdrhistogram"
version = "7.5.2" version = "7.5.4"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7f19b9f54f7c7f55e31401bb647626ce0cf0f67b0004982ce815b3ee72a02aa8" checksum = "765c9198f173dd59ce26ff9f95ef0aafd0a0fe01fb9d72841bc5066a4c06511d"
dependencies = [ dependencies = [
"base64 0.13.1", "base64 0.21.3",
"byteorder", "byteorder",
"flate2", "flate2",
"nom", "nom",
@ -3055,9 +3027,9 @@ checksum = "2532096657941c2fea9c289d370a250971c689d4f143798ff67113ec042024a5"
[[package]] [[package]]
name = "matchit" name = "matchit"
version = "0.7.2" version = "0.7.3"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ed1202b2a6f884ae56f04cff409ab315c5ce26b5e58d7412e484f01fd52f52ef" checksum = "0e7465ac9959cc2b1404e8e2367b43684a6d13790fe23056cc8c6c5a6b7bcb94"
[[package]] [[package]]
name = "md5" name = "md5"
@ -3445,9 +3417,9 @@ dependencies = [
[[package]] [[package]]
name = "openssl" name = "openssl"
version = "0.10.64" version = "0.10.62"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "95a0481286a310808298130d22dd1fef0fa571e05a8f44ec801801e84b216b1f" checksum = "8cde4d2d9200ad5909f8dac647e29482e07c3a35de8a13fce7c9c7747ad9f671"
dependencies = [ dependencies = [
"bitflags 2.4.0", "bitflags 2.4.0",
"cfg-if", "cfg-if",
@ -3590,7 +3562,7 @@ dependencies = [
"glib-sys", "glib-sys",
"gobject-sys", "gobject-sys",
"libc", "libc",
"system-deps 6.1.1", "system-deps 6.2.0",
] ]
[[package]] [[package]]
@ -4047,9 +4019,9 @@ dependencies = [
[[package]] [[package]]
name = "prost" name = "prost"
version = "0.12.1" version = "0.12.3"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f4fdd22f3b9c31b53c060df4a0613a1c7f062d4115a2b984dd15b1858f7e340d" checksum = "146c289cda302b98a28d40c8b3b90498d6e526dd24ac2ecea73e4e491685b94a"
dependencies = [ dependencies = [
"bytes", "bytes",
"prost-derive", "prost-derive",
@ -4057,9 +4029,9 @@ dependencies = [
[[package]] [[package]]
name = "prost-derive" name = "prost-derive"
version = "0.12.1" version = "0.12.3"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "265baba7fabd416cf5078179f7d2cbeca4ce7a9041111900675ea7c4cb8a4c32" checksum = "efb6c9a1dd1def8e2124d17e83a20af56f1570d6c2d2bd9e266ccb768df3840e"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"itertools 0.11.0", "itertools 0.11.0",
@ -4070,9 +4042,9 @@ dependencies = [
[[package]] [[package]]
name = "prost-types" name = "prost-types"
version = "0.12.1" version = "0.12.3"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e081b29f63d83a4bc75cfc9f3fe424f9156cf92d8a4f0c9407cce9a1b67327cf" checksum = "193898f59edcf43c26227dcd4c8427f00d99d61e95dcde58dabd49fa291d470e"
dependencies = [ dependencies = [
"prost", "prost",
] ]
@ -5476,14 +5448,14 @@ dependencies = [
[[package]] [[package]]
name = "system-deps" name = "system-deps"
version = "6.1.1" version = "6.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "30c2de8a4d8f4b823d634affc9cd2a74ec98c53a756f317e529a48046cbf71f3" checksum = "2a2d580ff6a20c55dfb86be5f9c238f67835d0e81cbdea8bf5680e0897320331"
dependencies = [ dependencies = [
"cfg-expr 0.15.4", "cfg-expr 0.15.7",
"heck 0.4.1", "heck 0.4.1",
"pkg-config", "pkg-config",
"toml 0.7.6", "toml 0.8.12",
"version-compare 0.1.1", "version-compare 0.1.1",
] ]
@ -6005,9 +5977,9 @@ dependencies = [
[[package]] [[package]]
name = "tokio-stream" name = "tokio-stream"
version = "0.1.14" version = "0.1.15"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "397c988d37662c7dda6d2208364a706264bf3d6138b11d436cbac0ad38832842" checksum = "267ac89e0bec6e691e5813911606935d77c476ff49024f98abcea3e7b15e37af"
dependencies = [ dependencies = [
"futures-core", "futures-core",
"pin-project-lite", "pin-project-lite",
@ -6587,7 +6559,7 @@ dependencies = [
"pango-sys", "pango-sys",
"pkg-config", "pkg-config",
"soup2-sys", "soup2-sys",
"system-deps 6.1.1", "system-deps 6.2.0",
] ]
[[package]] [[package]]

View File

@ -18,52 +18,31 @@ test = false
tauri-build = { version = "1.5", features = [] } tauri-build = { version = "1.5", features = [] }
[dev-dependencies] [dev-dependencies]
once_cell = "1.19" #once_cell = "1.19"
pretty_assertions = "1.4" pretty_assertions = "1.4"
tempfile = "3.10"
[dependencies] [dependencies]
toml = "0.8.12"
anyhow = "1.0.81" anyhow = "1.0.81"
async-trait = "0.1.79" async-trait = "0.1.79"
backoff = "0.4.0" backoff = "0.4.0"
backtrace = { version = "0.3.71", optional = true } backtrace = { version = "0.3.71", optional = true }
bstr = "1.9.1"
byteorder = "1.5.0"
chrono = { version = "0.4.37", features = ["serde"] } chrono = { version = "0.4.37", features = ["serde"] }
console-subscriber = "0.2.0" console-subscriber = "0.2.0"
diffy = "0.3.0"
filetime = "0.2.23"
fslock = "0.2.1"
futures = "0.3" futures = "0.3"
git2.workspace = true git2.workspace = true
git2-hooks = "0.3"
governor = "0.6.3" governor = "0.6.3"
itertools = "0.12" itertools = "0.12"
lazy_static = "1.4.0"
md5 = "0.7.0"
nonzero_ext = "0.3.0" nonzero_ext = "0.3.0"
notify = { version = "6.0.1" } notify = { version = "6.0.1" }
notify-debouncer-full = "0.3.1" notify-debouncer-full = "0.3.1"
num_cpus = "1.16.0"
once_cell = "1.19" once_cell = "1.19"
r2d2 = "0.8.10"
r2d2_sqlite = "0.22.0"
rand = "0.8.5"
refinery = { version = "0.8", features = [ "rusqlite" ] }
regex = "1.10"
reqwest = { version = "0.12.2", features = ["json"] } reqwest = { version = "0.12.2", features = ["json"] }
resolve-path = "0.1.0"
rusqlite.workspace = true
sentry = { version = "0.32", optional = true, features = ["backtrace", "contexts", "panic", "transport", "anyhow", "debug-images", "reqwest", "native-tls" ] } sentry = { version = "0.32", optional = true, features = ["backtrace", "contexts", "panic", "transport", "anyhow", "debug-images", "reqwest", "native-tls" ] }
sentry-tracing = "0.32.0" sentry-tracing = "0.32.0"
serde.workspace = true serde.workspace = true
serde_json = { version = "1.0", features = [ "std", "arbitrary_precision" ] } serde_json = { version = "1.0", features = [ "std", "arbitrary_precision" ] }
sha1 = "0.10.6"
sha2 = "0.10.8"
similar = { version = "2.4.0", features = ["unicode"] }
slug = "0.1.5" slug = "0.1.5"
ssh-key = { version = "0.6.5", features = [ "alloc", "ed25519" ] }
ssh2 = { version = "0.9.4", features = ["vendored-openssl"] }
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"] } 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"] }
tauri-plugin-context-menu = { git = "https://github.com/c2r0b/tauri-plugin-context-menu", branch = "main" } tauri-plugin-context-menu = { git = "https://github.com/c2r0b/tauri-plugin-context-menu", branch = "main" }
tauri-plugin-single-instance = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v1" } tauri-plugin-single-instance = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v1" }
@ -77,13 +56,6 @@ tokio-util = "0.7.10"
tracing = "0.1.40" tracing = "0.1.40"
tracing-appender = "0.2.3" tracing-appender = "0.2.3"
tracing-subscriber = "0.3.17" tracing-subscriber = "0.3.17"
url = "2.5"
urlencoding = "2.1.3"
uuid.workspace = true
walkdir = "2.5.0"
zip = "0.6.5"
tempfile = "3.10"
gitbutler-git = { path = "../gitbutler-git" }
gitbutler = { path = "../" } gitbutler = { path = "../" }
[lints.clippy] [lints.clippy]