near / borsh-rs

Rust implementation of Binary Object Representation Serializer for Hashing
https://borsh.io/
Apache License 2.0
287 stars 62 forks source link

feat(schema): support serde of HashMap with S hasher #293

Closed dzmitry-lahoda closed 1 month ago

dzmitry-lahoda commented 2 months ago

Currently HashMap<K, V, S = SomeRustDefault> schema is supported. So even if S I used impls BorshSchema, I cannot set it.

Add ability to override S in schema.