@@ -16,9 +16,12 @@ tinyvec_macros = { version = "0.1", optional = true }
1616serde = { version = " 1.0" , optional = true , default-features = false }
1717# Provides derived `Arbitrary` implementations
1818arbitrary = { version = " 1" , optional = true }
19+ # Provides `BorshSerialize` and `BorshDeserialize implementations
20+ borsh = { version = " 1.2.0" , optional = true , default-features = false }
1921# Implements the trait `Array` for `GenericArray` struct.
2022generic-array = { version = " 1.1.1" , optional = true , default-features = false }
2123
24+
2225[features ]
2326default = []
2427
@@ -74,11 +77,11 @@ experimental_write_impl = []
7477real_blackbox = [" criterion/real_blackbox" ]
7578
7679[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" ]
7982
8083[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 " ]
8285
8386[profile .bench ]
8487debug = 2
0 commit comments