@@ -16,9 +16,12 @@ tinyvec_macros = { version = "0.1", optional = true }
16
16
serde = { version = " 1.0" , optional = true , default-features = false }
17
17
# Provides derived `Arbitrary` implementations
18
18
arbitrary = { version = " 1" , optional = true }
19
+ # Provides `BorshSerialize` and `BorshDeserialize implementations
20
+ borsh = { version = " 1.2.0" , optional = true , default-features = false }
19
21
# Implements the trait `Array` for `GenericArray` struct.
20
22
generic-array = { version = " 1.1.1" , optional = true , default-features = false }
21
23
24
+
22
25
[features ]
23
26
default = []
24
27
@@ -74,11 +77,11 @@ experimental_write_impl = []
74
77
real_blackbox = [" criterion/real_blackbox" ]
75
78
76
79
[package .metadata .docs .rs ]
77
- features = [" alloc" , " std" , " grab_spare_slice" , " latest_stable_rust" , " serde" ]
78
- rustdoc-args = [" --cfg" , " docs_rs" ]
80
+ features = [" alloc" , " std" , " grab_spare_slice" , " latest_stable_rust" , " serde" , " borsh " ]
81
+ rustdoc-args = [" --cfg" ," docs_rs" ]
79
82
80
83
[package .metadata .playground ]
81
- features = [" alloc" , " std" , " grab_spare_slice" , " latest_stable_rust" , " serde" ]
84
+ features = [" alloc" , " std" , " grab_spare_slice" , " latest_stable_rust" , " serde" , " borsh " ]
82
85
83
86
[profile .bench ]
84
87
debug = 2
0 commit comments