Same Content
Determine whether data from different sources are the same.
Example
use File;
use *;
assert!;
Change the Buffer Size
The default buffer size for the comparison functions is 8192 bytes per stream. Use a *_with_buffer_size function to select a different size with a const generic argument.
For example, to change the buffer size to 4096 bytes,
use File;
use *;
assert!;
Asynchronous APIs
You may want to use async APIs with your async runtime. This crate supports tokio, currently.
[]
= "*"
= ["tokio"]
After enabling the async feature, the async functions are available.
Crates.io
https://crates.io/crates/same-content