mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-09-11 12:25:42 +03:00
This protects us from cyclic dependencies. Unfortunatelly as part of this, i had to introduce the imp Project as trait implementations since now Project is foreign
40 lines
1.6 KiB
TOML
40 lines
1.6 KiB
TOML
[workspace]
|
|
members = [
|
|
"crates/gitbutler-core",
|
|
"crates/gitbutler-tauri",
|
|
"crates/gitbutler-git",
|
|
"crates/gitbutler-watcher",
|
|
"crates/gitbutler-watcher/vendor/debouncer",
|
|
"crates/gitbutler-testsupport",
|
|
"crates/gitbutler-cli",
|
|
"crates/gitbutler-branch",
|
|
"crates/gitbutler-sync",
|
|
"crates/gitbutler-oplog",
|
|
]
|
|
resolver = "2"
|
|
|
|
[workspace.dependencies]
|
|
# Add the `tracing` or `tracing-detail` features to see more of gitoxide in the logs. Useful to see which programs it invokes.
|
|
gix = { git = "https://github.com/Byron/gitoxide", rev = "55cbc1b9d6f210298a86502a7f20f9736c7e963e", default-features = false, features = [] }
|
|
git2 = { version = "0.18.3", features = ["vendored-openssl", "vendored-libgit2"] }
|
|
uuid = { version = "1.8.0", features = ["serde"] }
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
thiserror = "1.0.61"
|
|
tokio = { version = "1.38.0", default-features = false }
|
|
keyring = "2.3.3"
|
|
|
|
gitbutler-git = { path = "crates/gitbutler-git" }
|
|
gitbutler-core = { path = "crates/gitbutler-core" }
|
|
gitbutler-watcher = { path = "crates/gitbutler-watcher" }
|
|
gitbutler-testsupport = { path = "crates/gitbutler-testsupport" }
|
|
gitbutler-cli ={ path = "crates/gitbutler-cli" }
|
|
gitbutler-branch = { path = "crates/gitbutler-branch" }
|
|
gitbutler-sync = { path = "crates/gitbutler-sync" }
|
|
gitbutler-oplog = { path = "crates/gitbutler-oplog" }
|
|
|
|
[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
|
|
debug = true # Enable debug symbols, for profiling
|