]> git.lizzy.rs Git - PAKEs.git/blobdiff - spake2/Cargo.toml
spake2: getrandom feature (#88)
[PAKEs.git] / spake2 / Cargo.toml
index 25e9534dfecdb56f301d5c3d000526bb870cafd3..5547cfa43ef8ed5b9b570b6c4357c32b6e2acb2e 100644 (file)
@@ -1,32 +1,38 @@
 [package]
 name = "spake2"
-version = "0.1.1-alpha.0"
+version = "0.3.0-pre"
 authors = ["Brian Warner <warner@lothar.com>"]
-description = "The SPAKE2 password-authenticated key-exchange algorithm, in Rust."
+description = "The SPAKE2 password-authenticated key-exchange algorithm."
 documentation = "https://docs.rs/spake2"
 homepage = "https://github.com/RustCrypto/PAKEs"
-repository = "https://github.com/RustCrypto/PAKEs"
-license = "MIT/Apache-2.0"
-categories = ["cryptography"]
-exclude = [
-    ".gitignore"
-]
-
-[badges]
-travis-ci = { repository = "RustCrypto/PAKEs" }
-is-it-maintained-issue-resolution = { repository = "RustCrypto/PAKEs" }
-is-it-maintained-open-issues = { repository = "RustCrypto/PAKEs" }
+repository = "https://github.com/RustCrypto/PAKEs/tree/master/spake2"
+license = "MIT OR Apache-2.0"
+keywords = ["crypto", "pake", "authentication"]
+categories = ["cryptography", "authentication"]
+exclude = [".gitignore"]
+readme = "README.md"
+edition = "2021"
+rust-version = "1.56"
 
 [dependencies]
-curve25519-dalek = "0.19"
-rand = "0.5"
-sha2 = "0.7"
-hkdf = "0.6"
-num-bigint = "0.2"
-hex = "0.3"
+curve25519-dalek = { version = "3", default-features = false, features = ["u64_backend"] }
+rand_core = { version = "0.5", default-features = false }
+sha2 = { version = "0.10", default-features = false }
+hkdf = { version = "0.12", default-features = false }
 
 [dev-dependencies]
 bencher = "0.1"
+hex = "0.4"
+num-bigint = "0.4"
+
+[features]
+default = ["getrandom"]
+getrandom = ["rand_core/getrandom"]
+std = []
+
+[package.metadata.docs.rs]
+all-features = true
+rustdoc-args = ["--cfg", "docsrs"]
 
 [[bench]]
 name = "spake2"