1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
// rdiff(rust) -- library for network deltas // Copyright 2015, 2016, 2018 Martin Pool. //! Compute and apply deltas from a file signature to a new file. //! //! This uses the same algorithm (but not the same format) as `rsync`, //! and the same algorithm and format as `rdiff`. //! //! Homepage: <https://github.com/sourcefrog/rdiff-rs>. extern crate blake2; extern crate byteorder; extern crate cast; pub mod magic; pub mod mksum; pub mod rollsum; /// Semver string for this library. pub static VERSION: &'static str = env!("CARGO_PKG_VERSION"); pub const DEFAULT_BLOCK_LEN: u32 = 2048;