@@ -19,15 +19,22 @@ ahash = { version = "0.8.0", default-features = false, optional = true }
19
19
# For external trait impls
20
20
rayon = { version = " 1.0" , optional = true }
21
21
serde = { version = " 1.0.25" , default-features = false , optional = true }
22
- rkyv = { version = " 0.7.42" , optional = true , default-features = false , features = [" alloc" ]}
22
+ rkyv = { version = " 0.7.42" , optional = true , default-features = false , features = [
23
+ " alloc" ,
24
+ ] }
23
25
24
26
# When built as part of libstd
25
27
core = { version = " 1.0.0" , optional = true , package = " rustc-std-workspace-core" }
26
28
compiler_builtins = { version = " 0.1.2" , optional = true }
27
29
alloc = { version = " 1.0.0" , optional = true , package = " rustc-std-workspace-alloc" }
28
30
29
31
# Support for allocators that use allocator-api2
30
- allocator-api2 = { version = " 0.2.9" , optional = true , default-features = false , features = [" alloc" ] }
32
+ allocator-api2 = { version = " 0.2.9" , optional = true , default-features = false , features = [
33
+ " alloc" ,
34
+ ] }
35
+
36
+ # Equivalent trait which can be shared with other hash table implementations.
37
+ equivalent = { version = " 1.0" , optional = true , default-features = false }
31
38
32
39
[dev-dependencies ]
33
40
lazy_static = " 1.4"
@@ -45,7 +52,13 @@ default = ["ahash", "inline-more", "allocator-api2"]
45
52
nightly = [" allocator-api2?/nightly" , " bumpalo/allocator_api" ]
46
53
47
54
rustc-internal-api = []
48
- rustc-dep-of-std = [" nightly" , " core" , " compiler_builtins" , " alloc" , " rustc-internal-api" ]
55
+ rustc-dep-of-std = [
56
+ " nightly" ,
57
+ " core" ,
58
+ " compiler_builtins" ,
59
+ " alloc" ,
60
+ " rustc-internal-api" ,
61
+ ]
49
62
raw = []
50
63
51
64
# Enables usage of `#[inline]` on far more functions than by default in this
0 commit comments