mongodb 1.1.1

The official MongoDB driver for Rust
Documentation
1
2
3
4
5
6
7
8
use crate::test::{run_spec_test, run_v2_test, LOCK};

#[cfg_attr(feature = "tokio-runtime", tokio::test)]
#[cfg_attr(feature = "async-std-runtime", async_std::test)]
async fn run() {
    let _guard = LOCK.run_exclusively().await;
    run_spec_test(&["crud", "v2"], run_v2_test).await;
}