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

Call through to serde implementation in Document::from_reader and Document::to_writer

    XMLWordPrintable

Details

    • Task
    • Status: Backlog
    • Unknown
    • Resolution: Unresolved
    • None
    • None
    • BSON

    Description

      Now that the BSON library has a raw deserializer, we can leverage it in Document::from_reader and Document::to_writer instead of maintaining a separate BSON encoding/decoding implementation. This will likely hurt performance of Document::from_reader and Document::to_writer, but those methods are a lot more niche now, so the tradeoff may be worth it.

      Attachments

        Activity

          People

            Unassigned Unassigned
            patrick.freed@mongodb.com Patrick Freed
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: