Skip to content

Commit

Permalink
fix(kyberlib): 🐛 Using outdated edition for no reason
Browse files Browse the repository at this point in the history
this crate requires at least Rust 1.71, which is newer than the last 2018-edition compiler
  • Loading branch information
sebastienrousseau committed Dec 25, 2023
1 parent 60b514f commit e620bfe
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 16 deletions.
22 changes: 11 additions & 11 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 6 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build = "build.rs"
categories = ["algorithms", "cryptography", "wasm", "no-std"]
description = "A Robust Rust Library for CRYSTALS-Kyber Post-Quantum Cryptography."
documentation = "https://docs.rs/kyberlib"
edition = "2018"
edition = "2021"
exclude = [
"/.git/*",
"/.github/*",
Expand All @@ -27,14 +27,15 @@ license = "MIT OR Apache-2.0"
name = "kyberlib"
readme = "README.md"
repository = "https://github.com/sebastienrousseau/kyberlib"
version = "0.0.2"
rust-version = "1.71.1"
version = "0.0.3"

[dependencies]
aes = { version = "0.8.3", optional = true }
ctr = { version = "0.9.2", optional = true }
rand_core = { version = "0.6.4", default-features = false }
sha2 = { version = "0.10.8", optional = true , default-features = false }
wasm-bindgen = { version = "0.2.88", optional = true }
wasm-bindgen = { version = "0.2.89", optional = true }

[dev-dependencies]
criterion = "0.5.1"
Expand All @@ -49,8 +50,8 @@ optional = true
benchmarking = ["criterion"]

[build-dependencies]
cc = {version = "1.0.73", optional = true }
nasm-rs = {version = "0.2.4", optional = true }
cc = {version = "1.0.83", optional = true }
nasm-rs = {version = "0.2.5", optional = true }

[lib]
crate-type = ["cdylib", "rlib"]
Expand Down

0 comments on commit e620bfe

Please sign in to comment.