Skip to content

Commit

Permalink
Making the dalek dependencies a less specific version (#176)
Browse files Browse the repository at this point in the history
Co-authored-by: Sean Lawlor <[email protected]>
  • Loading branch information
slawlor and slawlor authored Mar 16, 2022
1 parent e2a800e commit c000ff9
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
5 changes: 3 additions & 2 deletions akd/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "akd"
version = "0.5.2"
version = "0.5.3"
authors = ["Harjasleen Malvai <[email protected]>", "Kevin Lewi <[email protected]>", "Sean Lawlor <[email protected]>"]
description = "An implementation of an auditable key directory"
license = "MIT OR Apache-2.0"
Expand All @@ -11,11 +11,12 @@ readme = "../README.md"

[features]
bench = ["public-tests"]
public-tests = ["rand", "bincode", "serde", "colored", "once_cell", "ed25519-dalek/serde"]
public-tests = ["rand", "bincode", "colored", "once_cell", "serde_serialization"]
# In the event that VRF's are enabled, AND builder has requested serde support
# Add the serde flag to the dalek crate with --features "ed25519-dalek/serde"
vrf = ["curve25519-dalek", "ed25519-dalek"]
default = ["vrf"]
serde_serialization = ["serde", "ed25519-dalek/serde"]

[dependencies]
## Required dependencies ##
Expand Down
4 changes: 2 additions & 2 deletions akd_client/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "akd_client"
version = "0.5.2"
version = "0.5.3"
authors = ["Harjasleen Malvai <[email protected]>", "Kevin Lewi <[email protected]>", "Sean Lawlor <[email protected]>"]
description = "Client verification companion for the auditable key directory with limited dependencies."
license = "MIT OR Apache-2.0"
Expand All @@ -27,7 +27,7 @@ serde = { version = "1.0", optional = true, features = ["derive"]}
# Unfortunately, `wee_alloc` requires nightly Rust when targeting wasm for now.
wee_alloc = { version = "0.4.5", optional = true }

curve25519-dalek = { version = "3.2", optional = true }
curve25519-dalek = { version = "3", optional = true }
ed25519-dalek = { version = "1", features = ["serde"], optional = true}

[features]
Expand Down
6 changes: 3 additions & 3 deletions akd_mysql/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "akd_mysql"
version = "0.5.2"
version = "0.5.3"
authors = ["Harjasleen Malvai <[email protected]>", "Kevin Lewi <[email protected]>", "Sean Lawlor <[email protected]>"]
description = "A MySQL storage layer implementation for an auditable key directory (AKD)"
license = "MIT OR Apache-2.0"
Expand All @@ -23,9 +23,9 @@ tokio = { version = "1.10", features = ["full"] }
async-recursion = "0.3"
mysql_async = "0.29"
log = { version = "0.4.8", features = ["kv_unstable"] }
akd = { path = "../akd", version = "^0.5.0", features = ["serde"] }
akd = { path = "../akd", version = "^0.5.0", features = ["serde_serialization"] }

[dev-dependencies]
criterion = "0.3"
serial_test = "0.5"
akd = { path = "../akd", version = "^0.5.0", features = ["public-tests", "serde"] }
akd = { path = "../akd", version = "^0.5.0", features = ["public-tests"] }

0 comments on commit c000ff9

Please sign in to comment.