Add dhat and rayon

- Set up dhat, when dhat-heap feature, the dhap memory profiler will run. Due to this tokio needs to be manually built.
- Rayon now explicitly built outside of tokio runtime.
This commit is contained in:
lukas0008 committed 2024-08-13 23:25:11 +02:00
1 parent 5075c97faa
commit ade661d5b8
4 files changed
+219 -110

No files matched your search

+2 -1
View File
@@ -7,9 +7,10 @@ version = "0.1.0"
edition = "2021"
[profile.release]
strip = true
debug = 1
lto = true
codegen-units = 1
[workspace.dependencies]
tokio = { version = "1.39.2", features = ["net", "macros", "rt-multi-thread", "fs", "io-util"] }
rayon = "1.10.0"