-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
32 lines (29 loc) · 1.03 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
[package]
name = "chksum-hash"
version = "0.5.1"
authors = ["Konrad Goławski <konrad@golawski.it>"]
edition = "2021"
rust-version = "1.63.0"
description = "An implementation of hash algorithms for batch and stream computation."
readme = ".cargo/README.md"
repository = "https://github.com/chksum-rs/hash"
license = "MIT"
keywords = ["checksum", "digest", "hash"]
categories = ["algorithms", "cryptography"]
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[dependencies]
chksum-hash-core = "0.0.0"
chksum-hash-md5 = { version = "0.0.1", optional = true }
chksum-hash-sha1 = { version = "0.0.1", optional = true }
chksum-hash-sha2 = { version = "0.0.1", default-features = false, optional = true }
[features]
default = ["md5", "sha1", "sha2"]
md5 = ["chksum-hash-md5"]
sha1 = ["chksum-hash-sha1"]
sha2 = ["chksum-hash-sha2", "sha2-224", "sha2-256", "sha2-384", "sha2-512"]
sha2-224 = ["chksum-hash-sha2/224"]
sha2-256 = ["chksum-hash-sha2/256"]
sha2-384 = ["chksum-hash-sha2/384"]
sha2-512 = ["chksum-hash-sha2/512"]