Usage of rust driver in web context

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None

      I would like to use the rust driver with https://github.com/actix/actix-web. To do so the idiomatic way would be to use actix_web::web::Data to pass application data to routes. (I guess, at least in the examples for http://diesel.rs/ it is done this way)

      But from reading the doc I have no idea how to this for the mongo driver. 

      It would be good when such uses cases are documented.

       

       

       

       

            Assignee:
            Isabel Atkinson
            Reporter:
            Martin Kuhn
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: