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

Test compiling with no default features enabled

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 3.2.1
    • Affects Version/s: None
    • Component/s: None
    • None
    • Rust Drivers
    • Not Needed

      We test compilation with default features enabled and all features enabled, but not with combinations beyond that. See here for an example of a compilation failure related to feature flag combination that we didn't catch in CI: https://github.com/mongodb/mongo-rust-driver/issues/1291#event-16059818065. We should test more feature flag combinations - cargo-hack might be useful for this.

      Edit - updated ticket description to test with no default features enabled rather than combinations.

            Assignee:
            isabel.atkinson@mongodb.com Isabel Atkinson
            Reporter:
            isabel.atkinson@mongodb.com Isabel Atkinson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: