//! Implement the [`MaxSize`] trait from [`postcard_1`] for [`StaticMap`] and [`StaticCopyMap`].
//!
//! The table below shows how the serialization impls correspond to postcard's serializer and max size calculation.
//! | serde impl | postcard serializer | max bytes |
//! |---------------------------|----------------------------|----------------------------------|
//! | serialize_map(len) | try_push_varint_usize(len) | usize::POSTCARD_MAX_SIZE |
//! | serialize_key(&k) * len | k.serialize() | L::POSTCARD_MAX_SIZE * L::LENGTH |
//! | serialize_value(&v) * len | v.serialize() | T::POSTCARD_MAX_SIZE * L::LENGTH |
use ;