1 | [package] |
2 | name = "countme" |
3 | description = "Counts the number of live instances of types" |
4 | version = "3.0.1" |
5 | categories = ["development-tools::profiling" ] |
6 | license = "MIT OR Apache-2.0" |
7 | repository = "https://github.com/matklad/countme" |
8 | authors = ["Aleksey Kladov <aleksey.kladov@gmail.com>" ] |
9 | edition = "2018" |
10 | |
11 | exclude = [".github/" , "bors.toml" , "rustfmt.toml" ] |
12 | |
13 | [workspace] |
14 | members = ["xtask" ] |
15 | |
16 | [[example]] |
17 | name = "print_at_exit" |
18 | required-features = ["print_at_exit" ] |
19 | |
20 | [[example]] |
21 | name = "bench" |
22 | required-features = ["enable" ] |
23 | |
24 | [[example]] |
25 | name = "bench_single_thread" |
26 | required-features = ["enable" ] |
27 | |
28 | [dependencies] |
29 | dashmap = { version = "5.0" , optional = true } |
30 | once_cell = { version = "1.5" , optional = true } |
31 | rustc-hash = { version = "1.1" , optional = true } |
32 | |
33 | [features] |
34 | enable = [ "dashmap" , "once_cell" , "rustc-hash" ] |
35 | print_at_exit = ["enable" ] |
36 | |