2023-09-06 11:46:07 +03:00
|
|
|
[workspace]
|
|
|
|
members = [
|
2024-04-04 12:56:56 +03:00
|
|
|
"crates/gitbutler-tauri",
|
|
|
|
"crates/gitbutler-git",
|
2024-04-17 20:11:24 +03:00
|
|
|
"crates/gitbutler-watcher",
|
2024-06-02 16:14:47 +03:00
|
|
|
"crates/gitbutler-watcher/vendor/debouncer",
|
2024-04-06 11:03:07 +03:00
|
|
|
"crates/gitbutler-testsupport",
|
2024-07-09 17:43:58 +03:00
|
|
|
"crates/gitbutler-cli",
|
2024-07-10 15:49:48 +03:00
|
|
|
"crates/gitbutler-branch-actions",
|
2024-07-07 20:22:41 +03:00
|
|
|
"crates/gitbutler-sync",
|
2024-07-09 17:43:58 +03:00
|
|
|
"crates/gitbutler-oplog",
|
2024-07-08 01:27:17 +03:00
|
|
|
"crates/gitbutler-repo",
|
2024-07-09 17:43:58 +03:00
|
|
|
"crates/gitbutler-command-context",
|
|
|
|
"crates/gitbutler-feedback",
|
2024-07-08 15:49:45 +03:00
|
|
|
"crates/gitbutler-config",
|
2024-07-08 16:33:26 +03:00
|
|
|
"crates/gitbutler-project",
|
2024-07-09 17:43:58 +03:00
|
|
|
"crates/gitbutler-user",
|
2024-07-09 01:10:55 +03:00
|
|
|
"crates/gitbutler-branch",
|
2024-07-09 02:14:28 +03:00
|
|
|
"crates/gitbutler-reference",
|
2024-07-09 12:13:39 +03:00
|
|
|
"crates/gitbutler-error",
|
2024-07-09 17:43:58 +03:00
|
|
|
"crates/gitbutler-serde",
|
|
|
|
"crates/gitbutler-secret",
|
|
|
|
"crates/gitbutler-id",
|
|
|
|
"crates/gitbutler-storage",
|
2024-07-09 13:54:08 +03:00
|
|
|
"crates/gitbutler-fs",
|
2024-07-09 17:43:58 +03:00
|
|
|
"crates/gitbutler-time",
|
|
|
|
"crates/gitbutler-commit",
|
|
|
|
"crates/gitbutler-tagged-string",
|
2024-07-29 14:19:38 +03:00
|
|
|
"crates/gitbutler-url",
|
2024-07-17 21:16:48 +03:00
|
|
|
"crates/gitbutler-diff",
|
2024-07-29 14:19:38 +03:00
|
|
|
"crates/gitbutler-operating-modes",
|
2024-08-19 12:03:51 +03:00
|
|
|
"crates/gitbutler-edit-mode",
|
2024-08-26 20:23:15 +03:00
|
|
|
"crates/gitbutler-cherry-pick",
|
2024-09-24 16:38:13 +03:00
|
|
|
"crates/gitbutler-oxidize",
|
2024-09-29 20:26:39 +03:00
|
|
|
"crates/gitbutler-stack",
|
2024-09-28 13:34:29 +03:00
|
|
|
"crates/gitbutler-patch-reference",
|
2023-09-06 11:46:07 +03:00
|
|
|
]
|
2023-10-13 11:52:44 +03:00
|
|
|
resolver = "2"
|
2023-09-06 11:46:07 +03:00
|
|
|
|
2023-12-28 16:53:29 +03:00
|
|
|
[workspace.dependencies]
|
2024-08-09 11:37:23 +03:00
|
|
|
bstr = "1.10.0"
|
2024-06-25 22:42:04 +03:00
|
|
|
# Add the `tracing` or `tracing-detail` features to see more of gitoxide in the logs. Useful to see which programs it invokes.
|
2024-09-24 18:01:38 +03:00
|
|
|
gix = { git = "https://github.com/Byron/gitoxide", rev = "72daa46bad9d397ef2cc48a3cffda23f414ccd8a", default-features = false, features = [
|
|
|
|
] }
|
|
|
|
git2 = { version = "0.19.0", features = [
|
2024-07-09 17:43:58 +03:00
|
|
|
"vendored-openssl",
|
|
|
|
"vendored-libgit2",
|
|
|
|
] }
|
2024-03-29 12:04:26 +03:00
|
|
|
uuid = { version = "1.8.0", features = ["serde"] }
|
2023-12-28 16:53:29 +03:00
|
|
|
serde = { version = "1.0", features = ["derive"] }
|
2024-10-03 01:37:53 +03:00
|
|
|
thiserror = "1.0.64"
|
2024-09-01 18:57:33 +03:00
|
|
|
tokio = { version = "1.40.0", default-features = false }
|
2024-06-24 18:18:33 +03:00
|
|
|
keyring = "2.3.3"
|
2024-07-09 17:43:58 +03:00
|
|
|
anyhow = "1.0.86"
|
2024-07-14 22:51:28 +03:00
|
|
|
parking_lot = "0.12.3"
|
2024-07-27 20:15:02 +03:00
|
|
|
futures = "0.3.30"
|
2024-08-07 16:17:58 +03:00
|
|
|
toml = "0.8.13"
|
2024-08-11 15:55:00 +03:00
|
|
|
tracing = "0.1.40"
|
|
|
|
tracing-subscriber = "0.3.17"
|
2023-12-28 16:53:29 +03:00
|
|
|
|
2024-07-09 17:43:58 +03:00
|
|
|
gitbutler-id = { path = "crates/gitbutler-id" }
|
2024-04-04 12:56:56 +03:00
|
|
|
gitbutler-git = { path = "crates/gitbutler-git" }
|
2024-04-17 22:46:40 +03:00
|
|
|
gitbutler-watcher = { path = "crates/gitbutler-watcher" }
|
2024-04-10 14:06:49 +03:00
|
|
|
gitbutler-testsupport = { path = "crates/gitbutler-testsupport" }
|
2024-07-09 17:43:58 +03:00
|
|
|
gitbutler-cli = { path = "crates/gitbutler-cli" }
|
2024-07-10 15:49:48 +03:00
|
|
|
gitbutler-branch-actions = { path = "crates/gitbutler-branch-actions" }
|
2024-07-07 20:22:41 +03:00
|
|
|
gitbutler-sync = { path = "crates/gitbutler-sync" }
|
2024-07-07 21:00:01 +03:00
|
|
|
gitbutler-oplog = { path = "crates/gitbutler-oplog" }
|
2024-07-08 01:27:17 +03:00
|
|
|
gitbutler-repo = { path = "crates/gitbutler-repo" }
|
2024-07-08 14:23:03 +03:00
|
|
|
gitbutler-command-context = { path = "crates/gitbutler-command-context" }
|
2024-07-08 14:52:22 +03:00
|
|
|
gitbutler-feedback = { path = "crates/gitbutler-feedback" }
|
2024-07-08 15:49:45 +03:00
|
|
|
gitbutler-config = { path = "crates/gitbutler-config" }
|
2024-07-08 16:33:26 +03:00
|
|
|
gitbutler-project = { path = "crates/gitbutler-project" }
|
2024-07-08 19:58:29 +03:00
|
|
|
gitbutler-user = { path = "crates/gitbutler-user" }
|
2024-07-09 01:10:55 +03:00
|
|
|
gitbutler-branch = { path = "crates/gitbutler-branch" }
|
2024-07-09 02:14:28 +03:00
|
|
|
gitbutler-reference = { path = "crates/gitbutler-reference" }
|
2024-07-09 12:13:39 +03:00
|
|
|
gitbutler-error = { path = "crates/gitbutler-error" }
|
2024-07-09 12:49:12 +03:00
|
|
|
gitbutler-serde = { path = "crates/gitbutler-serde" }
|
2024-07-09 13:11:12 +03:00
|
|
|
gitbutler-secret = { path = "crates/gitbutler-secret" }
|
2024-07-09 13:54:08 +03:00
|
|
|
gitbutler-storage = { path = "crates/gitbutler-storage" }
|
|
|
|
gitbutler-fs = { path = "crates/gitbutler-fs" }
|
2024-07-09 14:08:12 +03:00
|
|
|
gitbutler-time = { path = "crates/gitbutler-time" }
|
2024-07-09 14:19:49 +03:00
|
|
|
gitbutler-commit = { path = "crates/gitbutler-commit" }
|
2024-07-09 15:57:43 +03:00
|
|
|
gitbutler-tagged-string = { path = "crates/gitbutler-tagged-string" }
|
2024-07-09 16:29:24 +03:00
|
|
|
gitbutler-url = { path = "crates/gitbutler-url" }
|
2024-07-17 21:16:48 +03:00
|
|
|
gitbutler-diff = { path = "crates/gitbutler-diff" }
|
2024-07-29 14:19:38 +03:00
|
|
|
gitbutler-operating-modes = { path = "crates/gitbutler-operating-modes" }
|
2024-08-19 12:03:51 +03:00
|
|
|
gitbutler-edit-mode = { path = "crates/gitbutler-edit-mode" }
|
2024-08-26 20:23:15 +03:00
|
|
|
gitbutler-cherry-pick = { path = "crates/gitbutler-cherry-pick" }
|
2024-09-24 16:38:13 +03:00
|
|
|
gitbutler-oxidize = { path = "crates/gitbutler-oxidize" }
|
2024-09-29 20:26:39 +03:00
|
|
|
gitbutler-stack = { path = "crates/gitbutler-stack" }
|
2024-09-28 13:34:29 +03:00
|
|
|
gitbutler-patch-reference = { path = "crates/gitbutler-patch-reference" }
|
2024-04-04 12:56:56 +03:00
|
|
|
|
2023-09-06 11:46:07 +03:00
|
|
|
[profile.release]
|
|
|
|
codegen-units = 1 # Compile crates one after another so the compiler can optimize better
|
|
|
|
lto = true # Enables link to optimizations
|
|
|
|
opt-level = "s" # Optimize for binary size
|
2024-04-29 16:54:13 +03:00
|
|
|
debug = true # Enable debug symbols, for profiling
|
2024-08-28 09:36:53 +03:00
|
|
|
|
|
|
|
[profile.bench]
|
|
|
|
codegen-units = 256
|
|
|
|
lto = false
|
2024-09-24 18:01:38 +03:00
|
|
|
opt-level = 3
|