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:
1 parent
5075c97faa
commit
ade661d5b8
4 files changed
+219
-110
No files matched your search
+10
-1
@@ -4,7 +4,15 @@ version = "0.1.0-dev"
|
||||
description = "Empowering everyone to host fast and efficient Minecraft servers."
|
||||
edition = "2021"
|
||||
|
||||
[features]
|
||||
default = []
|
||||
dhat-heap = ["dhat"]
|
||||
|
||||
[dependencies]
|
||||
# memory analysis
|
||||
dhat = { version = "0.3.3", optional = true }
|
||||
|
||||
# pumpkin
|
||||
pumpkin-text = { path = "../pumpkin-text" }
|
||||
pumpkin-inventory = { path = "../pumpkin-inventory"}
|
||||
pumpkin-world = { path = "../pumpkin-world"}
|
||||
@@ -51,4 +59,5 @@ crossbeam-channel = "0.5.13"
|
||||
|
||||
uuid = { version = "1.10", features = ["serde", "v3"]}
|
||||
|
||||
tokio.workspace = true
|
||||
tokio.workspace = true
|
||||
rayon.workspace = true
|
||||
Reference in new issue
Block a user