# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.70.0" name = "dircs" version = "0.1.10" authors = ["Clement Tsang "] build = false exclude = [ ".github", ".vscode", "target", ".markdownlint.json", "CHANGELOG.md", ] autobins = false autoexamples = false autotests = false autobenches = false description = "A small cross-platform utility to get the hash of a file or directory." readme = "README.md" keywords = [ "cross-platform", "cli", "hash", "checksum", ] categories = ["command-line-utilities"] license = "Apache-2.0" repository = "https://github.com/ClementTsang/dircs" [profile.dev.package."*"] opt-level = 3 [profile.release] opt-level = 3 lto = true codegen-units = 1 debug = 0 strip = "symbols" [[bin]] name = "dircs" path = "src/main.rs" doc = false [[test]] name = "basic" path = "tests/basic.rs" [dependencies.anyhow] version = "1.0.86" [dependencies.blake2] version = "0.10.6" optional = true [dependencies.blake3] version = "1.5.4" features = ["rayon"] [dependencies.clap] version = "4.5.16" features = ["derive"] [dependencies.hex] version = "0.4.3" [dependencies.jwalk] version = "0.8.1" [dependencies.md5] version = "0.7.0" optional = true [dependencies.memmap2] version = "0.9.4" [dependencies.rayon] version = "1.10.0" [dependencies.sha1] version = "0.10.6" optional = true [dependencies.sha2] version = "0.10.8" optional = true [dependencies.sha3] version = "0.10.8" optional = true [dev-dependencies.assert_cmd] version = "2.0.16" [features] blake2 = ["dep:blake2"] default = [ "blake2", "md5", "sha1", "sha2", "sha3", ] md5 = ["dep:md5"] sha1 = ["dep:sha1"] sha2 = ["dep:sha2"] sha3 = ["dep:sha3"] [lints.clippy] missing_safety_doc = "deny" todo = "deny" unimplemented = "deny" [lints.rust] missing_docs = "deny" [lints.rustdoc] broken_intra_doc_links = "deny" missing_crate_level_docs = "deny"