-
Bump any dependencies in Cargo.toml
-
Run tests and address sanitiser checks:
export RUSTFLAGS="${RUSTFLAGS:-} -Z sanitizer=address -C target-cpu=native -C target-feature=+aes,+avx2,+sse2,+sse4.1,+bmi2,+popcnt";\
export RUSTDOCFLAGS="-Z sanitizer=address";
rustup default nightly;
KAT=1 AVX2=1 NASM=1 ./tests/run_all_tests.sh;
-
Bump version in Cargo.toml
-
Bump version in deps.rs badge and features section of readme.md
-
Update changelog.md
-
cargo +nightly fmt
-
wasm-pack build -- --features wasm
-
Fix autogenerated pkg/package.json:
- name - Replace
pqc_kyber
withpqc-kyber
- description - Revert line to replace with old description
- name - Replace
-
git commit -m "release v0.0.0"
-
git tag v0.0.0
-
git push origin v0.0.0
-
Open PR to master, confirm all CI checks pass, merge PR
-
cargo publish
-
npm publish