#md5 #nothing #fs #read

yanked just_md5

just md5, nothing else

5 releases

0.1.4 Jan 24, 2024
0.1.3 Jan 24, 2024
0.1.2 Jan 24, 2024
0.1.1 Jan 24, 2024
0.1.0 Jan 23, 2024

#53 in #md5

39 downloads per month

Custom license

14KB
247 lines

just_md5

Crates.io Version docs.rs Codecov

just md5, nothing else

Usage


use std::fs::read;
use std::str::FromStr;

use just_md5::Md5;

fn main() {
    println!("{}", Md5::from_str("just_md5").unwrap());
    println!("{}", Md5::from_vec(&mut read("path to a file").unwrap()));
}

Dev

Code Coverage


bash ./scripts/code_coverage.sh

External Tool Requirements

  • rustfilt: cargo install rustfilt
  • llvm-tools: rustup component add llvm-tools-x86_64-pc-windows-msvc
  • gojq: https://github.com/itchyny/gojq/releases
  • codecov: https://uploader.codecov.io

External Reference

md5/rfc1321
rust_instrument_coverage
llvm-profdata
llvm-cov

No runtime deps