Skip to content

Commit 5472008

Browse files
authored
Fix keywords in Cargo.toml (#127)
1 parent e28eac0 commit 5472008

File tree

1 file changed

+13
-6
lines changed

1 file changed

+13
-6
lines changed

Cargo.toml

+13-6
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,13 @@ version = "0.2.8"
55
authors = ["Weiliang Li <[email protected]>"]
66
description = "Elliptic Curve Integrated Encryption Scheme for secp256k1"
77
edition = "2021"
8-
keywords = ["secp256k1", "x25519", "crypto", "ecc", "ecies", "cryptocurrency"]
8+
keywords = [ # at most five
9+
"secp256k1",
10+
"curve25519",
11+
"crypto",
12+
"ecies",
13+
"cryptocurrency",
14+
]
915
license = "MIT"
1016
readme = "README.md"
1117
# links
@@ -36,7 +42,7 @@ hkdf = { version = "0.12.4", default-features = false }
3642
sha2 = { version = "0.10.8", default-features = false }
3743

3844
# random number generator
39-
getrandom = { version = "=0.2.15", default-features = false }
45+
getrandom = { version = "0.2.15", default-features = false }
4046
rand_core = { version = "0.6.4", default-features = false, features = [
4147
"getrandom",
4248
] }
@@ -49,7 +55,7 @@ parking_lot = "0.12.3"
4955

5056
[target.'cfg(all(target_arch = "wasm32", target_os="unknown"))'.dependencies]
5157
# only for js (browser or node). if it's not js, like substrate, it won't build
52-
getrandom = { version = "=0.2.15", default-features = false, features = ["js"] }
58+
getrandom = { version = "0.2.15", default-features = false, features = ["js"] }
5359
once_cell = { version = "1.21.1", default-features = false, features = ["std"] }
5460
wasm-bindgen = { version = "0.2.100", default-features = false }
5561

@@ -63,12 +69,13 @@ std = ["hkdf/std", "sha2/std", "once_cell/std"]
6369

6470
# curves
6571
# no usage, TODO: make optional after 0.3.0
66-
secp256k1 = [] # ["libsecp256k1"]
67-
x25519 = ["x25519-dalek"]
72+
secp256k1 = [] # ["dep:libsecp256k1"]
73+
x25519 = ["dep:x25519-dalek"]
6874

6975
# aes
76+
# TODO: rename to `aes-openssl` and `aes-rust`
7077
openssl = ["dep:openssl"]
71-
pure = ["aes-gcm/aes", "typenum"]
78+
pure = ["aes-gcm/aes", "typenum"] # TODO: use dep syntax
7279
# with feature "openssl" or "pure" (aes-256-gcm)
7380
aes-12bytes-nonce = [] # default: 16 bytes without this
7481

0 commit comments

Comments
 (0)