Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-3378

bson: add wasm support for bson-rs crate

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • None
    • schema.rs
    • None
    • 3
    • Iteration Vol au Vent, Iteration Wasabi

    Description

      bson-rs crate is currently not wasm compatible as it makes system calls to get machine_id and process_id to make ObjectId bson type. This doesn't work in the browser and should be done as randomly generated numbers (like the node's bson package)

      Attachments

        Activity

          People

            irina.shestak@mongodb.com Irina Shestak (Inactive)
            irina.shestak@mongodb.com Irina Shestak (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: