-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
44 lines (36 loc) · 1.02 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
38
39
40
41
42
43
44
[package]
name = "map-macro"
version = "0.3.0"
authors = ["jofas <jonas@fc-web.de>"]
edition = "2018"
license = "MIT"
readme = "README.md"
description = "Declarative macros for statically initializing collections"
keywords = ["macro", "HashMap", "HashSet", "collections", "Vec"]
homepage = "https://github.com/jofas/map_macro"
repository = "https://github.com/jofas/map_macro"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
default = ["std"]
std = []
hashbrown = []
# feature that allows the docs to link to the hashbrown documentation
__docs = ["dep:hashbrown"]
[dependencies]
hashbrown = { version = "0.14", optional = true }
[dev-dependencies]
hashbrown = "0.14"
criterion = { version = "^0.3.6", features = ["html_reports"] }
[lib]
bench = false
[[test]]
name = "hashbrown"
path = "tests/hashbrown.rs"
test = true
required-features = ["hashbrown"]
[[bench]]
name = "benches"
harness = false
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]