bson: make time large-dates feature optional

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • bson-3.0.0
    • Affects Version/s: None
    • Component/s: None
    • Rust Drivers
    • Not Needed
    • 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:
            Isabel Atkinson
            Reporter:
            Abraham Egnor
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: