-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
38 lines (32 loc) · 919 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
31
32
33
34
35
36
37
38
[package]
name = "bc4py_hash"
version = "0.1.3"
authors = ["namuyan <[email protected]>"]
edition = "2018"
license = "MIT"
description = "bc4py crypto hash functions library"
repository = "https://github.com/namuyan/bc4py_hash"
readme = "README.md"
build = "build.rs"
# do not include the default features
# optionally cherry-pick individual features
default-features = false
[lib]
crate-type = ["rlib"]
[features]
default = ["hashs", "poc", "progress-bar"]
hashs = ["libc"]
poc = ["regex", "etcommon-bigint", "blake2b_simd"]
progress-bar = []
[dependencies]
hex = "0.4"
num_cpus = "1.0"
libc = {version = "0.2", optional = true}
regex = {version = "1", optional = true}
etcommon-bigint = {version = "0.2.10", optional = true}
# will be changed to blake3
blake2b_simd = {version = "0.5", optional = true}
[build-dependencies]
cc = { version = "1.0", features = ["parallel"] }
[dev-dependencies]
tempfile = "3.1"