Skip to content

Commit f36f6d2

Browse files
biryukovmaximthomwiggers
authored andcommitted
Fix typos in feature keys: correct getrandom_wasm_jd to getrandom_wasm_js and add missing ?/serialization suffixes so serialization only enables indirect serialization features instead of enabling crates itself
1 parent 06dc67c commit f36f6d2

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

pqcrypto-template/pqcrypto/Cargo.toml.j2

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ pqcrypto-{{ name }} = { path = "../pqcrypto-{{ name }}", version = "{{ props.ver
2020
[features]
2121
default = [{% for (name, props) in kems.items()|list + signs.items()|list %}{% if not props.insecure|default(False) %}"pqcrypto-{{name}}",{% endif %}{% endfor %}]
2222
cryptographically-insecure = [{% for (name, props) in kems.items()|list + signs.items()|list %}{% if props.insecure|default(False) %}"pqcrypto-{{name}}/cryptographically-insecure",{% endif %}{% endfor %}]
23-
serialization = [{% for (name, props) in kems.items()|list + signs.items()|list %}"pqcrypto-{{name}}/serialization",{% endfor %}]
24-
getrandom_wasm_jd = [{% for (name, props) in kems.items()|list + signs.items()|list %}"pqcrypto-{{name}}?/getrandom_wasm_js",{% endfor %}]
23+
serialization = [{% for (name, props) in kems.items()|list + signs.items()|list %}"pqcrypto-{{name}}?/serialization",{% endfor %}]
24+
getrandom_wasm_js = [{% for (name, props) in kems.items()|list + signs.items()|list %}"pqcrypto-{{name}}?/getrandom_wasm_js",{% endfor %}]
2525

2626
[badges]
2727
travis-ci = { repository = "rustpq/pqcrypto", branch = "master" }

pqcrypto/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ pqcrypto-sphincsplus = { path = "../pqcrypto-sphincsplus", version = "0.7.2", op
2323
[features]
2424
default = ["pqcrypto-mlkem","pqcrypto-classicmceliece","pqcrypto-hqc","pqcrypto-mldsa","pqcrypto-falcon","pqcrypto-sphincsplus",]
2525
cryptographically-insecure = []
26-
serialization = ["pqcrypto-mlkem/serialization","pqcrypto-classicmceliece/serialization","pqcrypto-hqc/serialization","pqcrypto-mldsa/serialization","pqcrypto-falcon/serialization","pqcrypto-sphincsplus/serialization",]
27-
getrandom_wasm_jd = ["pqcrypto-mlkem?/getrandom_wasm_js","pqcrypto-classicmceliece?/getrandom_wasm_js","pqcrypto-hqc?/getrandom_wasm_js","pqcrypto-mldsa?/getrandom_wasm_js","pqcrypto-falcon?/getrandom_wasm_js","pqcrypto-sphincsplus?/getrandom_wasm_js",]
26+
serialization = ["pqcrypto-mlkem?/serialization","pqcrypto-classicmceliece?/serialization","pqcrypto-hqc?/serialization","pqcrypto-mldsa?/serialization","pqcrypto-falcon?/serialization","pqcrypto-sphincsplus?/serialization",]
27+
getrandom_wasm_js = ["pqcrypto-mlkem?/getrandom_wasm_js","pqcrypto-classicmceliece?/getrandom_wasm_js","pqcrypto-hqc?/getrandom_wasm_js","pqcrypto-mldsa?/getrandom_wasm_js","pqcrypto-falcon?/getrandom_wasm_js","pqcrypto-sphincsplus?/getrandom_wasm_js",]
2828

2929
[badges]
3030
travis-ci = { repository = "rustpq/pqcrypto", branch = "master" }

0 commit comments

Comments
 (0)