Uploaded image for project: 'Rust Driver'
  1. Rust Driver
  2. RUST-1944

Remove unnecessary Serialize/Deserialize implementations from the public API

    • Type: Icon: Task Task
    • Resolution: Won't Do
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • Rust Drivers
    • None
    • None
    • None
    • None
    • None
    • None

      A number of our types derive Serialize and Deserialize for testing purposes. We should consider moving these behind #[cfg(test)] to improve compile times for users and remove test-only serde logic from the public API. Switching to manual serde implementations may also improve compile times overall.

       

      This will technically be a breaking change because we'll be removing public trait implementations. We should do this as part of 3.0.

            Assignee:
            abraham.egnor@mongodb.com Abraham Egnor
            Reporter:
            isabel.atkinson@mongodb.com Isabel Atkinson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: