Repository: dusk-network/bls12_381 (language: rust)

Issue:
Remove `Sized` bound on `rkyv::Serialize` impl for `G2Prepared` 
**Describe what you want implemented** 
There is an implicit `Sized` bound, currently present on the serializer in the `rkyv::Serialize` impl for `G2Prepared`. I would like this removed.

https://github.com/dusk-network/bls12_381/blob/7e2f4c8c53b0294d5709e0c1cc6e6d34e46e45de/src/pairings.rs#L344-L347

**Describe "Why" this is needed**
This `Sized` bound propagates upstream and has already caused us to have to introduce a `Sized` bound upstream in https://github.com/dusk-network/plonk/pull/698.

**Describe alternatives you've considered**
N/A

**Additional context**
N/A



Discussion / hints:

Fix patch:
diff --git a/CHANGELOG.md b/CHANGELOG.md
index bd06f612..97b185fd 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
 
 ## [Unreleased]
 
+### Remove
+- `Sized` bound from `G2Prepared` `rkyv::Serialize` implementation [#94](https://github.com/dusk-network/bls12_381/issues/94)
+
 ## [0.10.1] - 2022-07-27
 
 ### Added
diff --git a/src/pairings.rs b/src/pairings.rs
index d49289f6..f25d8487 100644
--- a/src/pairings.rs
+++ b/src/pairings.rs
@@ -344,7 +344,7 @@ impl Archive for G2Prepared {
 #[cfg(feature = "rkyv")]
 impl<S> RkyvSerialize<S> for G2Prepared
 where
-    S: RkyvSerializer + ScratchSpace,
+    S: RkyvSerializer + ScratchSpace + ?Sized,
 {
     fn serialize(&self, serializer: &mut S) -> Result<Self::Resolver, S::Error> {
         let choice = self.infinity.unwrap_u8();


Test patch: