Skip to content

Commit

Permalink
Merge pull request #348 from serai-dex/current-crypto-crates
Browse files Browse the repository at this point in the history
Current crypto crates
  • Loading branch information
kayabaNerve authored Aug 21, 2023
2 parents e319762 + dd523b2 commit 906d3b9
Show file tree
Hide file tree
Showing 18 changed files with 74 additions and 74 deletions.
26 changes: 13 additions & 13 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions coins/bitcoin/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@ bitcoin = { version = "0.30", features = ["serde"] }

k256 = { version = "^0.13.1", default-features = false, features = ["std", "arithmetic", "bits"] }
transcript = { package = "flexible-transcript", path = "../../crypto/transcript", version = "0.3", features = ["recommended"] }
frost = { package = "modular-frost", path = "../../crypto/frost", version = "0.7", features = ["secp256k1"] }
frost = { package = "modular-frost", path = "../../crypto/frost", version = "0.8", features = ["secp256k1"] }

hex = "0.4"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
reqwest = { version = "0.11", features = ["json"] }

[dev-dependencies]
frost = { package = "modular-frost", path = "../../crypto/frost", version = "0.7", features = ["tests"] }
frost = { package = "modular-frost", path = "../../crypto/frost", features = ["tests"] }

tokio = { version = "1", features = ["full"] }

Expand Down
18 changes: 9 additions & 9 deletions coins/monero/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ all-features = true
rustdoc-args = ["--cfg", "docsrs"]

[dependencies]
std-shims = { path = "../../common/std-shims", version = "0.1", default-features = false }
std-shims = { path = "../../common/std-shims", version = "^0.1.1", default-features = false }

async-trait = { version = "0.1", default-features = false }
thiserror = { version = "1", optional = true }
Expand All @@ -35,15 +35,15 @@ curve25519-dalek = { version = "4", default-features = false, features = ["alloc

# Used for the hash to curve, along with the more complicated proofs
group = { version = "0.13", default-features = false }
dalek-ff-group = { path = "../../crypto/dalek-ff-group", version = "0.3", default-features = false }
multiexp = { path = "../../crypto/multiexp", version = "0.3", default-features = false, features = ["batch"] }
dalek-ff-group = { path = "../../crypto/dalek-ff-group", version = "0.4", default-features = false }
multiexp = { path = "../../crypto/multiexp", version = "0.4", default-features = false, features = ["batch"] }

# Needed for multisig
transcript = { package = "flexible-transcript", path = "../../crypto/transcript", version = "0.3", default-features = false, features = ["recommended"], optional = true }
dleq = { path = "../../crypto/dleq", version = "0.3", features = ["serialize"], optional = true }
frost = { package = "modular-frost", path = "../../crypto/frost", version = "0.7", features = ["ed25519"], optional = true }
dleq = { path = "../../crypto/dleq", version = "0.4", features = ["serialize"], optional = true }
frost = { package = "modular-frost", path = "../../crypto/frost", version = "0.8", features = ["ed25519"], optional = true }

monero-generators = { path = "generators", version = "0.3", default-features = false }
monero-generators = { path = "generators", version = "0.4", default-features = false }

futures = { version = "0.3", default-features = false, features = ["alloc"], optional = true }

Expand All @@ -62,13 +62,13 @@ reqwest = { version = "0.11", features = ["json"], optional = true }
tokio = { version = "1", features = ["rt-multi-thread", "macros"], optional = true }

[build-dependencies]
dalek-ff-group = { path = "../../crypto/dalek-ff-group", version = "0.3", default-features = false }
monero-generators = { path = "generators", version = "0.3", default-features = false }
dalek-ff-group = { path = "../../crypto/dalek-ff-group", version = "0.4", default-features = false }
monero-generators = { path = "generators", version = "0.4", default-features = false }

[dev-dependencies]
tokio = { version = "1", features = ["rt-multi-thread", "sync", "macros"] }

frost = { package = "modular-frost", path = "../../crypto/frost", version = "0.7", features = ["tests"] }
frost = { package = "modular-frost", path = "../../crypto/frost", features = ["tests"] }

[features]
std = [
Expand Down
6 changes: 3 additions & 3 deletions coins/monero/generators/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "monero-generators"
version = "0.3.0"
version = "0.4.0"
description = "Monero's hash_to_point and generators"
license = "MIT"
repository = "https://github.com/serai-dex/serai/tree/develop/coins/monero/generators"
Expand All @@ -12,7 +12,7 @@ all-features = true
rustdoc-args = ["--cfg", "docsrs"]

[dependencies]
std-shims = { path = "../../../common/std-shims", version = "0.1", default-features = false }
std-shims = { path = "../../../common/std-shims", version = "^0.1.1", default-features = false }

subtle = { version = "^2.4", default-features = false }

Expand All @@ -21,7 +21,7 @@ sha3 = { version = "0.10", default-features = false }
curve25519-dalek = { version = "4", default-features = false, features = ["alloc", "zeroize", "precomputed-tables"] }

group = { version = "0.13", default-features = false }
dalek-ff-group = { path = "../../../crypto/dalek-ff-group", version = "0.3" }
dalek-ff-group = { path = "../../../crypto/dalek-ff-group", version = "0.4" }

[features]
std = ["std-shims/std"]
Expand Down
2 changes: 1 addition & 1 deletion common/std-shims/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "std-shims"
version = "0.1.0"
version = "0.1.1"
description = "A series of std shims to make alloc more feasible"
license = "MIT"
repository = "https://github.com/serai-dex/serai/tree/develop/common/std-shims"
Expand Down
10 changes: 5 additions & 5 deletions crypto/ciphersuite/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ciphersuite"
version = "0.3.0"
version = "0.4.1"
description = "Ciphersuites built around ff/group"
license = "MIT"
repository = "https://github.com/serai-dex/serai/tree/develop/crypto/ciphersuite"
Expand All @@ -14,28 +14,28 @@ all-features = true
rustdoc-args = ["--cfg", "docsrs"]

[dependencies]
std-shims = { path = "../../common/std-shims", version = "0.1", default-features = false, optional = true }
std-shims = { path = "../../common/std-shims", version = "^0.1.1", default-features = false, optional = true }

rand_core = { version = "0.6", default-features = false }

zeroize = { version = "^1.5", default-features = false }
subtle = { version = "^2.4", default-features = false }

digest = { version = "0.10", default-features = false }
transcript = { package = "flexible-transcript", path = "../transcript", version = "0.3", default-features = false }
transcript = { package = "flexible-transcript", path = "../transcript", version = "^0.3.2", default-features = false }
sha2 = { version = "0.10", default-features = false, optional = true }
sha3 = { version = "0.10", default-features = false, optional = true }

ff = { version = "0.13", default-features = false, features = ["bits"] }
group = { version = "0.13", default-features = false }

dalek-ff-group = { path = "../dalek-ff-group", version = "0.3", default-features = false, optional = true }
dalek-ff-group = { path = "../dalek-ff-group", version = "0.4", default-features = false, optional = true }

elliptic-curve = { version = "0.13", default-features = false, features = ["hash2curve"], optional = true }
p256 = { version = "^0.13.1", default-features = false, features = ["arithmetic", "bits", "hash2curve"], optional = true }
k256 = { version = "^0.13.1", default-features = false, features = ["arithmetic", "bits", "hash2curve"], optional = true }

minimal-ed448 = { path = "../ed448", version = "0.3", default-features = false, optional = true }
minimal-ed448 = { path = "../ed448", version = "0.4", default-features = false, optional = true }

[dev-dependencies]
hex = "0.4"
Expand Down
2 changes: 1 addition & 1 deletion crypto/dalek-ff-group/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "dalek-ff-group"
version = "0.3.0"
version = "0.4.0"
description = "ff/group bindings around curve25519-dalek"
license = "MIT"
repository = "https://github.com/serai-dex/serai/tree/develop/crypto/dalek-ff-group"
Expand Down
14 changes: 7 additions & 7 deletions crypto/dkg/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "dkg"
version = "0.4.0"
version = "0.5.1"
description = "Distributed key generation over ff/group"
license = "MIT"
repository = "https://github.com/serai-dex/serai/tree/develop/crypto/dkg"
Expand All @@ -24,18 +24,18 @@ std-shims = { version = "0.1", path = "../../common/std-shims", default-features

serde = { version = "1", features = ["derive"], optional = true }

transcript = { package = "flexible-transcript", path = "../transcript", version = "0.3", default-features = false, features = ["recommended"] }
transcript = { package = "flexible-transcript", path = "../transcript", version = "^0.3.2", default-features = false, features = ["recommended"] }
chacha20 = { version = "0.9", default-features = false, features = ["zeroize"] }

ciphersuite = { path = "../ciphersuite", version = "0.3", default-features = false }
multiexp = { path = "../multiexp", version = "0.3", default-features = false }
ciphersuite = { path = "../ciphersuite", version = "^0.4.1", default-features = false }
multiexp = { path = "../multiexp", version = "0.4", default-features = false }

schnorr = { package = "schnorr-signatures", path = "../schnorr", version = "0.4", default-features = false }
dleq = { path = "../dleq", version = "0.3", default-features = false }
schnorr = { package = "schnorr-signatures", path = "../schnorr", version = "^0.5.1", default-features = false }
dleq = { path = "../dleq", version = "^0.4.1", default-features = false }

[dev-dependencies]
rand_core = { version = "0.6", default-features = false, features = ["getrandom"] }
ciphersuite = { path = "../ciphersuite", version = "0.3", default-features = false, features = ["ristretto"] }
ciphersuite = { path = "../ciphersuite", default-features = false, features = ["ristretto"] }

[features]
std = [
Expand Down
6 changes: 3 additions & 3 deletions crypto/dleq/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "dleq"
version = "0.3.1"
version = "0.4.1"
description = "Implementation of single and cross-curve Discrete Log Equality proofs"
license = "MIT"
repository = "https://github.com/serai-dex/serai/tree/develop/crypto/dleq"
Expand All @@ -21,12 +21,12 @@ rand_core = { version = "0.6", default-features = false }
zeroize = { version = "^1.5", default-features = false, features = ["zeroize_derive"] }

digest = { version = "0.10", default-features = false }
transcript = { package = "flexible-transcript", path = "../transcript", version = "0.3", default-features = false }
transcript = { package = "flexible-transcript", path = "../transcript", version = "^0.3.2", default-features = false }

ff = { version = "0.13", default-features = false }
group = { version = "0.13", default-features = false }

multiexp = { path = "../multiexp", version = "0.3", default-features = false, features = ["batch"], optional = true }
multiexp = { path = "../multiexp", version = "0.4", default-features = false, features = ["batch"], optional = true }

[dev-dependencies]
hex-literal = "0.4"
Expand Down
2 changes: 1 addition & 1 deletion crypto/ed448/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "minimal-ed448"
version = "0.3.1"
version = "0.4.0"
description = "Unaudited, inefficient implementation of Ed448 in Rust"
license = "MIT"
repository = "https://github.com/serai-dex/serai/tree/develop/crypto/ed448"
Expand Down
2 changes: 1 addition & 1 deletion crypto/ff-group-tests/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ff-group-tests"
version = "0.13.0"
version = "0.13.1"
description = "A collection of sanity tests for implementors of ff/group APIs"
license = "MIT"
repository = "https://github.com/serai-dex/serai/tree/develop/crypto/ff-group-tests"
Expand Down
20 changes: 10 additions & 10 deletions crypto/frost/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "modular-frost"
version = "0.7.0"
version = "0.8.1"
description = "Modular implementation of FROST over ff/group"
license = "MIT"
repository = "https://github.com/serai-dex/serai/tree/develop/crypto/frost"
Expand All @@ -25,25 +25,25 @@ subtle = "^2.4"
hex = { version = "0.4", optional = true }

digest = "0.10"
transcript = { package = "flexible-transcript", path = "../transcript", version = "0.3", features = ["recommended"] }
transcript = { package = "flexible-transcript", path = "../transcript", version = "^0.3.2", features = ["recommended"] }

dalek-ff-group = { path = "../dalek-ff-group", version = "0.3", optional = true }
minimal-ed448 = { path = "../ed448", version = "0.3", optional = true }
dalek-ff-group = { path = "../dalek-ff-group", version = "0.4", optional = true }
minimal-ed448 = { path = "../ed448", version = "0.4", optional = true }

ciphersuite = { path = "../ciphersuite", version = "0.3", features = ["std"] }
ciphersuite = { path = "../ciphersuite", version = "^0.4.1", features = ["std"] }

multiexp = { path = "../multiexp", version = "0.3", features = ["batch"] }
multiexp = { path = "../multiexp", version = "0.4", features = ["batch"] }

schnorr = { package = "schnorr-signatures", path = "../schnorr", version = "0.4" }
dleq = { path = "../dleq", version = "0.3", features = ["serialize"] }
schnorr = { package = "schnorr-signatures", path = "../schnorr", version = "^0.5.1" }
dleq = { path = "../dleq", version = "^0.4.1", features = ["serialize"] }

dkg = { path = "../dkg", version = "0.4" }
dkg = { path = "../dkg", version = "^0.5.1" }

[dev-dependencies]
hex = "0.4"
serde_json = "1"

dkg = { path = "../dkg", version = "0.4", features = ["tests"] }
dkg = { path = "../dkg", features = ["tests"] }

[features]
ed25519 = ["dalek-ff-group", "ciphersuite/ed25519"]
Expand Down
4 changes: 2 additions & 2 deletions crypto/multiexp/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "multiexp"
version = "0.3.1"
version = "0.4.0"
description = "Multiexponentation algorithms for ff/group"
license = "MIT"
repository = "https://github.com/serai-dex/serai/tree/develop/crypto/multiexp"
Expand All @@ -16,7 +16,7 @@ rustdoc-args = ["--cfg", "docsrs"]
[dependencies]
rustversion = "1"

std-shims = { path = "../../common/std-shims", version = "0.1", default-features = false }
std-shims = { path = "../../common/std-shims", version = "^0.1.1", default-features = false }

zeroize = { version = "^1.5", default-features = false, features = ["zeroize_derive"] }

Expand Down
Loading

0 comments on commit 906d3b9

Please sign in to comment.