Skip to content

Releases: mudge/oplog

applyOps Support

07 Jan 13:30
Compare
Choose a tag to compare

This release adds support for the applyOps command which contains an array of Operations to apply at once:

Operation::ApplyOps {
    /// A unique identifier for this operation.
    id: i64,
    /// The time of the operation.
    timestamp: DateTime<UTC>,
    /// The full namespace of the operation including its database and collection.
    namespace: String,
    /// A vector of operations to apply.
    operations: Vec<Operation>,
}

Install by adding the following to your Cargo.toml:

oplog = "0.2.0"

Full API documentation can be found here.

Introducing Oplog

01 Jan 17:18
Compare
Choose a tag to compare

The initial release of my first Rust crate: Oplog, a library for iterating over a MongoDB replica set oplog as if it were a collection of statically typed operations.

This first release exposes the following public types:

Full API documentation can be found at http://mudge.name/oplog