forked from supranational/blst
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
74 lines (65 loc) · 1.93 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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
[package]
name = "blst"
version = "0.3.14"
authors = ["sean-sn <[email protected]>"]
edition = "2018"
license = "Apache-2.0"
description = "Bindings for blst BLS12-381 library"
repository = "https://github.com/supranational/blst"
readme = "README.md"
categories = ["cryptography"]
keywords = ["crypto", "bls", "signature", "asm", "wasm"]
include = [
"**/*.rs",
"/Cargo.toml",
"/README.md",
"/rustfmt.toml",
"/blst/src/*.c",
"/blst/src/*.h*",
"/blst/build/**",
"/blst/bindings/blst.h",
"/blst/bindings/blst_aux.h",
"/blst/bindings/blst.hpp",
]
links = "blst"
[features]
# By default, compile with ADX extension if the host supports it.
# Binary can be executed on systems similar to the host.
default = []
# Compile in portable mode, without ISA extensions.
# Binary can be executed on all systems.
portable = []
# Enable ADX even if the host CPU doesn't support it.
# Binary can be executed on Broadwell+ and Ryzen+ systems.
force-adx = []
# Suppress multi-threading.
# Engaged on wasm32 target architecture automatically.
no-threads = []
# Add support for serializing SecretKey, not suitable for production.
serde-secret = ["serde"]
[build-dependencies]
cc = "1.0"
[target.'cfg(target_env = "msvc")'.build-dependencies]
glob = "0.3"
[dependencies]
zeroize = { version = "^1.1", features = ["zeroize_derive"] }
serde = { version = "1.0.152", optional = true }
[target.'cfg(not(any(target_arch="wasm32", target_os="none", target_os="unknown", target_os="uefi")))'.dependencies]
threadpool = "^1.8.1"
[dev-dependencies]
rand = "0.8"
rand_chacha = "0.3"
rmp-serde = "1.1.1"
# Uncomment if you want to execute the test suite with Rust 1.56 through 1.64.
#byteorder = "=1.4.3"
#rmp = "=0.8.12"
#ppv-lite86 = "=0.2.17"
[target.'cfg(any(unix, windows))'.dev-dependencies]
criterion = "0.3"
[[bench]]
name = "blst_benches"
harness = false
[profile.release]
#opt-level = 3
[badges]
maintenance = { status = "actively-developed" }