Releases: mudge/oplog
Releases · mudge/oplog
applyOps Support
This release adds support for the applyOps command which contains an array of Operation
s 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
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:
oplog::Operation
: an enum of supported oplog operations;oplog::Oplog
: an iterable representation of an oplog;oplog::OplogBuilder
: a builder for creating filteredOplog
s.
Full API documentation can be found at http://mudge.name/oplog