forked from MystenLabs/sui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
31 lines (28 loc) · 958 Bytes
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
[package]
name = "mysten-util-mem"
version = "0.11.0"
authors = ["Parity Technologies <[email protected]>", "Andrew Schran <[email protected]>"]
repository = "https://github.com/mystenlabs/mysten-infra"
description = "Collection of memory related utilities"
license = "MIT OR Apache-2.0"
edition = "2021"
rust-version = "1.56.1"
publish = false
[dependencies]
cfg-if.workspace = true
hashbrown = { workspace = true, optional = true }
mysten-util-mem-derive.workspace = true
impl-trait-for-tuples.workspace = true
fastcrypto = { workspace = true }
fastcrypto-tbls.workspace = true
indexmap.workspace = true
roaring.workspace = true
ed25519-consensus.workspace = true
smallvec = { workspace = true, optional = true }
parking_lot = { workspace = true, optional = true }
once_cell.workspace = true
[features]
default = ["std", "hashbrown", "smallvec", "estimate-heapsize"]
std = ["parking_lot"]
# Full estimate: no call to allocator
estimate-heapsize = []