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-07 23:33:39 +00:00
|
|
|
[profile.devel.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-02-12 18:15:17 +00:00
|
|
|
egui = { git = "https://github.com/bu5hm4nn/egui", rev = "f954e98816d4fb760de31eeec4afcd15ae39a687" }
|
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
|
|
|
|
|
|
|
[profile.dev]
|
|
|
|
opt-level = 3
|
|
|
|
debug = false
|
|
|
|
debug-assertions = false
|
|
|
|
overflow-checks = false
|
|
|
|
incremental = false
|
|
|
|
codegen-units = 16
|
|
|
|
|
|
|
|
[profile.devel]
|
|
|
|
inherits = "dev"
|
|
|
|
opt-level = 0
|
|
|
|
debug = true
|
|
|
|
debug-assertions = true
|
|
|
|
overflow-checks = true
|
|
|
|
incremental = true
|
|
|
|
codegen-units = 256
|