#md5 #nothing #read #fs

yanked just_md5

just md5, nothing else

5 个版本

0.1.4 2024年1月24日
0.1.3 2024年1月24日
0.1.2 2024年1月24日
0.1.1 2024年1月24日
0.1.0 2024年1月23日

50#md5

每月38次 下载

自定义许可

14KB
247

just_md5

Crates.io Version docs.rs Codecov

just md5, nothing else

使用方法


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()));
}

开发

代码覆盖率


bash ./scripts/code_coverage.sh

外部工具需求

  • 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

外部引用

md5/rfc1321
rust_instrument_coverage
llvm-profdata
llvm-cov

无运行时依赖