mongodb 0.9.1

The official MongoDB driver for Rust (currently in alpha)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
data:
    - {_id: 1, string: 'PING'}
    - {_id: 2, string: 'ping'}
minServerVersion: '3.4'

tests:
    -
        description: "Distinct with a collation"
        operation:
            name: distinct
            arguments:
                fieldName: "string"
                collation: { locale: 'en_US', strength: 2 } # https://docs.mongodb.com/master/reference/collation/#collation-document

        outcome:
            result:
                - 'PING'