@@ -31,17 +31,18 @@ rkyv_derive.workspace = true
31
31
# Before adding support for another crate, please consider getting rkyv support
32
32
# in the crate instead.
33
33
34
- arrayvec = { version = " 0.7" , optional = true , default-features = false }
35
- bytes = { version = " 1.4.0" , optional = true , default-features = false }
36
- # hashbrown
37
- indexmap = { version = " 2.2" , optional = true , default-features = false }
38
- smallvec = { version = " 1.7" , optional = true , default-features = false }
39
- smol_str_02 = { version = " 0.2" , package = " smol_str" , optional = true , default-features = false }
40
- smol_str_03 = { version = " 0.3" , package = " smol_str" , optional = true , default-features = false }
41
- thin-vec = { version = " 0.2.12" , optional = true , default-features = false }
42
- tinyvec = { version = " 1.5" , optional = true , default-features = false }
43
- triomphe = { version = " 0.1" , optional = true , default-features = false }
44
- uuid = { version = " 1.3" , optional = true , default-features = false }
34
+ arrayvec-0_7 = { package = " arrayvec" , version = " 0.7" , optional = true , default-features = false }
35
+ bytes-1 = { package = " bytes" , version = " 1" , optional = true , default-features = false }
36
+ # rkyv already depends on hashbrown 0.14, so we can't duplicate this, but we can expose it as a feature below
37
+ # hashbrown-0_14 = { package = "hashbrown", version = "0.14", optional = true, default-features = false }
38
+ indexmap-2 = { package = " indexmap" , version = " 2" , optional = true , default-features = false }
39
+ smallvec-1 = { package = " smallvec" , version = " 1" , optional = true , default-features = false }
40
+ smol_str-0_2 = { package = " smol_str" , version = " 0.2" , optional = true , default-features = false }
41
+ smol_str-0_3 = { package = " smol_str" , version = " 0.3" , optional = true , default-features = false }
42
+ thin-vec-0_2 = { package = " thin-vec" , version = " 0.2.12" , optional = true , default-features = false }
43
+ tinyvec-1 = { package = " tinyvec" , version = " 1" , optional = true , default-features = false }
44
+ triomphe-0_1 = { package = " triomphe" , version = " 0.1" , optional = true , default-features = false }
45
+ uuid-1 = { package = " uuid" , version = " 1" , optional = true , default-features = false }
45
46
46
47
[features ]
47
48
default = [" std" , " bytecheck" ]
@@ -52,15 +53,15 @@ unaligned = []
52
53
pointer_width_16 = []
53
54
pointer_width_32 = []
54
55
pointer_width_64 = []
55
- alloc = [" dep:hashbrown" , " tinyvec?/alloc" , " rancor/alloc" ]
56
- std = [" alloc" , " bytes?/std" , " indexmap?/std" , " ptr_meta/std" , " uuid?/std" ]
56
+ alloc = [" dep:hashbrown" , " tinyvec-1 ?/alloc" , " rancor/alloc" ]
57
+ std = [" alloc" , " bytes-1 ?/std" , " indexmap-2 ?/std" , " ptr_meta/std" , " uuid-1 ?/std" ]
57
58
bytecheck = [" dep:bytecheck" , " rend/bytecheck" , " rkyv_derive/bytecheck" ]
58
59
59
60
# External crate support
60
- hashbrown = [" dep:hashbrown" ]
61
- indexmap = [" dep:indexmap" , " alloc" ]
62
- triomphe = [" dep:triomphe" , " alloc" ]
63
- uuid = [" dep:uuid" , " bytecheck?/uuid" ]
61
+ hashbrown-0_14 = [" dep:hashbrown" ]
62
+ indexmap-2 = [" dep:indexmap-2 " , " alloc" ]
63
+ triomphe-0_1 = [" dep:triomphe-0_1 " , " alloc" ]
64
+ uuid-1 = [" dep:uuid-1 " , " bytecheck?/uuid" ]
64
65
65
66
[package .metadata .docs .rs ]
66
67
features = [" bytecheck" ]
0 commit comments