X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=spake2%2FCargo.toml;h=5547cfa43ef8ed5b9b570b6c4357c32b6e2acb2e;hb=17292b56f52ceab154cb75239f690130df87e8a6;hp=a0ed4f8755949b3f3882b1ebf6b37eb4764e2f22;hpb=695c070db2c46ab75ec908dcc7baebb79c60596c;p=PAKEs.git diff --git a/spake2/Cargo.toml b/spake2/Cargo.toml index a0ed4f8..5547cfa 100644 --- a/spake2/Cargo.toml +++ b/spake2/Cargo.toml @@ -1,40 +1,38 @@ [package] name = "spake2" -version = "0.2.1-alpha.0" -edition = "2018" +version = "0.3.0-pre" authors = ["Brian Warner "] 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" +repository = "https://github.com/RustCrypto/PAKEs/tree/master/spake2" license = "MIT OR Apache-2.0" keywords = ["crypto", "pake", "authentication"] categories = ["cryptography", "authentication"] -exclude = [ - ".gitignore" -] - -[package.metadata.release] -tag-prefix = "spake2-v" -tag-message = "(cargo-release) spake2-v{{version}}" -pre-release-commit-message = "(cargo-release) spake2-v{{version}}" -pro-release-commit-message = "(cargo-release) start next development iteration spake2-v{{version}}" - -[badges] -travis-ci = { repository = "RustCrypto/PAKEs" } -is-it-maintained-issue-resolution = { repository = "RustCrypto/PAKEs" } -is-it-maintained-open-issues = { repository = "RustCrypto/PAKEs" } +exclude = [".gitignore"] +readme = "README.md" +edition = "2021" +rust-version = "1.56" [dependencies] -curve25519-dalek = "1" -rand = "0.6" -sha2 = "0.8" -hkdf = "0.8" -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" -num-bigint = "0.2" +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"