Add clippy::cargo and remove dependencies (#23)

This commit is contained in:
daxpedda
2021-10-05 17:52:08 -07:00
committed by GitHub
parent 6fb4cad59c
commit c93600498e
3 changed files with 6 additions and 15 deletions
+3 -12
View File
@@ -3,7 +3,9 @@ name = "voprf"
version = "0.1.0"
description = "An implementation of a verifiable oblivious pseudorandom function (VOPRF)"
authors = ["Kevin Lewi <[email protected]>"]
categories = ["no-std"]
repository = "https://github.com/novifinancial/voprf/"
categories = ["no-std", "algorithms", "cryptography"]
keywords = ["oprf"]
license = "MIT"
edition = "2018"
readme = "README.md"
@@ -20,14 +22,11 @@ serialize = ["serde", "base64", "generic-array/serde", "curve25519-dalek/serde"]
[dependencies]
base64 = { version = "0.13", default-features = false, features = ["alloc"], optional = true }
constant_time_eq = "0.1"
curve25519-dalek = { version = "3", default-features = false }
digest = "0.9"
displaydoc = { version = "0.2", default-features = false }
generic-array = "0.14"
getrandom = { version = "0.2", optional = true }
hkdf = "0.11"
hmac = "0.11"
num-bigint = { version = "0.4", default-features = false, optional = true }
num-integer = { version = "0.1", default-features = false, optional = true }
num-traits = { version = "0.2", default-features = false, optional = true }
@@ -42,18 +41,10 @@ zeroize = { version = "1", features = ["zeroize_derive"] }
getrandom = { version = "0.2", features = ["js"], optional = true }
[dev-dependencies]
base64 = "0.13"
bincode = "1"
chacha20poly1305 = "0.8"
criterion = "0.3"
hex = "0.4"
json = "0.12"
lazy_static = "1"
serde_json = "1"
sha2 = "0.9"
proptest = "1"
regex = "1"
rustyline = "8"
voprf = { path = "", default-features = false, features = ["std"] }
[package.metadata.docs.rs]