bp-pp icon indicating copy to clipboard operation
bp-pp copied to clipboard

Make `serde` optional

Open Velnbur opened this issue 10 months ago • 2 comments

This change makes the serde dependency optional to reduce the total number of dependencies from 57 to 51 using --no-default-features flag.

Also for simpler maintainablity, moved SerializableProof into separate serializable modules, so by placing #[cfg(feature = "serde")] above it's declaration the whole implementations and structures became optional (instead of placing #[cfg(feature = "serde")] above each of them).

Removed usage of serde inside tests for more prefered Debug implementations.

Velnbur avatar Mar 31 '24 14:03 Velnbur