Skip to content

Commit

Permalink
fix: fix tests in debug mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Rexagon committed Apr 10, 2024
1 parent 02a5431 commit 0e43c70
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 4 deletions.
10 changes: 10 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

25 changes: 22 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,6 @@ tycho-network = { path = "./network" }
tycho-storage = { path = "./storage" }
tycho-util = { path = "./util" }

[profile.release]
debug = true

[patch.crates-io]
# NOTE: use crates.io dependency when it is released
# https://github.com/sagebind/castaway/issues/18
Expand Down Expand Up @@ -175,3 +172,25 @@ unused_self = "warn"
useless_transmute = "warn"
verbose_file_reads = "warn"
zero_sized_map_values = "warn"

[profile.release]
debug = true

[profile.dev.package.hex]
opt-level = 3
[profile.dev.package.base64]
opt-level = 3
[profile.dev.package.rand]
opt-level = 3
[profile.dev.package.sha2]
opt-level = 3
[profile.dev.package.everscale-crypto]
opt-level = 3
[profile.dev.package.curve25519-dalek]
opt-level = 3
[profile.dev.package.ed25519]
opt-level = 3
[profile.dev.package.hashbrown]
opt-level = 3
[profile.dev.package."*"]
opt-level = 1
2 changes: 1 addition & 1 deletion collator/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ async-trait = { workspace = true }
futures-util = { workspace = true }
rand = { workspace = true }
tl-proto = { workspace = true }
tokio = { workspace = true }
tokio = { workspace = true, features = ["macros", "rt", "signal"] }
tracing = { workspace = true }
tracing-subscriber = { workspace = true }

Expand Down

0 comments on commit 0e43c70

Please sign in to comment.