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-changeset",
|
|
|
|
"crates/gitbutler-git",
|
2024-04-06 11:03:07 +03:00
|
|
|
"crates/gitbutler-testsupport",
|
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-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-03-27 21:57:36 +03:00
|
|
|
thiserror = "1.0.58"
|
2023-12-28 16:53:29 +03:00
|
|
|
rusqlite = { version = "0.29.0", features = [ "bundled", "blob" ] }
|
2024-04-01 18:43:50 +03:00
|
|
|
tokio = { version = "1.37.0" }
|
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-10 14:06:49 +03:00
|
|
|
gitbutler-testsupport = { path = "crates/gitbutler-testsupport" }
|
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
|
2023-09-29 09:56:34 +03:00
|
|
|
debug = true # Enable debug symbols, for sentry
|