-
Notifications
You must be signed in to change notification settings - Fork 37
/
Copy pathCargo.toml
70 lines (56 loc) · 1.74 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
[package]
name = "collection_tools"
version = "0.11.0"
edition = "2021"
authors = [
"Kostiantyn Wandalen <[email protected]>",
]
license = "MIT"
readme = "Readme.md"
documentation = "https://docs.rs/collection_tools"
repository = "https://github.com/Wandalen/wTools/tree/master/module/core/collection_tools"
homepage = "https://github.com/Wandalen/wTools/tree/master/module/core/collection_tools"
description = """
Collection of general purpose tools to manipulate collections( containers like Vec/HashMap/HashSet ).
"""
categories = [ "algorithms", "development-tools" ]
keywords = [ "fundamental", "general-purpose" ]
[lints]
workspace = true
[package.metadata.docs.rs]
features = [ "full" ]
all-features = false
[features]
no_std = [
"test_tools/no_std",
]
use_alloc = [
"no_std", # qqq : for Anton : why is that better? -- use_alloc means that we do not use std, but alloc and hashbrown
"hashbrown",
# "test_tools/use_alloc", // why is it needed? -- not needed, removed
]
default = [
"enabled",
# "reexports",
"collection_constructors",
"collection_into_constructors",
]
full = [
"enabled",
# "reexports",
"collection_constructors",
"collection_into_constructors",
]
enabled = []
# reexports = []
# Collection constructors, like `hmap!{ "key" => "val" }`
collection_constructors = []
# Collection constructors, using `into()` under the hood, like `into_hmap!( "key" => "val" )`
collection_into_constructors = []
# qqq : is this feature used? seems not. if yes, what is it responsible for? discuss -- not needed, removed
[dependencies]
## external
hashbrown = { version = "~0.14.3", optional = true, default-features = false, features = [ "default" ] }
[dev-dependencies]
test_tools = { workspace = true }
# former = { workspace = true }