bson: make time large-dates feature optional

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Major - P3
    • bson-3.0.0
    • Affects Version/s: None
    • Component/s: None
    • Rust Drivers
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?
    • None
    • None
    • None
    • None
    • None
    • None

      (From this github issue)

      The bson crate needs the large-dates feature of the time crate to pass the Y10K corpus test; however, that feature causes a performance loss and introduces parsing ambiguities. We should make it optional for users that know they won't be handling dates with years outside the ±9999 range.

            Assignee:
            Unassigned
            Reporter:
            Abraham Egnor
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: