2023-09-06 11:46:07 +03:00
|
|
|
[workspace]
|
|
|
|
members = [
|
2024-03-31 00:29:45 +03:00
|
|
|
"crates/gitbutler-core",
|
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-04-06 11:03:07 +03:00
|
|
|
"crates/gitbutler-testsupport",
|
2024-05-04 12:29:14 +03:00
|
|
|
"crates/gitbutler-cli",
|
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-05-23 10:40:05 +03:00
|
|
|
gix = { version = "0.63.0", default-features = false, features = [] } # add performance features here as needed
|
2024-03-27 21:57:36 +03:00
|
|
|
git2 = { version = "0.18.3", features = ["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-06-01 18:38:43 +03:00
|
|
|
thiserror = "1.0.61"
|
2023-12-28 16:53:29 +03:00
|
|
|
rusqlite = { version = "0.29.0", features = [ "bundled", "blob" ] }
|
2024-06-01 18:38:43 +03:00
|
|
|
tokio = { version = "1.38.0", default-features = false }
|
2023-12-28 16:53:29 +03:00
|
|
|
|
2024-04-04 12:56:56 +03:00
|
|
|
gitbutler-git = { path = "crates/gitbutler-git" }
|
|
|
|
gitbutler-core = { path = "crates/gitbutler-core" }
|
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-05-04 12:29:14 +03:00
|
|
|
gitbutler-cli ={ path = "crates/gitbutler-cli" }
|
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
|