Skip to content
This repository has been archived by the owner on Nov 29, 2023. It is now read-only.

Commit

Permalink
Revert "hotfix: snow dependency bug (#349)" (#350)
Browse files Browse the repository at this point in the history
This reverts commit e76a61d.
  • Loading branch information
ozwaldorf committed Jan 31, 2023
1 parent e76a61d commit 8a8ed33
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 29 deletions.
16 changes: 0 additions & 16 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,6 @@ jobs:
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
restore-keys: ${{ runner.os }}-cargo-

# https://github.com/mcginty/snow/issues/146
- name: fix snow
run: cargo update -p curve25519-dalek@4.0.0-rc.0 --precise 4.0.0-pre.5

- run: cargo test --workspace --all-features
- run: cargo test --workspace --no-default-features

Expand Down Expand Up @@ -125,10 +121,6 @@ jobs:
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
restore-keys: ${{ runner.os }}-cargo-

# https://github.com/mcginty/snow/issues/146
- name: fix snow
run: cargo update -p curve25519-dalek@4.0.0-rc.0 --precise 4.0.0-pre.5

- run: cargo test --workspace --all-features
- run: cargo test --workspace --no-default-features

Expand Down Expand Up @@ -183,10 +175,6 @@ jobs:
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
restore-keys: ${{ runner.os }}-cargo-

# https://github.com/mcginty/snow/issues/146
- name: fix snow
run: cargo update -p curve25519-dalek@4.0.0-rc.0 --precise 4.0.0-pre.5

- run: cargo clippy --workspace --all-targets -- -D warnings
- run: cargo clippy --workspace --all-targets --no-default-features -- -D warnings
- run: cargo clippy --workspace --all-targets --all-features -- -D warnings
Expand Down Expand Up @@ -231,8 +219,4 @@ jobs:
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
restore-keys: ${{ runner.os }}-cargo-

# https://github.com/mcginty/snow/issues/146
- name: fix snow
run: cargo update -p curve25519-dalek@4.0.0-rc.0 --precise 4.0.0-pre.5

- run: cargo fmt --all -- --check
5 changes: 0 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,6 @@ RUN --mount=type=cache,target=/usr/local/cargo/registry \
COPY . .
ENV RUST_BACKTRACE=1

# fix https://github.com/mcginty/snow/issues/146
RUN --mount=type=cache,target=/usr/local/cargo/registry \
--mount=type=cache,target=/ursa/target \
cargo update -p curve25519-dalek@4.0.0-rc.0 --precise 4.0.0-pre.5

RUN --mount=type=cache,target=/usr/local/cargo/registry \
--mount=type=cache,target=/ursa/target \
cargo build --profile $PROFILE --bin ursa \
Expand Down
5 changes: 0 additions & 5 deletions Dockerfile-gateway
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,6 @@ RUN --mount=type=cache,target=/usr/local/cargo/registry \
COPY . .
ENV RUST_BACKTRACE=1

# fix https://github.com/mcginty/snow/issues/146
RUN --mount=type=cache,target=/usr/local/cargo/registry \
--mount=type=cache,target=/ursa/target \
cargo update -p curve25519-dalek@4.0.0-rc.0 --precise 4.0.0-pre.5

RUN --mount=type=cache,target=/usr/local/cargo/registry \
--mount=type=cache,target=/ursa/target \
cargo build --profile $PROFILE --bin ursa-gateway \
Expand Down
3 changes: 0 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
DOCKER_BUILDKIT=1
COMPOSE_DOCKER_CLI_BUILD=1

fix-deps:
cargo update -p curve25519-dalek@4.0.0-rc.0 --precise 4.0.0-pre.5

version:
cargo --version
rustc --version
Expand Down

0 comments on commit 8a8ed33

Please sign in to comment.