forked from Aeledfyr/deepsize
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
37 lines (34 loc) · 1.41 KB
/
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
32
33
34
35
36
37
[package]
name = "deepsize"
version = "0.2.0"
authors = ["Aeledfyr <[email protected]>"]
license = "MIT"
description = "A crate for measuring the total size of object on the stack and heap"
repository = "https://github.com/Aeledfyr/deepsize/"
readme = "README.md"
include = ["Cargo.toml", "src/**/*.rs", "README.md", "LICENSE"]
edition = "2018"
keywords = ["size", "stack", "heap"]
categories = ["development-tools::profiling", "memory-management"]
[dependencies]
deepsize_derive = { path = "deepsize_derive", version = "0.1.2", optional = true }
slotmap = { version = "^0.4", optional = true }
slab = { version = "^0.4", optional = true }
indexmap = { version = "^1", optional = true }
arrayvec = { version = "^0.5", optional = true }
smallvec = { version = "^1", optional = true }
hashbrown = { version = "^0.9", optional = true }
chrono = { version = "^0.4", optional = true }
tokio = { version = "^1.1", optional = true, default-features = false }
actix = { version = "^0.11.0", optional = true, default-features = false }
candid = { git = "https://github.com/dscvr-one/candid.git", rev = "dscvr-2024-04-11-1", optional = true }
serde_bytes = { version = "0.11", optional = true }
[dev-dependencies]
deepsize_derive = { path = "deepsize_derive", version = "0.1.1" }
[features]
default = ["std", "derive"]
derive = ["deepsize_derive"]
std = []
tokio_net = ["tokio", "tokio/net"]
candid = ["dep:candid"]
serde_bytes = ["dep:serde_bytes"]