-
Notifications
You must be signed in to change notification settings - Fork 11
/
Cargo.toml
47 lines (42 loc) · 1.14 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
[package]
name = "pasta-msm"
version = "0.1.4"
edition = "2021"
license = "Apache-2.0"
description = "Optimized multiscalar multiplicaton for Pasta moduli for x86_64 and aarch64"
repository = "https://github.com/supranational/pasta-msm"
readme = "README.md"
include = [
"/benches/**",
"/cuda/**",
"/src/**",
"/Cargo.toml",
"/build.rs",
"/README.md",
]
[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 = [ "semolina/portable" ]
# Enable ADX even if the host CPU doesn't support it.
# Binary can be executed on Broadwell+ and Ryzen+ systems.
force-adx = [ "semolina/force-adx" ]
cuda-mobile = []
[dependencies]
semolina = "~0.1.3"
sppark = "~0.1.2"
pasta_curves = { version = ">=0.3.1, <=0.5", features = ["repr-c"] }
[build-dependencies]
cc = "^1.0.70"
which = "^4.0"
[dev-dependencies]
criterion = { version = "0.3", features = [ "html_reports" ] }
rand = "^0"
rand_chacha = "^0"
rayon = "1.5"
[[bench]]
name = "main"
harness = false