2023-10-03 20:42:53 +00:00
|
|
|
[workspace]
|
|
|
|
members = [
|
|
|
|
"gossip-lib",
|
|
|
|
"gossip-bin",
|
|
|
|
]
|
|
|
|
resolver = "2"
|
2023-08-10 18:38:02 +00:00
|
|
|
|
2023-01-20 04:58:31 +00:00
|
|
|
# Force scrypt to build with release-like speed even in dev mode
|
2024-03-30 09:01:47 +00:00
|
|
|
[profile.dev.package.scrypt]
|
2023-01-20 04:58:31 +00:00
|
|
|
opt-level = 3
|
|
|
|
debug-assertions = false
|
|
|
|
overflow-checks = false
|
2023-01-20 16:14:22 +00:00
|
|
|
|
2023-10-03 20:42:53 +00:00
|
|
|
[patch.crates-io]
|
|
|
|
# override egui crate for egui_video dependency
|
2024-03-08 20:08:17 +00:00
|
|
|
egui = { git = "https://github.com/bu5hm4nn/egui", rev = "63dde4c9b311da0cae0cb9f9465bf7273227be6c" }
|
2023-10-03 20:42:53 +00:00
|
|
|
# Use the master branch of SDL2 to include a fix related to clang (and XCode after 14.2)
|
2024-02-04 20:29:37 +00:00
|
|
|
sdl2 = { git = "https://github.com/Rust-SDL2/rust-sdl2", rev = "f2f1e29a416bcc22f2faf411866db2c8d9536308" }
|
2024-03-07 23:33:39 +00:00
|
|
|
|
2024-03-30 09:01:47 +00:00
|
|
|
# When compiling gossip crates themselves (in 'dev' mode), optimize a little bit
|
|
|
|
# (for fast compiles of our changes)
|
2024-03-07 23:33:39 +00:00
|
|
|
[profile.dev]
|
2024-03-30 09:01:47 +00:00
|
|
|
opt-level = 1
|
|
|
|
debug = true
|
|
|
|
debug-assertions = true
|
|
|
|
overflow-checks = true
|
|
|
|
incremental = true
|
|
|
|
codegen-units = 256
|
|
|
|
|
|
|
|
# But when compiling dependencies, even in dev mode, optimize fully
|
|
|
|
# (these rarely recompile during development, so we still get fast compiles)
|
|
|
|
[profile.dev.package."*"]
|
2024-03-07 23:33:39 +00:00
|
|
|
opt-level = 3
|
|
|
|
debug = false
|
|
|
|
debug-assertions = false
|
|
|
|
overflow-checks = false
|
|
|
|
incremental = false
|
|
|
|
codegen-units = 16
|