Crate dipa[][src]

dipa makes it easy to efficiently delta encode large Rust data structures.

Documentation

The Dipa Book introduces you to dipa and teaches you how to use it.

It is available online at https://chinedufn.github.io/dipa/

You can also view the book offline:

# Do this once while online
git clone git@github.com:chinedufn/dipa.git && cd dipa
cargo install mdbook

# This works offline
./bin/serve-book.sh

Macros

map_impl
number_diff_impl_option_wrapped

Used for integer and float types excluding u8 and i8 since those two do not use Option wrappers.

number_diff_impl_u8_or_i8

Used for u8 and i8 since their diffs are not wrapped in Option. TODO: Rename to single_byte_impl or something, since we use this for bools

number_patch_impl_mut_u8_or_i8
number_patch_impl_option_wrapped
number_patch_impl_u8_or_i8
set_impl

Structs

CreatedDelta

The type returned by [Diffable.create_delta_towards].

Traits

Diffable

Allows a type to be diffed with another type.

Patchable

Modifies a type using n a patch.