mongodb 2.0.0

The official MongoDB driver for Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
mod event;
mod rtt;
mod sdam;

use std::time::Duration;

pub use event::TestSdamEvent;

pub(crate) fn f64_ms_as_duration(f: f64) -> Duration {
    Duration::from_micros((f * 1000.0) as u64)
}