-
Notifications
You must be signed in to change notification settings - Fork 59
/
Cargo.toml
142 lines (113 loc) · 2.84 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
[package]
name = "rpds"
description = "Persistent data structures with structural sharing"
version = "1.1.1-pre"
authors = ["Diogo Sousa <[email protected]>"]
edition = "2021"
rust-version = "1.76.0"
homepage = "https://github.com/orium/rpds"
repository = "https://github.com/orium/rpds"
documentation = "https://docs.rs/rpds"
readme = "README.md"
keywords = ["data-structure", "data-structures", "persistent", "immutable", "no_std"]
categories = ["data-structures"]
license = "MPL-2.0"
# What to include when packaging.
include = [
"/src/**/*.rs",
"/benches/**/*.rs",
"/Cargo.toml",
"/LICENSE.md",
"/README.md",
"/release-notes.md",
]
[badges]
codecov = { repository = "orium/rpds", branch = "main", service = "github" }
[dependencies]
archery = { version = "1.1.0", features = ["triomphe"] }
serde = { version = "1.0.149", optional = true, default-features = false }
[dev-dependencies]
criterion = "0.5.1"
rand = "0.8.5"
# Needed to test serde:
bincode = "1.3.3"
pretty_assertions = "1.3.0"
static_assertions = "1.1.0"
[features]
default = ["std"]
fatal-warnings = []
std = []
[lints.clippy]
all = { level = "warn", priority = -2 }
correctness = { level = "deny", priority = -1 }
pedantic = { level = "warn", priority = -2 }
enum-glob-use = "allow"
if-not-else = "allow"
match-bool = "allow"
match-same-arms = "allow"
missing-panics-doc = "allow"
module-name-repetitions = "allow"
multiple-bound-locations = "allow"
similar-names = "allow"
single-match-else = "allow"
struct-field-names = "allow"
type-complexity = "allow"
type-repetition-in-bounds = "allow"
unnested-or-patterns = "allow"
use-self = "allow"
wildcard-imports = "allow"
[lints.rustdoc]
# TODO This is only needed because `cargo-rdme` requires a path like `crate::⋯`. Once that limitation is lifted we
# can remove this.
redundant-explicit-links = "allow"
[package.metadata.docs.rs]
features = ["serde"]
[lib]
# Disable libtest to make sure criterion can parse the command line flags.
# See https://bheisler.github.io/criterion.rs/book/faq.html and https://github.com/rust-lang/rust/issues/47241.
bench = false
[[bench]]
name = "std_linked_list"
harness = false
[[bench]]
name = "rpds_list"
harness = false
[[bench]]
name = "rpds_list_sync"
harness = false
[[bench]]
name = "std_vec"
harness = false
[[bench]]
name = "rpds_queue"
harness = false
[[bench]]
name = "rpds_queue_sync"
harness = false
[[bench]]
name = "std_vec_deque"
harness = false
[[bench]]
name = "rpds_vector"
harness = false
[[bench]]
name = "rpds_vector_sync"
harness = false
[[bench]]
name = "std_hash_map"
harness = false
[[bench]]
name = "rpds_hash_trie_map"
harness = false
[[bench]]
name = "rpds_hash_trie_map_sync"
harness = false
[[bench]]
name = "std_btree_map"
harness = false
[[bench]]
name = "rpds_red_black_tree_map"
harness = false
[[bench]]
name = "rpds_red_black_tree_map_sync"
harness = false