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