Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes for publishing entropy-tss and entropy-testing-utils #837

Merged
merged 6 commits into from
May 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions crates/testing-utils/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
[package]
name ="entropy-testing-utils"
description="Utiliites for testing the Entropy Threshold Signature Server"
description="Utilities for testing the Entropy Threshold Signature Server"
version ='0.1.0-rc.1'
authors =['Entropy Cryptography <[email protected]>']
homepage ='https://entropy.xyz/'
license ='AGPL-3.0-or-later'
repository ='https://github.com/entropyxyz/entropy-core'
edition ='2021'
publish =false

[dependencies]
subxt ="0.35.3"
Expand Down
32 changes: 20 additions & 12 deletions crates/threshold-signature-server/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -72,19 +72,27 @@ sha2 ="0.10.8"
hkdf ="0.12.4"

[dev-dependencies]
entropy-testing-utils={ version="0.1.0-rc.1", path="../testing-utils" }
serial_test ="3.1.1"
hex-literal ="0.4.1"
project-root ="0.2.2"
sp-keyring ="34.0.0"
more-asserts ="0.3.1"
lazy_static ="1.4.0"
entropy-protocol ={ version="0.1.0-rc.1", path="../protocol", features=["unsafe"] }
blake3 ="1.5.1"
ethers-core ="2.0.14"
schnorrkel ={ version="0.11.4", default-features=false, features=["std"] }
serial_test ="3.1.1"
hex-literal ="0.4.1"
project-root="0.2.2"
sp-keyring ="34.0.0"
more-asserts="0.3.1"
lazy_static ="1.4.0"
blake3 ="1.5.1"
ethers-core ="2.0.14"
schnorrkel ={ version="0.11.4", default-features=false, features=["std"] }
schemars ={ version="0.8.19" }

# Note: We don't specify versions here because otherwise we run into a cyclical dependency between
# `entropy-tss` and `entropy-testing-utils` when we try and publish the `entropy-tss` crate.
#
# By not specifying a version Cargo automatically removes these crates before publishing, allowing
# the process to succeed.
#
# See: https://github.com/rust-lang/cargo/issues/4242
entropy-client ={ path="../client", features=["full-client-native"] }
schemars ={ version="0.8.19" }
entropy-protocol ={ path="../protocol", features=["unsafe"] }
entropy-testing-utils={ path="../testing-utils" }

[build-dependencies]
vergen={ version="8.0.0", features=["build", "git", "gitcl"] }
Expand Down
3 changes: 2 additions & 1 deletion deny.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,10 @@ exceptions=[
{ allow=["AGPL-3.0"], name="entropy-kvdb" },
{ allow=["AGPL-3.0"], name="entropy-protocol" },
{ allow=["AGPL-3.0"], name="entropy-shared" },
{ allow=["AGPL-3.0"], name="entropy-test-cli" },
{ allow=["AGPL-3.0"], name="entropy-tss" },
{ allow=["AGPL-3.0"], name="entropy-client" },
{ allow=["AGPL-3.0"], name="entropy-testing-utils" },
{ allow=["AGPL-3.0"], name="entropy-test-cli" },

# Other Entropy crates
{ allow=["AGPL-3.0"], name="entropy-programs-core" },
Expand Down