forked from yegor256/micromap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
47 lines (41 loc) · 1.2 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
45
46
47
# SPDX-FileCopyrightText: Copyright (c) 2023-2025 Yegor Bugayenko
# SPDX-License-Identifier: MIT
[package]
name = "micromap"
version = "0.0.0"
edition = "2021"
rust-version = "1.79"
repository = "https://github.com/yegor256/micromap"
description = "The fastest alternative to HashMap, for maps smaller than 20 keys"
readme = "README.md"
license = "MIT"
homepage = "https://github.com/yegor256/micromap"
keywords = ["memory", "map"]
categories = ["data-structures", "memory-management"]
[dependencies]
serde = { version = "1.0.200", optional = true, default-features = false }
bincode = { version = "2.0.1", optional = true, default-features = false, features = ["serde"] }
[dev-dependencies]
hashbrown = "0.15.0"
heapless = "0.8.0"
rustc-hash = "2.0.0"
nohash-hasher = "0.2.0"
tinymap = "0.4.0"
linked-hash-map = "0.5.6"
linear-map = "1.2.0"
indexmap = "2.2.6"
litemap = "0.7.0"
flurry = "0.5.2"
criterion = "0.5.1"
[features]
default = []
std = []
serde = ["dep:serde", "dep:bincode"]
# Ref: https://users.rust-lang.org/t/how-to-document-optional-features-in-api-docs/64577/3
[package.metadata.docs.rs]
all-features = true
rust-toolchain = "nightly"
rustdoc-args = ["--cfg", "docsrs"]
[[bench]]
name = "bench"
harness = false