diff --git a/Cargo.toml b/Cargo.toml index c1fdcb7..7a80bb9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,8 +1,12 @@ +[workspace.package] +edition = "2018" +rust-version = "1.87" + [package] name = "num-prime" version = "0.4.4" -edition = "2018" - +edition.workspace = true +rust-version.workspace = true repository = "https://github.com/uutils/num-prime" keywords = ["mathematics", "primes", "number-theory", "bigint", "num"] categories = ["cryptography", "science", "algorithms"] diff --git a/bench/Cargo.toml b/bench/Cargo.toml index bf6e38e..a33d68b 100644 --- a/bench/Cargo.toml +++ b/bench/Cargo.toml @@ -2,7 +2,8 @@ name = "num-prime-bench" version = "0.0.0" publish = false -edition = "2018" +edition.workspace = true +rust-version.workspace = true [[bench]] name = "bench"