-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathCargo.toml
39 lines (34 loc) · 958 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
39
[package]
name = "xts-mode"
version = "0.5.1"
authors = ["Aphek <[email protected]>"]
edition = "2021"
license = "MIT"
readme = "README.md"
description = "XTS block mode implementation in rust"
repository = "https://github.com/pheki/xts-mode"
documentation = "https://docs.rs/xts-mode"
keywords = ["encryption", "xts", "block-cipher"]
exclude = ["test_files"]
categories = ["cryptography", "no-std"]
rust-version = "1.57"
[features]
default = ["std"]
std = []
openssl_tests = ["dep:openssl"]
benchmarks = ["dep:criterion"]
[dependencies]
cipher = "0.4.4"
byteorder = { version = "1.5", default-features = false }
# Actually dev-dependencies enabled only for openssl tests and benchmarks,
# but dev-dependencies can't be optional.
openssl = { version = "0.10.61", optional = true }
criterion = {version = "0.5", optional = true }
[dev-dependencies]
# For tests
hex-literal = "0.4"
aes = "0.8"
rand = "0.8"
[[bench]]
name = "encryption"
harness = false