Repository navigation
Expand file tree
/
Copy pathCargo.toml
More file actions
57 lines (46 loc) · 1.62 KB
/
Copy pathCargo.toml
File metadata and controls
57 lines (46 loc) · 1.62 KB
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
48
49
50
51
52
53
54
55
56
57
# SPDX-FileCopyrightText: 2025 multi_bimap contributors
#
# SPDX-License-Identifier: MIT OR Apache-2.0
[package]
name = "multi_bimap"
version = "0.9.0"
authors = ["Mikolaj Wielgus <wielgusmikolaj@gmail.com>"]
description = "Many-to-many bidirectional map in Rust."
repository = "https://github.com/mikwielgus/multi_bimap"
documentation = "https://docs.rs/multi_bimap"
readme = "README.md"
license = "MIT OR Apache-2.0"
keywords = ["bidirectional", "bijection", "container", "two-way", "map"]
categories = ["algorithms", "data-structures", "no-std"]
edition = "2024"
rust-version = "1.92"
[badges]
maintenance = { status = "actively-developed" }
[features]
default = ["std"]
## Enables `serde` support (derives `Serialize` and `Deserialize` traits).
serde = ["dep:serde"]
## Disable for `no_std` compatibility.
std = ["maplike/std"]
## Enables `undoredo` support.
undoredo = ["dep:undoredo"]
[dependencies]
document-features = { version = "0.2", optional = true }
maplike = { version = "0.17", default-features = false, features = ["alloc"] }
serde = { version = "1.0", optional = true, default-features = false, features = ["derive", "alloc"] }
undoredo = { version = "0.16", features = ["derive"], optional = true }
[package.metadata.docs.rs]
cargo-args = ["--all-features", "-Zunstable-options", "-Zrustdoc-scrape-examples"]
rustdoc-args = ["--cfg", "docsrs"]
[[example]]
name = "authors_and_papers"
required-features = ["std"]
doc-scrape-examples = true
[[example]]
name = "countries_and_capitals"
required-features = ["std"]
doc-scrape-examples = true
[[example]]
name = "polish_scientists"
required-features = ["std"]
doc-scrape-examples = true