docs.rs failed to build same-content-0.1.10
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
same-content-0.1.2
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 same_content_from_files
function and the same_content_from_readers
function is 256 bytes per stream. If you want to change that, you can use the same_content_from_files2
function or the same_content_from_readers2
function, and define a length explicitly.
For example, to change the buffer size to 4096 bytes,
use File;
use *;
use U4096;
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