-
Notifications
You must be signed in to change notification settings - Fork 13
/
Cargo.toml
30 lines (26 loc) · 868 Bytes
/
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
[package]
name = "sha256"
version = "1.5.0"
authors = ["baoyachi <[email protected]>"]
edition = "2018"
description = "sha256 crypto digest"
keywords = ["sha256", "hash", "digest"]
readme = "README.md"
categories = ["cryptography"]
repository = "https://github.com/baoyachi/sha256-rs"
license = "MIT OR Apache-2.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
hex = "0.4.2"
sha2 = { version = "0.10.6", default-features = false }
openssl = { version = "0.10.54", optional = true, default-features = false }
async-trait = "0.1.68"
tokio = { version = "1.28.2", optional = true, features = ["io-util", "fs"] }
bytes = "1.4.0"
[features]
default = ["async"]
native_openssl = ["openssl"]
async = ["tokio"]
[dev-dependencies]
tokio = { version = "1.28.2", features = ["full"] }
tokio-test = "0.4.2"