Skip to content

Commit

Permalink
Merge branch 'rpc-memory-benchmark' into address-tracker-subscriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
tiram88 committed Jan 16, 2024
2 parents 3362171 + edbfd83 commit 59307d1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
3 changes: 0 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,6 @@ include = [
]

[workspace.dependencies]
mimalloc = { version = "0.1.39", default-features = false, features = [
'override',
] }
# kaspa-testing-integration = { version = "0.13.3", path = "testing/integration" }
kaspa-addresses = { version = "0.13.3", path = "crypto/addresses" }
kaspa-addressmanager = { version = "0.13.3", path = "components/addressmanager" }
Expand Down
10 changes: 8 additions & 2 deletions utils/alloc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,14 @@ license.workspace = true
edition.workspace = true
include.workspace = true

[dependencies]
mimalloc.workspace = true
[target.'cfg(not(target_os = "macos"))'.dependencies]
mimalloc = { version = "0.1.39", default-features = false, features = [
'override',
] }

[target.'cfg(target_os = "macos")'.dependencies]
# override is unstable in MacOS and is thus excluded
mimalloc = { version = "0.1.39", default-features = false }

[features]
heap = []

0 comments on commit 59307d1

Please sign in to comment.