-
Notifications
You must be signed in to change notification settings - Fork 9
/
Cargo.toml
53 lines (43 loc) · 1.28 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
[package]
name = "fpe"
version = "0.6.1"
authors = ["Jack Grigg <thestr4d@gmail.com>"]
license = "MIT/Apache-2.0"
edition = "2021"
rust-version = "1.56"
description = "Format-preserving encryption"
documentation = "https://docs.rs/fpe/"
homepage = "https://github.com/str4d/fpe"
repository = "https://github.com/str4d/fpe"
keywords = ["ff1"]
categories = ["cryptography", "no-std"]
[dependencies]
cbc = { version = "0.1", default-features = false }
cipher = "0.4"
libm = "0.2"
num-bigint = { version = "0.4", optional = true, default-features = false }
num-integer = { version = "0.1", optional = true, default-features = false }
num-traits = { version = "0.2", optional = true, default-features = false }
[dev-dependencies]
aes = "0.8"
# Tests
proptest = "1.1"
static_assertions = "1.1"
# Benchmarks
#aes-old = { package = "aes", version = "0.3" }
#binary-ff1 = "0.1"
criterion = "0.4"
[target.'cfg(any(target_arch = "x86", target_arch = "x86_64"))'.dev-dependencies]
criterion-cycles-per-byte = "0.4"
[target.'cfg(unix)'.dev-dependencies]
inferno = ">= 0.11, < 0.11.15"
pprof = { version = "0.11", features = ["criterion", "flamegraph"] }
[features]
default = ["std"]
alloc = ["num-bigint", "num-integer", "num-traits"]
std = ["alloc"]
[lib]
bench = false
[[bench]]
name = "ff1"
harness = false