Crate snapshotor

Source
Expand description

Snapshotor

An abstraction layer of snapshot for developing multiple versions storage.

github LoC Build codecov

docs.rs crates.io crates.io license

§Installation

[dependencies]
snapshotor = "0.1"

§Examples

§License

Licensed under either of Apache License, Version 2.0 or MIT license at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this project by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Modules§

dedup
Provides deduplication functionality for iterators and ranges.
equivalentor
Similar to equivalent, but for bytes.
valid
Provides validation functionality for iterators and ranges.

Structs§

AnyValidator
Any validator.
Builder
The builder for creating an iterator.
NoopValidator
A no-op validator.

Traits§

Cursor
A trait for cursor entries.
CursorExt
Extension methods for single-directional cursors with additional validation and deduplication capabilities.
DoubleEndedCursor
A trait for cursor entries.
DoubleEndedCursorExt
Extension methods for bi-directional cursors with additional validation and deduplication capabilities.
Entry
Entry absbstrations
Rewindable
A trait for rewinding between the front and back.
Seekable
A trait for seeking between entries.
ToIter
A trait for types that can be finalized to a Range.
ToRange
A trait for types that can be finalized to a Range.
Validator
Validate a value.