diff --git a/.cargo/config.toml b/.cargo/config.toml index d59b360d40..015a4b34d2 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -1,8 +1,24 @@ [env] +# Enables unstable features for specific crates to take advantage of useful +# functionality not yet stabilized. Remove a crate from the list once all +# required features are stabilized. +# +# # Core crates (used in production) +# +# - mm2_state_machine: Depends on `negative_impls` and `auto_traits`. +# - mm2_err_handle: Depends on `negative_impls`, `auto_traits` and `allocator_api`. +# +# # Test crates (not leaked into the binary) +# +# - mocktopus: nightly only dependency. +# - mocktopus_macros: nightly only dependency. +# - docker_tests_main: Depends on `custom_test_frameworks` and `test`. +RUSTC_BOOTSTRAP = "mm2_state_machine,mm2_err_handle,mocktopus,mocktopus_macros,docker_tests_main" + JEMALLOC_SYS_WITH_MALLOC_CONF = "background_thread:true,narenas:1,tcache:false,dirty_decay_ms:0,muzzy_decay_ms:0,metadata_thp:auto" [target.'cfg(all())'] -rustflags = [ "-Zshare-generics=y", '--cfg=curve25519_dalek_backend="fiat"' ] +rustflags = [ '--cfg=curve25519_dalek_backend="fiat"' ] # # Install lld using package manager # [target.x86_64-unknown-linux-gnu] diff --git a/.docker/Dockerfile.ci-container b/.docker/Dockerfile.ci-container index 77f68f166b..39eee8f49c 100644 --- a/.docker/Dockerfile.ci-container +++ b/.docker/Dockerfile.ci-container @@ -1,6 +1,6 @@ FROM docker.io/debian:bullseye-slim -MAINTAINER Onur Özkan +LABEL maintainer="Onur Özkan " RUN apt-get update -y diff --git a/.docker/Dockerfile.dev-release b/.docker/Dockerfile.dev-release index 74abcb02e3..e61f129ead 100644 --- a/.docker/Dockerfile.dev-release +++ b/.docker/Dockerfile.dev-release @@ -1,6 +1,5 @@ FROM docker.io/debian:stable-slim WORKDIR /kdf COPY target/release/kdf /usr/local/bin/kdf -COPY target/release/mm2 /usr/local/bin/mm2 EXPOSE 7783 CMD ["kdf"] diff --git a/.docker/Dockerfile.release b/.docker/Dockerfile.release index d9d8d51325..4bc8398893 100644 --- a/.docker/Dockerfile.release +++ b/.docker/Dockerfile.release @@ -1,6 +1,5 @@ FROM docker.io/debian:stable-slim WORKDIR /kdf COPY target/release/kdf /usr/local/bin/kdf -COPY target/release/mm2 /usr/local/bin/mm2 EXPOSE 7783 CMD ["kdf"] \ No newline at end of file diff --git a/.git-blame-ignore-revs b/.git-blame-ignore-revs new file mode 100644 index 0000000000..661e476ea0 --- /dev/null +++ b/.git-blame-ignore-revs @@ -0,0 +1,4 @@ +# Toolchain upgrades: +1979c6e3667e78ff53b47aecafb90ca9507d10e2 +daf43ebeadf0b8e17f2b76019c6496236f4dd46c +7d51c5a6ab4390e4db8c4510db7012abe6cec8ad diff --git a/.github/actions/build-cache/action.yml b/.github/actions/build-cache/action.yml index c5af862e1b..26e3f51eb9 100644 --- a/.github/actions/build-cache/action.yml +++ b/.github/actions/build-cache/action.yml @@ -6,5 +6,10 @@ runs: - name: Checkout repository uses: actions/checkout@v3 + - name: Set up Node.js + uses: actions/setup-node@v4 + with: + node-version: '20' + - name: Set up rust-cache uses: Swatinem/rust-cache@v2 diff --git a/.github/workflows/dev-build.yml b/.github/workflows/dev-build.yml index 8fb32b9c73..d3a171cd43 100644 --- a/.github/workflows/dev-build.yml +++ b/.github/workflows/dev-build.yml @@ -10,7 +10,6 @@ concurrency: env: BRANCH_NAME: ${{ github.head_ref || github.ref_name }} - JEMALLOC_SYS_WITH_MALLOC_CONF: "background_thread:true,narenas:1,tcache:false,dirty_decay_ms:0,muzzy_decay_ms:0,metadata_thp:auto" jobs: linux-x86-64: @@ -29,8 +28,8 @@ jobs: - name: Install toolchain run: | - rustup toolchain install nightly-2023-06-01 --no-self-update --profile=minimal - rustup default nightly-2023-06-01 + rustup toolchain install stable --no-self-update --profile=minimal + rustup default stable - name: Install build deps uses: ./.github/actions/deps-install @@ -61,6 +60,7 @@ jobs: SAFE_DIR_NAME=$(echo "$BRANCH_NAME" | tr '/' '-') mkdir $SAFE_DIR_NAME mv $NAME ./$SAFE_DIR_NAME/ + shasum -a 256 ./$SAFE_DIR_NAME/$NAME | tee ./$SAFE_DIR_NAME/$NAME.sha256 - name: Upload build artifact env: @@ -92,8 +92,8 @@ jobs: - uses: actions/checkout@v3 - name: Install toolchain run: | - rustup toolchain install nightly-2023-06-01 --no-self-update --profile=minimal - rustup default nightly-2023-06-01 + rustup toolchain install stable --no-self-update --profile=minimal + rustup default stable rustup target add x86_64-apple-darwin - name: Install build deps @@ -131,6 +131,7 @@ jobs: SAFE_DIR_NAME=$(echo "$BRANCH_NAME" | tr '/' '-') mkdir $SAFE_DIR_NAME mv $NAME ./$SAFE_DIR_NAME/ + shasum -a 256 ./$SAFE_DIR_NAME/$NAME | tee ./$SAFE_DIR_NAME/$NAME.sha256 - name: Upload build artifact env: @@ -150,8 +151,8 @@ jobs: - uses: actions/checkout@v3 - name: Install toolchain run: | - rustup toolchain install nightly-2023-06-01 --no-self-update --profile=minimal - rustup default nightly-2023-06-01 + rustup toolchain install stable --no-self-update --profile=minimal + rustup default stable rustup target add aarch64-apple-darwin - name: Install build deps @@ -189,6 +190,7 @@ jobs: SAFE_DIR_NAME=$(echo "$BRANCH_NAME" | tr '/' '-') mkdir $SAFE_DIR_NAME mv $NAME ./$SAFE_DIR_NAME/ + shasum -a 256 ./$SAFE_DIR_NAME/$NAME | tee ./$SAFE_DIR_NAME/$NAME.sha256 - name: Upload build artifact env: @@ -253,6 +255,7 @@ jobs: SAFE_DIR_NAME=$(echo "$BRANCH_NAME" | tr '/' '-') mkdir $SAFE_DIR_NAME mv $NAME ./$SAFE_DIR_NAME/ + shasum -a 256 ./$SAFE_DIR_NAME/$NAME | tee ./$SAFE_DIR_NAME/$NAME.sha256 - name: Upload build artifact env: @@ -272,8 +275,8 @@ jobs: - uses: actions/checkout@v3 - name: Install toolchain run: | - rustup toolchain install nightly-2023-06-01 --no-self-update --profile=minimal - rustup default nightly-2023-06-01 + rustup toolchain install stable --no-self-update --profile=minimal + rustup default stable - name: Install build deps uses: ./.github/actions/deps-install @@ -305,6 +308,12 @@ jobs: mkdir $SAFE_DIR_NAME mv $NAME ./$SAFE_DIR_NAME/ + # Generate the SHA256 hash for the zip file + Get-FileHash ./$SAFE_DIR_NAME/$NAME -Algorithm SHA256 | Format-Table Hash | Out-File "./$SAFE_DIR_NAME/$NAME.sha256" -Encoding ascii + + # Display the SHA256 hash in Actions logs + Get-Content "./$SAFE_DIR_NAME/$NAME.sha256" + - name: Upload build artifact env: FILE_SERVER_HOST: ${{ secrets.FILE_SERVER_HOST }} @@ -323,8 +332,8 @@ jobs: - uses: actions/checkout@v3 - name: Install toolchain run: | - rustup toolchain install nightly-2023-06-01 --no-self-update --profile=minimal - rustup default nightly-2023-06-01 + rustup toolchain install stable --no-self-update --profile=minimal + rustup default stable rustup target add x86_64-apple-darwin - name: Install build deps @@ -357,6 +366,7 @@ jobs: SAFE_DIR_NAME=$(echo "$BRANCH_NAME" | tr '/' '-') mkdir $SAFE_DIR_NAME mv $NAME ./$SAFE_DIR_NAME/ + shasum -a 256 ./$SAFE_DIR_NAME/$NAME | tee ./$SAFE_DIR_NAME/$NAME.sha256 - name: Upload build artifact env: @@ -390,8 +400,8 @@ jobs: - name: Install toolchain run: | - rustup toolchain install nightly-2023-06-01 --no-self-update --profile=minimal - rustup default nightly-2023-06-01 + rustup toolchain install stable --no-self-update --profile=minimal + rustup default stable rustup target add wasm32-unknown-unknown - name: Install wasm-pack @@ -422,6 +432,7 @@ jobs: SAFE_DIR_NAME=$(echo "$BRANCH_NAME" | tr '/' '-') mkdir $SAFE_DIR_NAME mv $NAME ./$SAFE_DIR_NAME/ + shasum -a 256 ./$SAFE_DIR_NAME/$NAME | tee ./$SAFE_DIR_NAME/$NAME.sha256 - name: Upload build artifact env: @@ -441,8 +452,8 @@ jobs: - uses: actions/checkout@v3 - name: Install toolchain run: | - rustup toolchain install nightly-2023-06-01 --no-self-update --profile=minimal - rustup default nightly-2023-06-01 + rustup toolchain install stable --no-self-update --profile=minimal + rustup default stable rustup target add aarch64-apple-ios - name: Install build deps @@ -475,6 +486,7 @@ jobs: SAFE_DIR_NAME=$(echo "$BRANCH_NAME" | tr '/' '-') mkdir $SAFE_DIR_NAME mv $NAME ./$SAFE_DIR_NAME/ + shasum -a 256 ./$SAFE_DIR_NAME/$NAME | tee ./$SAFE_DIR_NAME/$NAME.sha256 - name: Upload build artifact env: @@ -503,8 +515,8 @@ jobs: - name: Install toolchain run: | - rustup toolchain install nightly-2023-06-01 --no-self-update --profile=minimal - rustup default nightly-2023-06-01 + rustup toolchain install stable --no-self-update --profile=minimal + rustup default stable rustup target add aarch64-linux-android - name: Install build deps @@ -542,6 +554,7 @@ jobs: SAFE_DIR_NAME=$(echo "$BRANCH_NAME" | tr '/' '-') mkdir $SAFE_DIR_NAME mv $NAME ./$SAFE_DIR_NAME/ + shasum -a 256 ./$SAFE_DIR_NAME/$NAME | tee ./$SAFE_DIR_NAME/$NAME.sha256 - name: Upload build artifact env: @@ -570,8 +583,8 @@ jobs: - name: Install toolchain run: | - rustup toolchain install nightly-2023-06-01 --no-self-update --profile=minimal - rustup default nightly-2023-06-01 + rustup toolchain install stable --no-self-update --profile=minimal + rustup default stable rustup target add armv7-linux-androideabi - name: Install build deps @@ -609,6 +622,7 @@ jobs: SAFE_DIR_NAME=$(echo "$BRANCH_NAME" | tr '/' '-') mkdir $SAFE_DIR_NAME mv $NAME ./$SAFE_DIR_NAME/ + shasum -a 256 ./$SAFE_DIR_NAME/$NAME | tee ./$SAFE_DIR_NAME/$NAME.sha256 - name: Upload build artifact env: diff --git a/.github/workflows/fmt-and-lint.yml b/.github/workflows/fmt-and-lint.yml index 27e7f0cb85..fc1479240b 100644 --- a/.github/workflows/fmt-and-lint.yml +++ b/.github/workflows/fmt-and-lint.yml @@ -18,8 +18,8 @@ jobs: - name: Install toolchain run: | - rustup toolchain install nightly-2023-06-01 --no-self-update --profile=minimal --component rustfmt,clippy - rustup default nightly-2023-06-01 + rustup toolchain install stable --no-self-update --profile=minimal --component rustfmt,clippy + rustup default stable - name: Install build deps uses: ./.github/actions/deps-install @@ -45,8 +45,8 @@ jobs: - uses: actions/checkout@v3 - name: Install toolchain run: | - rustup toolchain install nightly-2023-06-01 --no-self-update --profile=minimal --component clippy - rustup default nightly-2023-06-01 + rustup toolchain install stable --no-self-update --profile=minimal --component clippy + rustup default stable rustup target add wasm32-unknown-unknown - name: Install build deps diff --git a/.github/workflows/pr-lint.yml b/.github/workflows/pr-lint.yml index 6ce7dedd0a..a7991c325d 100644 --- a/.github/workflows/pr-lint.yml +++ b/.github/workflows/pr-lint.yml @@ -44,13 +44,3 @@ jobs: echo "PR title is too long (greater than 85 characters)" exit 1 fi - - - name: Check PR labels - env: - LABEL_NAMES: ${{ toJson(github.event.pull_request.labels.*.name) }} - if: "!((contains(env.LABEL_NAMES, 'pending review') && !contains(env.LABEL_NAMES, 'in progress') && !contains(env.LABEL_NAMES, 'blocked')) - || (!contains(env.LABEL_NAMES, 'pending review') && contains(env.LABEL_NAMES, 'in progress') && !contains(env.LABEL_NAMES, 'blocked')) - || (!contains(env.LABEL_NAMES, 'pending review') && !contains(env.LABEL_NAMES, 'in progress') && contains(env.LABEL_NAMES, 'blocked')))" - run: | - echo "PR must have "exactly one" of these labels: ['status: pending review', 'status: in progress', 'status: blocked']." - exit 1 diff --git a/.github/workflows/pr-review-reminder.yml b/.github/workflows/pr-review-reminder.yml new file mode 100644 index 0000000000..a125dadeb9 --- /dev/null +++ b/.github/workflows/pr-review-reminder.yml @@ -0,0 +1,28 @@ +name: PR Review Reminder + +on: + schedule: + # Run at 12:00 PM everyday. + - cron: '0 12 * * *' + +jobs: + pr-review-reminder: + permissions: + contents: read + pull-requests: write + + runs-on: ubuntu-latest + name: PR Review Reminder + + steps: + - name: Run PR Review Reminder + uses: thundermiracle/review-reminder-action@224d83b90c76ac597776c79ba1f63539f0bc2795 + with: + stale-days: 2 + ignore-draft: true + # Don't ping people at weekends. + only-business-days: true + # 2 approvals are enough. + skip-approve-count: 2 + token: "${{ secrets.GITHUB_TOKEN }}" + send-reminder-comment: true diff --git a/.github/workflows/pr-wasm-preview.yml b/.github/workflows/pr-wasm-preview.yml new file mode 100644 index 0000000000..0233e0f317 --- /dev/null +++ b/.github/workflows/pr-wasm-preview.yml @@ -0,0 +1,208 @@ +name: PR WASM Preview Deployment + +on: + pull_request: + branches: + - main + - dev + types: + - opened + - synchronize + - reopened + - labeled + +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + +jobs: + build-deploy: + timeout-minutes: 60 + runs-on: ubuntu-latest + container: komodoofficial/ci-container:latest + if: "contains(github.event.pull_request.labels.*.name, 'deploy: wasm-playground')" + steps: + - uses: actions/checkout@v3 + + - name: pre scripts for ci container + run: | + git config --global --add safe.directory /__w/komodo-defi-framework/komodo-defi-framework + echo "/bin" >> $GITHUB_PATH + echo "/usr/bin" >> $GITHUB_PATH + echo "/root/.cargo/bin" >> $GITHUB_PATH + + - name: Install build deps + uses: ./.github/actions/deps-install + with: + deps: ('protoc') + + - name: Install toolchain + run: | + rustup toolchain install stable --no-self-update --profile=minimal + rustup default stable + rustup target add wasm32-unknown-unknown + + - name: Install wasm-pack + run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh + + - name: Calculate build tag + run: echo "KDF_BUILD_TAG=$(git rev-parse --short=7 ${{ github.event.pull_request.head.sha }})" >> $GITHUB_ENV + + - name: Build cache + uses: ./.github/actions/build-cache + + - name: Build WASM + run: wasm-pack build --release mm2src/mm2_bin_lib --target web --out-dir ../../target/target-wasm-release + + - name: Checkout React web interface + uses: actions/checkout@v3 + with: + repository: KomodoPlatform/react-komodefi-wasm + path: react-komodefi-wasm + + - name: Setup Node.js + uses: actions/setup-node@v4 + with: + node-version: "22" + + - name: Enable Corepack + run: corepack enable + working-directory: ./react-komodefi-wasm + + - name: Cache yarn dependencies + uses: actions/cache@v4 + with: + path: | + ./react-komodefi-wasm/.yarn/cache + ./react-komodefi-wasm/.yarn/unplugged + key: ${{ runner.os }}-yarn-${{ hashFiles('react-komodefi-wasm/yarn.lock') }} + restore-keys: | + ${{ runner.os }}-yarn- + + - name: Install dependencies + run: | + corepack install + yarn install + working-directory: ./react-komodefi-wasm + + - name: Update coins configuration + run: ./update_coins.sh + working-directory: ./react-komodefi-wasm + + - name: Update wasm build + run: | + # Copy WASM files from build output to React app + echo "Compressing WASM with gzip..." + gzip -9 -f -k ../target/target-wasm-release/kdflib_bg.wasm + echo "WASM compressed successfully" + + # Capture file sizes for PR comment + WASM_SIZE=$(ls -lh ../target/target-wasm-release/kdflib_bg.wasm | awk '{print $5}') + WASM_GZ_SIZE=$(ls -lh ../target/target-wasm-release/kdflib_bg.wasm.gz | awk '{print $5}') + echo "WASM_SIZE=${WASM_SIZE}" >> $GITHUB_ENV + echo "WASM_GZ_SIZE=${WASM_GZ_SIZE}" >> $GITHUB_ENV + echo "Original WASM size: ${WASM_SIZE}" + echo "Gzipped WASM size: ${WASM_GZ_SIZE}" + + cp ../target/target-wasm-release/kdflib_bg.wasm.gz public/kdflib_bg.wasm.gz + + # Copy JS and TypeScript files + cp ../target/target-wasm-release/kdflib.js src/js/kdflib.js + #cp ../target/target-wasm-release/kdflib.d.ts src/types/kdflib.d.ts + + rm -rf src/js/snippets/ + cp -r ../target/target-wasm-release/snippets src/js/ + + sed -i "s|new URL('kdflib_bg.wasm', import.meta.url);|new URL('kdflib_bg.wasm', process.env.NEXT_PUBLIC_BASE_PATH);|" src/js/kdflib.js + + # Create .env file with version info + echo "NEXT_PUBLIC_KDF_WASM_LIB_VERSION=${{ env.KDF_BUILD_TAG }}" > .env + echo "NEXT_PUBLIC_BASE_PATH=\"\"" >> .env + echo "NEXT_PUBLIC_KDF_PR_URL=\"https://github.com/KomodoPlatform/komodo-defi-framework/pull/${{ github.event.pull_request.number }}\"" >> .env + echo "NEXT_PUBLIC_KDF_TREE=\"https://github.com/KomodoPlatform/komodo-defi-framework/tree/${{ github.event.pull_request.head.sha }}\"" >> .env + working-directory: ./react-komodefi-wasm + + - name: Cache Next.js build + uses: actions/cache@v4 + with: + path: | + ./react-komodefi-wasm/.next/cache + key: ${{ runner.os }}-nextjs-${{ hashFiles('react-komodefi-wasm/yarn.lock') }}-${{ hashFiles('react-komodefi-wasm/**/*.js', 'react-komodefi-wasm/**/*.jsx', 'react-komodefi-wasm/**/*.ts', 'react-komodefi-wasm/**/*.tsx') }} + restore-keys: | + ${{ runner.os }}-nextjs-${{ hashFiles('react-komodefi-wasm/yarn.lock') }}- + ${{ runner.os }}-nextjs- + + - name: Build React app + run: yarn build + working-directory: ./react-komodefi-wasm + env: + NODE_ENV: production + + - name: Deploy to Cloudflare Pages + uses: cloudflare/wrangler-action@v3 + id: cloudflare-deploy + with: + apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} + accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} + command: pages deploy ./react-komodefi-wasm/dist --project-name=kdf-wasm-playground --branch=${{ github.event.pull_request.head.ref }} --commit-message="PR ${{ github.event.pull_request.number }} - ${{ env.KDF_BUILD_TAG }}" + gitHubToken: ${{ secrets.GITHUB_TOKEN }} + + - name: Comment PR with preview URL + uses: actions/github-script@v7 + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + script: | + const deploymentUrl = '${{ steps.cloudflare-deploy.outputs.deployment-url }}'; + const prNumber = context.issue.number; + const buildTag = '${{ env.KDF_BUILD_TAG }}'; + const targetBranch = '${{ github.base_ref }}'; + const wasmSize = '${{ env.WASM_SIZE }}'; + const wasmGzSize = '${{ env.WASM_GZ_SIZE }}'; + + // Find existing comment + const { data: comments } = await github.rest.issues.listComments({ + owner: context.repo.owner, + repo: context.repo.repo, + issue_number: prNumber + }); + + const botComment = comments.find(comment => + comment.user.type === 'Bot' && + comment.body.includes('KDF WASM Playground Previews') + ); + + let existingDeployments = []; + if (botComment) { + // Parse existing deployments from the comment + const lines = botComment.body.split('\n'); + for (const line of lines) { + // Match lines with deployment info (now includes sizes or old format) + if (line.includes('`') && line.includes('http')) { + existingDeployments.push(line.trim()); + } + } + } + + // Add new deployment with file sizes + const commitSha = '${{ github.event.pull_request.head.sha }}'; + const newDeployment = `[\`${buildTag}\`](https://github.com/${{ github.repository }}/tree/${commitSha}): ${deploymentUrl} (Original WASM: ${wasmSize}, Gzipped WASM: ${wasmGzSize})`; + existingDeployments.push(newDeployment); + + // Create updated comment with all deployments + const comment = `## KDF WASM Playground Previews\n\n${existingDeployments.join('\n')}`; + + if (botComment) { + await github.rest.issues.updateComment({ + owner: context.repo.owner, + repo: context.repo.repo, + comment_id: botComment.id, + body: comment + }); + } else { + await github.rest.issues.createComment({ + owner: context.repo.owner, + repo: context.repo.repo, + issue_number: prNumber, + body: comment + }); + } diff --git a/.github/workflows/release-build.yml b/.github/workflows/release-build.yml index 077ffb37b8..e84e622e3a 100644 --- a/.github/workflows/release-build.yml +++ b/.github/workflows/release-build.yml @@ -10,7 +10,6 @@ concurrency: env: BRANCH_NAME: ${{ github.head_ref || github.ref_name }} - JEMALLOC_SYS_WITH_MALLOC_CONF: "background_thread:true,narenas:1,tcache:false,dirty_decay_ms:0,muzzy_decay_ms:0,metadata_thp:auto" jobs: linux-x86-64: @@ -29,8 +28,8 @@ jobs: - name: Install toolchain run: | - rustup toolchain install nightly-2023-06-01 --no-self-update --profile=minimal - rustup default nightly-2023-06-01 + rustup toolchain install stable --no-self-update --profile=minimal + rustup default stable - name: Install build deps uses: ./.github/actions/deps-install @@ -87,8 +86,8 @@ jobs: - uses: actions/checkout@v3 - name: Install toolchain run: | - rustup toolchain install nightly-2023-06-01 --no-self-update --profile=minimal - rustup default nightly-2023-06-01 + rustup toolchain install stable --no-self-update --profile=minimal + rustup default stable rustup target add x86_64-apple-darwin - name: Install build deps @@ -142,8 +141,8 @@ jobs: - uses: actions/checkout@v3 - name: Install toolchain run: | - rustup toolchain install nightly-2023-06-01 --no-self-update --profile=minimal - rustup default nightly-2023-06-01 + rustup toolchain install stable --no-self-update --profile=minimal + rustup default stable rustup target add aarch64-apple-darwin - name: Install build deps @@ -193,7 +192,7 @@ jobs: mac-universal: timeout-minutes: 60 runs-on: macos-latest - needs: [mac-x86-64, mac-arm64] + needs: [mac-x86-64, mac-arm64] steps: - uses: actions/checkout@v3 @@ -261,8 +260,8 @@ jobs: - uses: actions/checkout@v3 - name: Install toolchain run: | - rustup toolchain install nightly-2023-06-01 --no-self-update --profile=minimal - rustup default nightly-2023-06-01 + rustup toolchain install stable --no-self-update --profile=minimal + rustup default stable - name: Install build deps uses: ./.github/actions/deps-install @@ -309,8 +308,8 @@ jobs: - uses: actions/checkout@v3 - name: Install toolchain run: | - rustup toolchain install nightly-2023-06-01 --no-self-update --profile=minimal - rustup default nightly-2023-06-01 + rustup toolchain install stable --no-self-update --profile=minimal + rustup default stable rustup target add x86_64-apple-darwin - name: Install build deps @@ -373,8 +372,8 @@ jobs: - name: Install toolchain run: | - rustup toolchain install nightly-2023-06-01 --no-self-update --profile=minimal - rustup default nightly-2023-06-01 + rustup toolchain install stable --no-self-update --profile=minimal + rustup default stable rustup target add wasm32-unknown-unknown - name: Install wasm-pack @@ -421,8 +420,8 @@ jobs: - uses: actions/checkout@v3 - name: Install toolchain run: | - rustup toolchain install nightly-2023-06-01 --no-self-update --profile=minimal - rustup default nightly-2023-06-01 + rustup toolchain install stable --no-self-update --profile=minimal + rustup default stable rustup target add aarch64-apple-ios - name: Install build deps @@ -480,8 +479,8 @@ jobs: - name: Install toolchain run: | - rustup toolchain install nightly-2023-06-01 --no-self-update --profile=minimal - rustup default nightly-2023-06-01 + rustup toolchain install stable --no-self-update --profile=minimal + rustup default stable rustup target add aarch64-linux-android - name: Install build deps @@ -544,8 +543,8 @@ jobs: - name: Install toolchain run: | - rustup toolchain install nightly-2023-06-01 --no-self-update --profile=minimal - rustup default nightly-2023-06-01 + rustup toolchain install stable --no-self-update --profile=minimal + rustup default stable rustup target add armv7-linux-androideabi - name: Install build deps diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index bc242f6547..af01024734 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -25,8 +25,8 @@ jobs: - uses: actions/checkout@v3 - name: Install toolchain run: | - rustup toolchain install nightly-2023-06-01 --no-self-update --profile=minimal - rustup default nightly-2023-06-01 + rustup toolchain install stable --no-self-update --profile=minimal + rustup default stable - name: Install build deps uses: ./.github/actions/deps-install @@ -53,8 +53,8 @@ jobs: - uses: actions/checkout@v3 - name: Install toolchain run: | - rustup toolchain install nightly-2023-06-01 --no-self-update --profile=minimal - rustup default nightly-2023-06-01 + rustup toolchain install stable --no-self-update --profile=minimal + rustup default stable - name: Install build deps uses: ./.github/actions/deps-install @@ -81,8 +81,8 @@ jobs: - uses: actions/checkout@v3 - name: Install toolchain run: | - rustup toolchain install nightly-2023-06-01 --no-self-update --profile=minimal - rustup default nightly-2023-06-01 + rustup toolchain install stable --no-self-update --profile=minimal + rustup default stable - name: Install build deps uses: ./.github/actions/deps-install @@ -109,8 +109,8 @@ jobs: - uses: actions/checkout@v3 - name: Install toolchain run: | - rustup toolchain install nightly-2023-06-01 --no-self-update --profile=minimal - rustup default nightly-2023-06-01 + rustup toolchain install stable --no-self-update --profile=minimal + rustup default stable - name: Install build deps uses: ./.github/actions/deps-install @@ -122,7 +122,7 @@ jobs: - name: Test run: | - wget -O - https://raw.githubusercontent.com/KomodoPlatform/komodo/0adeeabdd484ef40539d1275c6a765f5c530ea79/zcutil/fetch-params-alt.sh | bash + wget -O - https://raw.githubusercontent.com/KomodoPlatform/komodo/635112d590618165a152dfa0f31e95a9be39a8f6/zcutil/fetch-params-alt.sh | bash cargo test --test 'mm2_tests_main' --no-fail-fast mac-x86-64-kdf-integration: @@ -138,8 +138,8 @@ jobs: - uses: actions/checkout@v3 - name: Install toolchain run: | - rustup toolchain install nightly-2023-06-01 --no-self-update --profile=minimal - rustup default nightly-2023-06-01 + rustup toolchain install stable --no-self-update --profile=minimal + rustup default stable - name: Install build deps uses: ./.github/actions/deps-install @@ -154,7 +154,7 @@ jobs: - name: Test run: | - wget -O - https://raw.githubusercontent.com/KomodoPlatform/komodo/0adeeabdd484ef40539d1275c6a765f5c530ea79/zcutil/fetch-params-alt.sh | bash + wget -O - https://raw.githubusercontent.com/KomodoPlatform/komodo/635112d590618165a152dfa0f31e95a9be39a8f6/zcutil/fetch-params-alt.sh | bash cargo test --test 'mm2_tests_main' --no-fail-fast win-x86-64-kdf-integration: @@ -170,8 +170,8 @@ jobs: - uses: actions/checkout@v3 - name: Install toolchain run: | - rustup toolchain install nightly-2023-06-01 --no-self-update --profile=minimal - rustup default nightly-2023-06-01 + rustup toolchain install stable --no-self-update --profile=minimal + rustup default stable - name: Install build deps uses: ./.github/actions/deps-install @@ -190,7 +190,7 @@ jobs: - name: Test run: | - Invoke-WebRequest -Uri https://raw.githubusercontent.com/KomodoPlatform/komodo/0adeeabdd484ef40539d1275c6a765f5c530ea79/zcutil/fetch-params-alt.bat -OutFile \cmd.bat && \cmd.bat + Invoke-WebRequest -Uri https://raw.githubusercontent.com/KomodoPlatform/komodo/635112d590618165a152dfa0f31e95a9be39a8f6/zcutil/fetch-params-alt.bat -OutFile \cmd.bat && \cmd.bat cargo test --test 'mm2_tests_main' --no-fail-fast docker-tests: @@ -206,8 +206,8 @@ jobs: - uses: actions/checkout@v3 - name: Install toolchain run: | - rustup toolchain install nightly-2023-06-01 --no-self-update --profile=minimal - rustup default nightly-2023-06-01 + rustup toolchain install stable --no-self-update --profile=minimal + rustup default stable - name: Install build deps uses: ./.github/actions/deps-install @@ -235,8 +235,8 @@ jobs: - uses: actions/checkout@v3 - name: Install toolchain run: | - rustup toolchain install nightly-2023-06-01 --no-self-update --profile=minimal - rustup default nightly-2023-06-01 + rustup toolchain install stable --no-self-update --profile=minimal + rustup default stable rustup target add wasm32-unknown-unknown - name: Install build deps diff --git a/CHANGELOG.md b/CHANGELOG.md index 7cea925f22..7117e7ca8a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,126 @@ +## v2.6.0-beta - 2025-11-28 + +### Features: + +**SIA Integration**: +- Completed SIA coin integration, adding SIA as a new protocol with activation in both Iguana and HD modes using the `m/44'/1991'/0'/0'/0'` derivation path, wallet operations, transaction history v1, and legacy swaps are supported. [#2540](https://github.com/KomodoPlatform/komodo-defi-framework/pull/2540) + +**WalletConnect**: +- Implemented BTC/UTXO coin activation via WalletConnect, aligning UTXO with existing EVM/Cosmos activations. [#2499](https://github.com/KomodoPlatform/komodo-defi-framework/pull/2499) + +**Trading**: +- Added expirable maker orders controlled by an optional `timeout_in_minutes` field on `setprice`, so stale listings retire automatically while staying backwards compatible. [#2516](https://github.com/KomodoPlatform/komodo-defi-framework/pull/2516) + +**UTXO Management**: +- Introduced a `consolidate_utxos` RPC to merge small outputs and reduce fee overhead. [#2587](https://github.com/KomodoPlatform/komodo-defi-framework/pull/2587) + +--- + +### Work in Progress (WIP) Features: + +**Solana Protocol (feature-flagged)**: +- Added the initial wallet-only Solana implementation (activation, token handling, WASM-compatible RPC wiring) behind the `enable-solana` flag, swaps and transaction history are not yet available. [#2586](https://github.com/KomodoPlatform/komodo-defi-framework/pull/2586) [#2598](https://github.com/KomodoPlatform/komodo-defi-framework/pull/2598) [#2622](https://github.com/KomodoPlatform/komodo-defi-framework/pull/2622) [#2679](https://github.com/KomodoPlatform/komodo-defi-framework/pull/2679) + +**Liquidity Routing**: +- Added a `best_swap` RPC that performs ask-side liquidity routing to surface the optimal route for a desired outcome amount. [#2362](https://github.com/KomodoPlatform/komodo-defi-framework/pull/2362) + +--- + +### Enhancements/Fixes: + +**Swaps and Order Matching**: +- Banned makers after failed negotiation attempts in legacy swaps to prevent repeated retries on the same maker. [#2688](https://github.com/KomodoPlatform/komodo-defi-framework/pull/2688) +- Reduced legacy swap payment broadcast intervals for faster propagation on mobiles. [#2680](https://github.com/KomodoPlatform/komodo-defi-framework/pull/2680) +- Hardened swap v2 offline validation by reusing the offline maker/taker checks, then added best‑effort visibility gates with one‑shot rebroadcast fallback to all coins. [#2646](https://github.com/KomodoPlatform/komodo-defi-framework/pull/2646) [#2618](https://github.com/KomodoPlatform/komodo-defi-framework/pull/2618) +- Split the orderbook trie from the orderbook to cut lock contention during propagation. [#2661](https://github.com/KomodoPlatform/komodo-defi-framework/pull/2661) +- Ensured order subscriptions are set on kickstart and skipped GC of own pubkeys. [#2597](https://github.com/KomodoPlatform/komodo-defi-framework/pull/2597) +- Corrected dexfee balance checks for TPU swaps to avoid false failures. [#2600](https://github.com/KomodoPlatform/komodo-defi-framework/pull/2600) + +**Wallet and Keys**: +- Corrected shielded HD derivation path formatting in `get_private_keys` responses. [#2685](https://github.com/KomodoPlatform/komodo-defi-framework/pull/2685) +- Fixes a critical bug where `get_private_keys` returned incorrect keys in iguana mode that were derived from an empty passphrase when `passphrase` is null, this happened when loading wallets from KDF encrypted storage. [#2683](https://github.com/KomodoPlatform/komodo-defi-framework/pull/2683) +- Updated Trezor UTXO/EVM calls to match recent firmware changes. [#2565](https://github.com/KomodoPlatform/komodo-defi-framework/pull/2565) + +**UTXO / Electrum**: +- Switched Electrum block-count queries to sequential mode to avoid server bans on endpoints with strict per-IP limits. [#2666](https://github.com/KomodoPlatform/komodo-defi-framework/pull/2666) +- Added a fixed-fee option for DINGO-like chains. [#2454](https://github.com/KomodoPlatform/komodo-defi-framework/pull/2454) +- Revised minimum trading volume for fixed-fee UTXO coins to account for HTLC spend fees and avoid unprofitable swaps. [#2564](https://github.com/KomodoPlatform/komodo-defi-framework/pull/2564) +- Relaxed scriptSig signature parsing to stop rejecting valid inputs during validation. [#2591](https://github.com/KomodoPlatform/komodo-defi-framework/pull/2591) +- Overhauled UTXO block-header deserialization and fork handling for AuxPoW/KAWPOW variants, PIVX Sapling, Namecoin, XEC, Cheetahcoin, and many others to prevent parsing failures and false AuxPoW attempts. [#2583](https://github.com/KomodoPlatform/komodo-defi-framework/pull/2583) [#2563](https://github.com/KomodoPlatform/komodo-defi-framework/pull/2563) [#2572](https://github.com/KomodoPlatform/komodo-defi-framework/pull/2572) +- Made UTXO chain variants explicit via `chain_variant` config replacing hardcoded ticker handling. [#2692](https://github.com/KomodoPlatform/komodo-defi-framework/pull/2692) + +**EVM / ETH**: +- Refined gas fee policy handling (adjustment params, renamed RPC) for swap/signing flows. [#2533](https://github.com/KomodoPlatform/komodo-defi-framework/pull/2533) +- Added activation validation tweaks and increased EVM timeouts; aligned naming for platform balance helpers. [#2543](https://github.com/KomodoPlatform/komodo-defi-framework/pull/2543) +- Fixed ETH `max` withdrawal logic, prevented underflow on low balances, and now return structured EIP-1559 withdrawal errors that include network-required fee info. [#2531](https://github.com/KomodoPlatform/komodo-defi-framework/pull/2531) [#2532](https://github.com/KomodoPlatform/komodo-defi-framework/pull/2532) + +**WalletConnect**: +- Returned the `pairing_topic` in `new_connection` responses. [#2538](https://github.com/KomodoPlatform/komodo-defi-framework/pull/2538) + +**RPCs**: +- Allowed `get_enabled_coins`, `task::init_trezor::init`, and `wc_get_sessions` to accept an empty `params` field so RPC callers can omit optional payloads without breaking compatibility. [#2612](https://github.com/KomodoPlatform/komodo-defi-framework/pull/2612) +- Returned JSON-formatted help responses from the `help` RPC. [#2613](https://github.com/KomodoPlatform/komodo-defi-framework/pull/2613) + +**Event Streaming**: +- Broadcast OS shutdown signals via the streaming manager (`stream::shutdown_signal::enable`). [#2667](https://github.com/KomodoPlatform/komodo-defi-framework/pull/2667) +- Stopped streamer errors from crashing dev builds by handling SIGINT/SIGTERM/SIGQUIT more gently when the signal handler runs. [#2669](https://github.com/KomodoPlatform/komodo-defi-framework/pull/2669) +- Fixed SSE client-id parsing and allowed query parameters to pass through to event-stream endpoints. [#2677](https://github.com/KomodoPlatform/komodo-defi-framework/pull/2677) [#2678](https://github.com/KomodoPlatform/komodo-defi-framework/pull/2678) +- Fixed iOS certificate validation for Tendermint balance streaming. [#2674](https://github.com/KomodoPlatform/komodo-defi-framework/pull/2674) + +**Tendermint / Cosmos**: +- Implemented `get_trade_fee` RPC for Tendermint-based assets (trade/swap only, not wallet-only assets) that requires an existing on-chain account. [#2663](https://github.com/KomodoPlatform/komodo-defi-framework/pull/2663) + +**CLI**: +- Migrated the CLI to `clap`, standardizing `-h/--help` and version output, removing unused/undocumented modes. [#2510](https://github.com/KomodoPlatform/komodo-defi-framework/pull/2510) + +**Graceful Shutdown**: +- Refactored signal handling to cover more signals, and fail gracefully with the feature disabled on Windows/Web. [#2667](https://github.com/KomodoPlatform/komodo-defi-framework/pull/2667) + +**Error Handling**: +- Added an `map_mm_err` helper and applied it at key conversion sites to satisfy newer Rust coherence rules without changing error semantics for `MmError`. [#2443](https://github.com/KomodoPlatform/komodo-defi-framework/pull/2443) + +--- + +### Other Changes: + +**Toolchain**: +- Switched the build to always use the latest available stable compiler (including WASM targets). [#2444](https://github.com/KomodoPlatform/komodo-defi-framework/pull/2444) [#2528](https://github.com/KomodoPlatform/komodo-defi-framework/pull/2528) [#2557](https://github.com/KomodoPlatform/komodo-defi-framework/pull/2557) + +**Dependencies**: +- Applied broad security/dependency updates (tokio, anstream, atty, mio, time, chrono, and more), removed some deprecated/duplicated crates. [#2562](https://github.com/KomodoPlatform/komodo-defi-framework/pull/2562) + +**Infrastructure / CI**: +- Updated the CI container base image to Debian 11 to keep dependencies working across host OSes. [#2534](https://github.com/KomodoPlatform/komodo-defi-framework/pull/2534) +- Added Node.js 20 to the CI container image to satisfy tooling needs for release builds and scripts. [#2536](https://github.com/KomodoPlatform/komodo-defi-framework/pull/2536) +- Added a git blame ignore list so toolchain/formatting churn no longer dominates blame views. [#2649](https://github.com/KomodoPlatform/komodo-defi-framework/pull/2649) +- Deployed a GitHub Action that publishes WASM playground previews on PRs with the `deploy: wasm-playground` label. [#2607](https://github.com/KomodoPlatform/komodo-defi-framework/pull/2607) +- Avoided using port 7000 for MYCOIN in docker tests to skirt macOS AirPlay receiver conflicts. [#2681](https://github.com/KomodoPlatform/komodo-defi-framework/pull/2681) + +**Core Maintenance**: +- Removed remaining `static mut` globals in favor of thread-safe primitives across executor/WASM/coins/swap tests. [#2590](https://github.com/KomodoPlatform/komodo-defi-framework/pull/2590) + +**Documentation**: +- Improved macOS docs for common Docker startup errors to ease initial setup and troubleshooting. [#2544](https://github.com/KomodoPlatform/komodo-defi-framework/pull/2544) [#2550](https://github.com/KomodoPlatform/komodo-defi-framework/pull/2550) + + +--- + +### NB - Backwards compatibility breaking changes: + +**ETH Clients**: +- Parity client support was removed. [#2527](https://github.com/KomodoPlatform/komodo-defi-framework/pull/2527) + +**EVM / ETH Withdrawal Errors**: +- EIP-1559 withdrawal failures now return structured error objects containing network-required fees; clients parsing RPC strings should handle the new schema. [#2532](https://github.com/KomodoPlatform/komodo-defi-framework/pull/2532) + +**Fixed-Fee UTXO Coins**: +- Minimum trading volume calculation was revised for fixed-fee UTXO coins, which may change minimum order sizes on those networks (dynamic-fee/dust-based coins unchanged). [#2564](https://github.com/KomodoPlatform/komodo-defi-framework/pull/2564) [#2591](https://github.com/KomodoPlatform/komodo-defi-framework/pull/2591) [#2692](https://github.com/KomodoPlatform/komodo-defi-framework/pull/2692) + +**CLI Modes**: +- Unused/undocumented CLI modes were removed during the migration to `clap`; scripts relying on them may need updates (RPC API unchanged). [#2510](https://github.com/KomodoPlatform/komodo-defi-framework/pull/2510) + +--- + ## v2.5.2-beta - 2025-10-10 ### Enhancements/Fixes: diff --git a/Cargo.lock b/Cargo.lock index b3062ee23c..bc3fda945c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1,6 +1,6 @@ # This file is automatically @generated by Cargo. # It is not intended for manual editing. -version = 3 +version = 4 [[package]] name = "Inflector" @@ -68,26 +68,42 @@ dependencies = [ "subtle", ] +[[package]] +name = "agave-feature-set" +version = "2.3.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e35cc5b8887b993ba4975a23b6e098ee10db50e8e23ee3a9523035b7ca35b53b" +dependencies = [ + "ahash 0.8.11", + "solana-epoch-schedule", + "solana-hash", + "solana-pubkey", + "solana-sha256-hasher", + "solana-svm-feature-set", +] + [[package]] name = "ahash" -version = "0.7.6" +version = "0.7.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fcb51a0695d8f838b1ee009b3fbf66bda078cd64590202a864a8f3e8c4315c47" +checksum = "891477e0c6a8957309ee5c45a6368af3ae14bb510732d2684ffa19af310920f9" dependencies = [ - "getrandom 0.2.9", + "getrandom 0.2.16", "once_cell", "version_check", ] [[package]] name = "ahash" -version = "0.8.3" +version = "0.8.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c99f64d1e06488f620f932677e24bc6e2897582980441ae90a671415bd7ec2f" +checksum = "e89da841a80418a9b391ebaea17f5c112ffaaa96f621d2c285b5174da76b9011" dependencies = [ "cfg-if 1.0.0", + "getrandom 0.2.16", "once_cell", "version_check", + "zerocopy 0.7.35", ] [[package]] @@ -108,6 +124,12 @@ dependencies = [ "memchr", ] +[[package]] +name = "android-tzdata" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e999941b234f3131b00bc13c22d06e8c5ff726d1b6318ac7eb276997bbb4fef0" + [[package]] name = "android_system_properties" version = "0.1.5" @@ -117,11 +139,17 @@ dependencies = [ "libc", ] +[[package]] +name = "anstyle" +version = "1.0.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "862ed96ca487e809f1c8e5a8447f6ee2cf102f846893800b20cebdf541fc6bbd" + [[package]] name = "anyhow" -version = "1.0.89" +version = "1.0.99" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "86fdf8605db99b54d3cd748a44c6d04df638eb5dafb219b135d0149bd0db01f6" +checksum = "b0674a1ddeecb70197781e945de4b3b8ffb61fa939a5597bcf48503737663100" [[package]] name = "argon2" @@ -138,9 +166,9 @@ dependencies = [ [[package]] name = "arrayref" -version = "0.3.6" +version = "0.3.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4c527152e37cf757a3f78aae5a06fbeefdb07ccc535c980a3208ee3060dd544" +checksum = "76a2e8124351fda1ef8aaaa3bbd7ebbcb486bbcd4225aca0aa0d84bb2db8fecb" [[package]] name = "arrayvec" @@ -150,9 +178,9 @@ checksum = "cff77d8686867eceff3105329d4698d96c2391c176d5d03adc90c7389162b5b8" [[package]] name = "arrayvec" -version = "0.7.1" +version = "0.7.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "be4dc07131ffa69b8072d35f5007352af944213cde02545e2103680baed38fcd" +checksum = "7c02d123df017efcdfbd739ef81735b36c5ba83ec3c59c80a9d7ecc718f92e50" [[package]] name = "asn1_der" @@ -173,7 +201,7 @@ dependencies = [ "futures-lite", "parking 2.1.0", "polling", - "rustix 0.38.44", + "rustix", "slab", "tracing", "waker-fn", @@ -242,13 +270,13 @@ checksum = "c17772156ef2829aadc587461c7753af20b7e8db1529bc66855add962a3b35d3" [[package]] name = "async-trait" -version = "0.1.76" +version = "0.1.88" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "531b97fb4cd3dfdce92c35dedbfdc1f0b9d8091c8ca943d6dae340ef5012d514" +checksum = "e539d3fca749fcee5236ab05e93a52867dd549cc157c8cb7f99595f3cedffdb5" dependencies = [ "proc-macro2", "quote 1.0.37", - "syn 2.0.77", + "syn 2.0.87", ] [[package]] @@ -261,18 +289,7 @@ dependencies = [ "futures-sink", "futures-util", "memchr", - "pin-project-lite 0.2.9", -] - -[[package]] -name = "atty" -version = "0.2.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8" -dependencies = [ - "hermit-abi 0.1.14", - "libc", - "winapi", + "pin-project-lite 0.2.16", ] [[package]] @@ -299,14 +316,14 @@ dependencies = [ "bytes", "futures-util", "http 0.2.12", - "http-body", - "hyper", + "http-body 0.4.5", + "hyper 0.14.26", "itoa", "matchit", "memchr", "mime", "percent-encoding", - "pin-project-lite 0.2.9", + "pin-project-lite 0.2.16", "rustversion", "serde", "sync_wrapper", @@ -325,7 +342,7 @@ dependencies = [ "bytes", "futures-util", "http 0.2.12", - "http-body", + "http-body 0.4.5", "mime", "rustversion", "tower-layer", @@ -359,12 +376,6 @@ version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4c7f02d4ea65f2c1853089ffd8d2787bdbc63de2f0d29dedbcf8ccdfa0ccd4cf" -[[package]] -name = "base64" -version = "0.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b41b7ea54a0c9d92199de89e20e58d49f02f8e699814ef3fdf266f6f748d15c7" - [[package]] name = "base64" version = "0.13.0" @@ -377,6 +388,12 @@ version = "0.21.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9d297deb1925b89f2ccc13d7635fa0714f12c87adce1c75356b39ca9b7178567" +[[package]] +name = "base64" +version = "0.22.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6" + [[package]] name = "base64ct" version = "1.5.1" @@ -421,6 +438,15 @@ dependencies = [ "serde", ] +[[package]] +name = "bincode" +version = "1.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b1f45e9417d87227c7a56d22e471c6206462cba514c7590c09aff4cf6d1ddcad" +dependencies = [ + "serde", +] + [[package]] name = "bip32" version = "0.2.2" @@ -439,12 +465,14 @@ dependencies = [ [[package]] name = "bip39" -version = "2.0.0" +version = "2.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "93f2635620bf0b9d4576eb7bb9a38a55df78bd1205d26fa994b25911a69f212f" +checksum = "43d193de1f7487df1914d3a568b772458861d33f9c54249612cc2893d6915054" dependencies = [ - "bitcoin_hashes", + "bitcoin_hashes 0.13.0", "rand_core 0.6.4", + "serde", + "unicode-normalization", "zeroize", ] @@ -455,16 +483,32 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0694ea59225b0c5f3cb405ff3f670e4828358ed26aec49dc352f730f0cb1a8a3" dependencies = [ "bech32", - "bitcoin_hashes", + "bitcoin_hashes 0.11.0", "secp256k1 0.24.3", ] +[[package]] +name = "bitcoin-internals" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9425c3bf7089c983facbae04de54513cce73b41c7f9ff8c845b54e7bc64ebbfb" + [[package]] name = "bitcoin_hashes" version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "90064b8dee6815a6470d60bad07bbbaee885c0e12d04177138fa3291a01b7bc4" +[[package]] +name = "bitcoin_hashes" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1930a4dabfebb8d7d9992db18ebe3ae2876f0a305fab206fd168df931ede293b" +dependencies = [ + "bitcoin-internals", + "hex-conservative", +] + [[package]] name = "bitcrypto" version = "0.1.0" @@ -474,7 +518,7 @@ dependencies = [ "ripemd160", "serialization", "sha-1", - "sha2 0.10.7", + "sha2 0.10.9", "sha3 0.9.1", "siphasher", ] @@ -618,13 +662,53 @@ dependencies = [ "subtle", ] +[[package]] +name = "bollard" +version = "0.16.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0aed08d3adb6ebe0eff737115056652670ae290f177759aac19c30456135f94c" +dependencies = [ + "base64 0.22.1", + "bollard-stubs", + "bytes", + "futures-core", + "futures-util", + "hex", + "home", + "http 1.1.0", + "http-body-util", + "hyper 1.6.0", + "hyper-named-pipe", + "hyper-rustls 0.26.0", + "hyper-util", + "hyperlocal-next", + "log", + "pin-project-lite 0.2.16", + "rustls 0.22.4", + "rustls-native-certs 0.7.3", + "rustls-pemfile 2.2.0", + "rustls-pki-types", + "serde", + "serde_derive", + "serde_json", + "serde_repr", + "serde_urlencoded", + "thiserror 1.0.69", + "tokio", + "tokio-util", + "tower-service", + "url", + "winapi", +] + [[package]] name = "bollard-stubs" -version = "1.42.0-rc.3" +version = "1.44.0-rc.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed59b5c00048f48d7af971b71f800fdf23e858844a6f9e4d32ca72e9399e7864" +checksum = "709d9aa1c37abb89d40f19f5d0ad6f0d88cb1581264e571c9350fc5bb89cf1c5" dependencies = [ "serde", + "serde_repr", "serde_with", ] @@ -639,9 +723,9 @@ dependencies = [ [[package]] name = "bs58" -version = "0.5.0" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f5353f36341f7451062466f0b755b96ac3a9547e4d7f6b70d603fc721a7d7896" +checksum = "bf88ba1141d185c399bee5288d850d63b8369520c1eafc32a0430b5b6c287bf4" dependencies = [ "tinyvec", ] @@ -652,12 +736,39 @@ version = "3.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0d261e256854913907f67ed06efbc3338dfe6179796deefc1ff763fc1aee5535" +[[package]] +name = "bv" +version = "0.11.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8834bb1d8ee5dc048ee3124f2c7c1afcc6bc9aed03f11e9dfd8c69470a5db340" +dependencies = [ + "feature-probe", + "serde", +] + [[package]] name = "byte-slice-cast" version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "65c1bf4a04a88c54f589125563643d773f3254b5c38571395e2b591c693bbc81" +[[package]] +name = "bytemuck" +version = "1.23.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3995eaeebcdf32f91f980d360f78732ddc061097ab4e39991ae7a6ace9194677" + +[[package]] +name = "bytemuck_derive" +version = "1.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4f154e572231cb6ba2bd1176980827e3d5dc04cc183a75dea38109fbdd672d29" +dependencies = [ + "proc-macro2", + "quote 1.0.37", + "syn 2.0.87", +] + [[package]] name = "byteorder" version = "1.4.3" @@ -666,9 +777,9 @@ checksum = "14c189c53d098945499cdfa7ecc63567cf3886b3332b312a5b4585d8d3a6a610" [[package]] name = "bytes" -version = "1.4.0" +version = "1.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "89b2fd2a0dcf38d7971e2194b6b6eebab45ae01067456a7fd93d5547a61b70be" +checksum = "d71b6127be86fdcfddb610f7182ac57211d4b18a3e9c82eb2d17662f2227ad6a" dependencies = [ "serde", ] @@ -690,9 +801,12 @@ dependencies = [ [[package]] name = "cc" -version = "1.0.74" +version = "1.2.30" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "581f5dba903aac52ea3feb5ec4810848460ee833876f1f9b0fdeab1f19091574" +checksum = "deec109607ca693028562ed836a5f1c4b8bd77755c4e132fc5ce11b0b6211ae7" +dependencies = [ + "shlex", +] [[package]] name = "cfg-if" @@ -744,18 +858,17 @@ dependencies = [ [[package]] name = "chrono" -version = "0.4.23" +version = "0.4.41" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "16b0a3d9ed01224b22057780a37bb8c5dbfe1be8ba48678e7bf57ec4b385411f" +checksum = "c469d952047f47f91b68d1cba3f10d63c11d73e4636f24f08daf0278abf01c4d" dependencies = [ + "android-tzdata", "iana-time-zone", "js-sys", - "num-integer", "num-traits", "serde", - "time 0.1.43", "wasm-bindgen", - "winapi", + "windows-link", ] [[package]] @@ -769,6 +882,44 @@ dependencies = [ "zeroize", ] +[[package]] +name = "clap" +version = "4.5.42" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ed87a9d530bb41a67537289bafcac159cb3ee28460e0a4571123d2a778a6a882" +dependencies = [ + "clap_builder", + "clap_derive", +] + +[[package]] +name = "clap_builder" +version = "4.5.42" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "64f4f3f3c77c94aff3c7e9aac9a2ca1974a5adf392a8bb751e827d6d127ab966" +dependencies = [ + "anstyle", + "clap_lex", +] + +[[package]] +name = "clap_derive" +version = "4.5.41" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ef4f52386a59ca4c860f7393bcf8abd8dfd91ecccc0f774635ff68e92eeef491" +dependencies = [ + "heck 0.5.0", + "proc-macro2", + "quote 1.0.37", + "syn 2.0.87", +] + +[[package]] +name = "clap_lex" +version = "0.7.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b94f61472cee1439c0b966b47e3aca9ae07e45d070759512cd390ea2bebc6675" + [[package]] name = "cloudabi" version = "0.0.3" @@ -795,9 +946,10 @@ dependencies = [ "async-std", "async-trait", "base64 0.21.7", + "bincode", "bip32", "bitcoin", - "bitcoin_hashes", + "bitcoin_hashes 0.11.0", "bitcrypto", "blake2b_simd", "bs58 0.4.0", @@ -808,12 +960,12 @@ dependencies = [ "chrono", "common", "cosmrs", - "crossbeam 0.8.2", + "crossbeam 0.8.4", "crypto", "db_common", "derive_more", - "dirs", "ed25519-dalek 1.0.1", + "ed25519-dalek-bip32", "enum_derives", "ethabi", "ethcore-transaction", @@ -821,14 +973,14 @@ dependencies = [ "ethkey", "ff 0.8.0", "futures 0.1.29", - "futures 0.3.28", + "futures 0.3.31", "futures-ticker", "futures-util", "group 0.8.0", "gstuff", "hex", "http 0.2.12", - "hyper", + "hyper 0.14.26", "hyper-rustls 0.24.2", "itertools", "js-sys", @@ -860,13 +1012,12 @@ dependencies = [ "num-traits", "parking_lot", "primitives", - "prost", + "prost 0.12.6", "prost-build", "protobuf", "proxy_signature", "rand 0.7.3", "regex", - "reqwest", "rlp", "rmp-serde", "rpc", @@ -884,12 +1035,27 @@ dependencies = [ "serde_with", "serialization", "serialization_derive", - "sha2 0.10.7", + "sha2 0.10.9", "sha3 0.9.1", "sia-rust", + "solana-account", + "solana-account-decoder-client-types", + "solana-bincode", + "solana-hash", + "solana-keypair", + "solana-message", + "solana-pubkey", + "solana-rpc-client-types", + "solana-signature", + "solana-signer", + "solana-system-transaction", + "solana-transaction", + "spl-associated-token-account-client", + "spl-token", "spv_validation", "tendermint-rpc", - "time 0.3.20", + "thiserror 1.0.69", + "time", "timed-map", "tokio", "tokio-rustls 0.24.1", @@ -908,6 +1074,7 @@ dependencies = [ "web-time", "web3", "webpki-roots 0.25.4", + "webpki-roots 0.26.11", "winapi", "zbase32", "zcash_client_backend", @@ -927,7 +1094,7 @@ dependencies = [ "crypto", "derive_more", "ethereum-types", - "futures 0.3.28", + "futures 0.3.31", "hex", "kdf_walletconnect", "lightning", @@ -963,19 +1130,19 @@ dependencies = [ "cc", "cfg-if 1.0.0", "chrono", - "crossbeam 0.8.2", + "crossbeam 0.8.4", "derive_more", "env_logger", "findshlibs", "fnv", "futures 0.1.29", - "futures 0.3.28", + "futures 0.3.31", "futures-timer", "gstuff", "hex", "http 0.2.12", - "http-body", - "hyper", + "http-body 0.4.5", + "hyper 0.14.26", "hyper-rustls 0.24.2", "itertools", "js-sys", @@ -984,7 +1151,7 @@ dependencies = [ "lightning", "log", "parking_lot", - "parking_lot_core 0.6.2", + "parking_lot_core", "paste", "primitive-types", "rand 0.7.3", @@ -997,7 +1164,7 @@ dependencies = [ "serde_derive", "serde_json", "serde_repr", - "sha2 0.10.7", + "sha2 0.10.9", "shared_ref_counter", "tokio", "uuid", @@ -1024,17 +1191,7 @@ version = "2.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "62ec6771ecfa0762d24683ee5a32ad78487a3d3afdc0fb8cae19d2c5deb50b7c" dependencies = [ - "crossbeam-utils 0.8.16", -] - -[[package]] -name = "console_error_panic_hook" -version = "0.1.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a06aeb73f470f66dcdbf7223caeebb85984942f22f1adb2a088cf9668146bbbc" -dependencies = [ - "cfg-if 1.0.0", - "wasm-bindgen", + "crossbeam-utils 0.8.21", ] [[package]] @@ -1049,6 +1206,12 @@ version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "245097e9a4535ee1e3e3931fcfcd55a796a44c643e8596ff6566d68f09b87bbc" +[[package]] +name = "convert_case" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6245d59a3e82a7fc217c5828a6692dbc6dfb63a0c8c90495621f7b9d79704a0e" + [[package]] name = "core-foundation" version = "0.9.3" @@ -1080,7 +1243,7 @@ version = "0.21.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "82e23f6ab56d5f031cde05b8b82a5fefd3a1a223595c79e32317a97189e612bc" dependencies = [ - "prost", + "prost 0.12.6", "prost-types", "tendermint-proto", ] @@ -1101,7 +1264,7 @@ dependencies = [ "signature 2.2.0", "subtle-encoding", "tendermint", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -1115,9 +1278,9 @@ dependencies = [ [[package]] name = "crc32fast" -version = "1.3.2" +version = "1.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b540bd8bc810d3885c6ea91e2018302f68baba2129ab3e88f32389ee9370880d" +checksum = "a97769d94ddab943e4510d138150169a2758b5ef3eb191a9ee688de3e23ef7b3" dependencies = [ "cfg-if 1.0.0", ] @@ -1138,16 +1301,15 @@ dependencies = [ [[package]] name = "crossbeam" -version = "0.8.2" +version = "0.8.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2801af0d36612ae591caa9568261fddce32ce6e08a7275ea334a06a4ad021a2c" +checksum = "1137cd7e7fc0fb5d3c5a8678be38ec56e819125d8d7907411fe24ccb943faca8" dependencies = [ - "cfg-if 1.0.0", - "crossbeam-channel 0.5.1", - "crossbeam-deque 0.8.1", - "crossbeam-epoch 0.9.5", - "crossbeam-queue 0.3.8", - "crossbeam-utils 0.8.16", + "crossbeam-channel 0.5.15", + "crossbeam-deque 0.8.6", + "crossbeam-epoch 0.9.18", + "crossbeam-queue 0.3.12", + "crossbeam-utils 0.8.21", ] [[package]] @@ -1162,12 +1324,11 @@ dependencies = [ [[package]] name = "crossbeam-channel" -version = "0.5.1" +version = "0.5.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "06ed27e177f16d65f0f0c22a213e17c696ace5dd64b14258b52f9417ccb52db4" +checksum = "82b8f8f868b36967f9606790d1903570de9ceaf870a7bf9fbbd3016d636a2cb2" dependencies = [ - "cfg-if 1.0.0", - "crossbeam-utils 0.8.16", + "crossbeam-utils 0.8.21", ] [[package]] @@ -1183,13 +1344,12 @@ dependencies = [ [[package]] name = "crossbeam-deque" -version = "0.8.1" +version = "0.8.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6455c0ca19f0d2fbf751b908d5c55c1f5cbc65e03c4225427254b46890bdde1e" +checksum = "9dd111b7b7f7d55b72c0a6ae361660ee5853c9af73f70c3c2ef6858b950e2e51" dependencies = [ - "cfg-if 1.0.0", - "crossbeam-epoch 0.9.5", - "crossbeam-utils 0.8.16", + "crossbeam-epoch 0.9.18", + "crossbeam-utils 0.8.21", ] [[package]] @@ -1203,21 +1363,17 @@ dependencies = [ "crossbeam-utils 0.7.2", "lazy_static", "maybe-uninit", - "memoffset 0.5.6", + "memoffset", "scopeguard", ] [[package]] name = "crossbeam-epoch" -version = "0.9.5" +version = "0.9.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ec02e091aa634e2c3ada4a392989e7c3116673ef0ac5b72232439094d73b7fd" +checksum = "5b82ac4a3c2ca9c3460964f020e1402edd5753411d7737aa39c3714ad1b5420e" dependencies = [ - "cfg-if 1.0.0", - "crossbeam-utils 0.8.16", - "lazy_static", - "memoffset 0.6.4", - "scopeguard", + "crossbeam-utils 0.8.21", ] [[package]] @@ -1233,12 +1389,11 @@ dependencies = [ [[package]] name = "crossbeam-queue" -version = "0.3.8" +version = "0.3.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d1cfb3ea8a53f37c40dea2c7bedcbd88bdfae54f5e2175d6ecaff1c988353add" +checksum = "0f58bbc28f91df819d0aa2a2c00cd19754769c2fad90579b3592b1c9ba7a3115" dependencies = [ - "cfg-if 1.0.0", - "crossbeam-utils 0.8.16", + "crossbeam-utils 0.8.21", ] [[package]] @@ -1254,12 +1409,9 @@ dependencies = [ [[package]] name = "crossbeam-utils" -version = "0.8.16" +version = "0.8.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a22b2d63d4d1dc0b7f1b6b2747dd0088008a9be28b6ddf0b1e7d335e3037294" -dependencies = [ - "cfg-if 1.0.0", -] +checksum = "d0a5c400df2834b80a4c3327b3aad3a4c4cd4de0629063962b03235697506a28" [[package]] name = "crunchy" @@ -1285,9 +1437,10 @@ dependencies = [ "cipher", "common", "derive_more", + "ed25519-dalek-bip32", "enum-primitive-derive", "enum_derives", - "futures 0.3.28", + "futures 0.3.31", "hex", "hmac 0.12.1", "http 0.2.12", @@ -1310,7 +1463,8 @@ dependencies = [ "serde", "serde_derive", "serde_json", - "sha2 0.10.7", + "sha2 0.10.9", + "thiserror 1.0.69", "tokio", "trezor", "wasm-bindgen-test", @@ -1353,9 +1507,9 @@ dependencies = [ [[package]] name = "crypto-mac" -version = "0.11.1" +version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1d1a86f49236c215f271d40892d5fc950490551400b02ef360692c29815c714" +checksum = "25fab6889090c8133f3deb8f73ba3c65a7f456f66436fc012a1b1e272b1e103e" dependencies = [ "generic-array", "subtle", @@ -1420,7 +1574,8 @@ dependencies = [ "curve25519-dalek-derive", "digest 0.10.7", "fiat-crypto", - "rustc_version 0.4.0", + "rand_core 0.6.4", + "rustc_version", "subtle", "zeroize", ] @@ -1433,7 +1588,7 @@ checksum = "f46882e17999c6cc590af592290432be3bce0428cb0d5f8b6715e4dc7b383eb3" dependencies = [ "proc-macro2", "quote 1.0.37", - "syn 2.0.77", + "syn 2.0.87", ] [[package]] @@ -1495,9 +1650,9 @@ dependencies = [ [[package]] name = "darling" -version = "0.13.4" +version = "0.21.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a01d95850c592940db9b8194bc39f4bc0e89dee5c4265e4b1807c34a9aba453c" +checksum = "9cdf337090841a411e2a7f3deb9187445851f91b309c0c0a29e05f74a00a48c0" dependencies = [ "darling_core", "darling_macro", @@ -1505,27 +1660,27 @@ dependencies = [ [[package]] name = "darling_core" -version = "0.13.4" +version = "0.21.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "859d65a907b6852c9361e3185c862aae7fafd2887876799fa55f5f99dc40d610" +checksum = "1247195ecd7e3c85f83c8d2a366e4210d588e802133e1e355180a9870b517ea4" dependencies = [ "fnv", "ident_case", "proc-macro2", "quote 1.0.37", "strsim", - "syn 1.0.95", + "syn 2.0.87", ] [[package]] name = "darling_macro" -version = "0.13.4" +version = "0.21.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c972679f83bdf9c42bd905396b6c3588a843a17f0f16dfcfa3e2c5d57441835" +checksum = "d38308df82d1080de0afee5d069fa14b0326a88c14f15c5ccda35b4a6c414c81" dependencies = [ "darling_core", "quote 1.0.37", - "syn 1.0.95", + "syn 2.0.87", ] [[package]] @@ -1559,8 +1714,8 @@ name = "db_common" version = "0.1.0" dependencies = [ "common", - "crossbeam-channel 0.5.1", - "futures 0.3.28", + "crossbeam-channel 0.5.15", + "futures 0.3.31", "hex", "log", "rusqlite", @@ -1579,15 +1734,33 @@ dependencies = [ "zeroize", ] +[[package]] +name = "deranged" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9c9e6a11ca8224451684bc0d7d5a7adbf8f2fd6887261a1cfc3c0432f9d4068e" +dependencies = [ + "powerfmt", + "serde", +] + +[[package]] +name = "derivation-path" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6e5c37193a1db1d8ed868c03ec7b152175f26160a5b740e5e484143877e0adf0" + [[package]] name = "derive_more" -version = "0.99.11" +version = "0.99.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "41cb0e6161ad61ed084a36ba71fbba9e3ac5aee3606fb607fe08da6acbcf3d8c" +checksum = "6edb4b64a43d977b8e99788fe3a04d483834fba1215a7e02caa415b626497f7f" dependencies = [ + "convert_case", "proc-macro2", "quote 1.0.37", - "syn 1.0.95", + "rustc_version", + "syn 2.0.87", ] [[package]] @@ -1617,18 +1790,16 @@ version = "3.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e69600ff1703123957937708eb27f7a564e48885c537782722ed0ba3189ce1d7" dependencies = [ - "dirs-sys", + "dirs-sys 0.3.6", ] [[package]] name = "dirs" -version = "1.0.5" +version = "5.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3fd78930633bd1c6e35c4b42b1df7b0cbc6bc191146e512bb3bedf243fcc3901" +checksum = "44c45a9d03d6676652bcb5e724c7e988de1acad23a711b5217ab9cbecbec2225" dependencies = [ - "libc", - "redox_users 0.3.4", - "winapi", + "dirs-sys 0.4.1", ] [[package]] @@ -1638,16 +1809,45 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "03d86534ed367a67548dc68113a0f5db55432fdfbb6e6f9d77704397d95d5780" dependencies = [ "libc", - "redox_users 0.4.0", + "redox_users", "winapi", ] +[[package]] +name = "dirs-sys" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "520f05a5cbd335fae5a99ff7a6ab8627577660ee5cfd6a94a6a929b52ff0321c" +dependencies = [ + "libc", + "option-ext", + "redox_users", + "windows-sys 0.48.0", +] + +[[package]] +name = "docker_credential" +version = "1.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d89dfcba45b4afad7450a99b39e751590463e45c04728cf555d36bb66940de8" +dependencies = [ + "base64 0.21.7", + "serde", + "serde_json", +] + [[package]] name = "dtoa" version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5caaa75cbd2b960ff1e5392d2cfb1f44717fffe12fc1f32b7b5d1267f99732a6" +[[package]] +name = "dyn-clone" +version = "1.0.20" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d0881ea181b1df73ff77ffaaf9c7544ecc11e82fba9b5f27b262a3c73a332555" + [[package]] name = "ecdsa" version = "0.16.9" @@ -1720,11 +1920,23 @@ dependencies = [ "ed25519 2.2.3", "rand_core 0.6.4", "serde", - "sha2 0.10.7", + "sha2 0.10.9", "subtle", "zeroize", ] +[[package]] +name = "ed25519-dalek-bip32" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6b49a684b133c4980d7ee783936af771516011c8cd15f429dbda77245e282f03" +dependencies = [ + "derivation-path", + "ed25519-dalek 2.1.1", + "hmac 0.12.1", + "sha2 0.10.9", +] + [[package]] name = "edit-distance" version = "2.1.0" @@ -1804,17 +2016,23 @@ dependencies = [ "syn 1.0.95", ] +[[package]] +name = "env_filter" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "186e05a59d4c50738528153b83b0b0194d3a29507dfec16eccd4b342903397d0" +dependencies = [ + "log", +] + [[package]] name = "env_logger" -version = "0.9.3" +version = "0.11.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a12e6657c4c97ebab115a42dcee77225f7f482cdd841cf7088c657a42e9e00e7" +checksum = "6c012a26a7f605efc424dd53697843a72be7dc86ad2d01f7814337794a12231d" dependencies = [ - "atty", - "humantime", + "env_filter", "log", - "regex", - "termcolor", ] [[package]] @@ -1832,17 +2050,6 @@ version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5" -[[package]] -name = "errno" -version = "0.2.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f639046355ee4f37944e44f60642c6f3a7efa3cf6b78c78a0d989a8ce6c396a1" -dependencies = [ - "errno-dragonfly", - "libc", - "winapi", -] - [[package]] name = "errno" version = "0.3.10" @@ -1850,17 +2057,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "33d852cb9b869c2a9b3df2f71a3074817f01e1844f839a144f5fcef059a4eb5d" dependencies = [ "libc", - "windows-sys 0.59.0", -] - -[[package]] -name = "errno-dragonfly" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aa68f1b12764fab894d2755d2518754e71b4fd80ecfb822714a1206c2aab39bf" -dependencies = [ - "cc", - "libc", + "windows-sys 0.52.0", ] [[package]] @@ -1875,8 +2072,8 @@ dependencies = [ "regex", "serde", "serde_json", - "sha3 0.10.4", - "thiserror", + "sha3 0.10.8", + "thiserror 1.0.69", "uint", ] @@ -1975,6 +2172,18 @@ dependencies = [ "instant", ] +[[package]] +name = "fastrand" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "37909eebbb50d72f9059c3b6d82c0463f2ff062c9e95845c43a6c9c0355411be" + +[[package]] +name = "feature-probe" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "835a3dc7d1ec9e75e2b5fb4ba75396837112d2060b03f7d43bc1897c7f7211da" + [[package]] name = "ff" version = "0.8.0" @@ -2013,22 +2222,46 @@ dependencies = [ ] [[package]] -name = "fixed-hash" -version = "0.7.0" +name = "five8" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cfcf0ed7fe52a17a03854ec54a9f76d6d84508d1c0e66bc1793301c73fc8493c" +checksum = "a75b8549488b4715defcb0d8a8a1c1c76a80661b5fa106b4ca0e7fce59d7d875" dependencies = [ - "byteorder", - "rand 0.8.5", - "rustc-hex", - "static_assertions", + "five8_core", ] [[package]] -name = "fixedbitset" -version = "0.4.1" +name = "five8_const" +version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "279fb028e20b3c4c320317955b77c5e0c9701f05a1d309905d6fc702cdc5053e" +checksum = "26dec3da8bc3ef08f2c04f61eab298c3ab334523e55f076354d6d6f613799a7b" +dependencies = [ + "five8_core", +] + +[[package]] +name = "five8_core" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2551bf44bc5f776c15044b9b94153a00198be06743e262afaaa61f11ac7523a5" + +[[package]] +name = "fixed-hash" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cfcf0ed7fe52a17a03854ec54a9f76d6d84508d1c0e66bc1793301c73fc8493c" +dependencies = [ + "byteorder", + "rand 0.8.5", + "rustc-hex", + "static_assertions", +] + +[[package]] +name = "fixedbitset" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "279fb028e20b3c4c320317955b77c5e0c9701f05a1d309905d6fc702cdc5053e" [[package]] name = "flate2" @@ -2112,9 +2345,9 @@ checksum = "1b980f2816d6ee8673b6517b52cb0e808a180efc92e5c19d02cdda79066703ef" [[package]] name = "futures" -version = "0.3.28" +version = "0.3.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23342abe12aba583913b2e62f22225ff9c950774065e4bfb61a19cd9770fec40" +checksum = "65bc07b1a8bc7c85c5f2e110c476c7389b4554ba72af57d8445ea63a576b0876" dependencies = [ "futures-channel", "futures-core", @@ -2127,9 +2360,9 @@ dependencies = [ [[package]] name = "futures-channel" -version = "0.3.28" +version = "0.3.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "955518d47e09b25bbebc7a18df10b81f0c766eaf4c4f1cccef2fca5f2a4fb5f2" +checksum = "2dff15bf788c671c1934e366d07e30c1814a8ef514e1af724a602e8a2fbe1b10" dependencies = [ "futures-core", "futures-sink", @@ -2137,9 +2370,9 @@ dependencies = [ [[package]] name = "futures-core" -version = "0.3.28" +version = "0.3.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4bca583b7e26f571124fe5b7561d49cb2868d79116cfa0eefce955557c6fee8c" +checksum = "05f29059c0c2090612e8d742178b0580d2dc940c837851ad723096f87af6663e" [[package]] name = "futures-cpupool" @@ -2153,9 +2386,9 @@ dependencies = [ [[package]] name = "futures-executor" -version = "0.3.28" +version = "0.3.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ccecee823288125bd88b4d7f565c9e58e41858e47ab72e8ea2d64e93624386e0" +checksum = "1e28d1d997f585e54aebc3f97d39e72338912123a67330d723fdbb564d646c9f" dependencies = [ "futures-core", "futures-task", @@ -2165,9 +2398,9 @@ dependencies = [ [[package]] name = "futures-io" -version = "0.3.28" +version = "0.3.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4fff74096e71ed47f8e023204cfd0aa1289cd54ae5430a9523be060cdb849964" +checksum = "9e5c1b78ca4aae1ac06c48a526a655760685149f0d465d21f37abfe57ce075c6" [[package]] name = "futures-lite" @@ -2176,18 +2409,18 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "49a9d51ce47660b1e808d3c990b4709f2f415d928835a17dfd16991515c46bce" dependencies = [ "futures-core", - "pin-project-lite 0.2.9", + "pin-project-lite 0.2.16", ] [[package]] name = "futures-macro" -version = "0.3.28" +version = "0.3.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "89ca545a94061b6365f2c7355b4b32bd20df3ff95f02da9329b34ccc3bd6ee72" +checksum = "162ee34ebcb7c64a8abebc059ce0fee27c2262618d7b60ed8faf72fef13c3650" dependencies = [ "proc-macro2", "quote 1.0.37", - "syn 2.0.77", + "syn 2.0.87", ] [[package]] @@ -2213,15 +2446,15 @@ dependencies = [ [[package]] name = "futures-sink" -version = "0.3.28" +version = "0.3.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f43be4fe21a13b9781a69afa4985b0f6ee0e1afab2c6f454a8cf30e2b2237b6e" +checksum = "e575fab7d1e0dcb8d0c7bcf9a63ee213816ab51902e6d244a95819acacf1d4f7" [[package]] name = "futures-task" -version = "0.3.28" +version = "0.3.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "76d3d132be6c0e6aa1534069c705a74a5997a356c0dc2f86a47765e5617c5b65" +checksum = "f90f7dce0722e95104fcb095585910c0977252f286e354b5e3bd38902cd99988" [[package]] name = "futures-ticker" @@ -2229,7 +2462,7 @@ version = "0.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9763058047f713632a52e916cc7f6a4b3fc6e9fc1ff8c5b1dc49e5a89041682e" dependencies = [ - "futures 0.3.28", + "futures 0.3.31", "futures-timer", "instant", ] @@ -2246,9 +2479,9 @@ dependencies = [ [[package]] name = "futures-util" -version = "0.3.28" +version = "0.3.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26b01e40b772d54cf6c6d721c1d1abd0647a0106a12ecaa1c186273392a69533" +checksum = "9fa08315bb612088cc391249efdc3bc77536f16c91f6cf495e6fbe85b20a4a81" dependencies = [ "futures 0.1.29", "futures-channel", @@ -2258,7 +2491,7 @@ dependencies = [ "futures-sink", "futures-task", "memchr", - "pin-project-lite 0.2.9", + "pin-project-lite 0.2.16", "pin-utils", "slab", ] @@ -2288,9 +2521,9 @@ dependencies = [ [[package]] name = "getrandom" -version = "0.2.9" +version = "0.2.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c85e1d9ab2eadba7e5040d4e09cbd6d072b76a557ad64e797c2cb9d4da21d7e4" +checksum = "335ff9f135e4384c8150d6f27c6daed433577f86b4750418338c01a1a2528592" dependencies = [ "cfg-if 1.0.0", "js-sys", @@ -2364,9 +2597,9 @@ dependencies = [ [[package]] name = "gstuff" -version = "0.7.4" +version = "0.7.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e38a0ee5e8e3debd1336135939e6615d283b8375fab2f99d8b89dba718502212" +checksum = "2c495d42791143a3be6d33e5f442c35118ffc0819bd867bfe355b4cb6bfc20ee" dependencies = [ "lazy_static", "libc", @@ -2412,7 +2645,7 @@ version = "0.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "db0d4cf898abf0081f964436dc980e96670a0f36863e4b83aaacdb65c9d7ccc3" dependencies = [ - "ahash 0.7.6", + "ahash 0.7.8", ] [[package]] @@ -2421,7 +2654,7 @@ version = "0.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "43a3c133739dddd0d2990f9a4bdf8eb4b21ef50e4851ca85ab661199821d510e" dependencies = [ - "ahash 0.8.3", + "ahash 0.8.11", ] [[package]] @@ -2495,6 +2728,15 @@ name = "hex" version = "0.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" +dependencies = [ + "serde", +] + +[[package]] +name = "hex-conservative" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "212ab92002354b4819390025006c897e8140934349e8635c9b077f47b4dcbd20" [[package]] name = "hex_fmt" @@ -2539,7 +2781,7 @@ version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2a2a2320eb7ec0ebe8da8f744d7812d9fc4cb4d09344ac01898dbcb6a20ae69b" dependencies = [ - "crypto-mac 0.11.1", + "crypto-mac 0.11.0", "digest 0.9.0", ] @@ -2563,6 +2805,15 @@ dependencies = [ "hmac 0.8.1", ] +[[package]] +name = "home" +version = "0.5.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "589533453244b0995c858700322199b2becb13b627df2851f64a2775d024abcf" +dependencies = [ + "windows-sys 0.59.0", +] + [[package]] name = "hostname" version = "0.3.1" @@ -2604,14 +2855,37 @@ checksum = "d5f38f16d184e36f2408a55281cd658ecbd3ca05cce6d6510a176eca393e26d1" dependencies = [ "bytes", "http 0.2.12", - "pin-project-lite 0.2.9", + "pin-project-lite 0.2.16", +] + +[[package]] +name = "http-body" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1efedce1fb8e6913f23e0c92de8e62cd5b772a67e7b3946df930a62566c93184" +dependencies = [ + "bytes", + "http 1.1.0", +] + +[[package]] +name = "http-body-util" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b021d93e26becf5dc7e1b75b1bed1fd93124b374ceb73f43d4d4eafec896a64a" +dependencies = [ + "bytes", + "futures-core", + "http 1.1.0", + "http-body 1.0.1", + "pin-project-lite 0.2.16", ] [[package]] name = "httparse" -version = "1.8.0" +version = "1.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d897f394bad6a705d5f4104762e116a75639e470d80901eed05a860a95cb1904" +checksum = "6dbf3de79e51f3d586ab4cb9d5c3e2c14aa28ed23d180cf89b4df0454a69cc87" [[package]] name = "httpdate" @@ -2619,12 +2893,6 @@ version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6456b8a6c8f33fee7d958fcd1b60d55b11940a79e63ae87013e6d22e26034440" -[[package]] -name = "humantime" -version = "2.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4" - [[package]] name = "hw_common" version = "0.1.0" @@ -2633,7 +2901,7 @@ dependencies = [ "bip32", "common", "derive_more", - "futures 0.3.28", + "futures 0.3.31", "js-sys", "mm2_err_handle", "rusb", @@ -2658,11 +2926,11 @@ dependencies = [ "futures-util", "h2", "http 0.2.12", - "http-body", + "http-body 0.4.5", "httparse", "httpdate", "itoa", - "pin-project-lite 0.2.9", + "pin-project-lite 0.2.16", "socket2 0.4.9", "tokio", "tower-service", @@ -2670,6 +2938,40 @@ dependencies = [ "want", ] +[[package]] +name = "hyper" +version = "1.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cc2b571658e38e0c01b1fdca3bbbe93c00d3d71693ff2770043f8c29bc7d6f80" +dependencies = [ + "bytes", + "futures-channel", + "futures-util", + "http 1.1.0", + "http-body 1.0.1", + "httparse", + "itoa", + "pin-project-lite 0.2.16", + "smallvec", + "tokio", + "want", +] + +[[package]] +name = "hyper-named-pipe" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "73b7d8abf35697b81a825e386fc151e0d503e8cb5fcb93cc8669c376dfd6f278" +dependencies = [ + "hex", + "hyper 1.6.0", + "hyper-util", + "pin-project-lite 0.2.16", + "tokio", + "tower-service", + "winapi", +] + [[package]] name = "hyper-rustls" version = "0.23.0" @@ -2677,7 +2979,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d87c48c02e0dc5e3b849a2041db3029fd066650f8f717c07bf8ed78ccb895cac" dependencies = [ "http 0.2.12", - "hyper", + "hyper 0.14.26", "rustls 0.20.4", "tokio", "tokio-rustls 0.23.2", @@ -2691,25 +2993,80 @@ checksum = "ec3efd23720e2049821a693cbc7e65ea87c72f1c58ff2f9522ff332b1491e590" dependencies = [ "futures-util", "http 0.2.12", - "hyper", + "hyper 0.14.26", "rustls 0.21.10", "tokio", "tokio-rustls 0.24.1", "webpki-roots 0.25.4", ] +[[package]] +name = "hyper-rustls" +version = "0.26.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a0bea761b46ae2b24eb4aef630d8d1c398157b6fc29e6350ecf090a0b70c952c" +dependencies = [ + "futures-util", + "http 1.1.0", + "hyper 1.6.0", + "hyper-util", + "log", + "rustls 0.22.4", + "rustls-native-certs 0.7.3", + "rustls-pki-types", + "tokio", + "tokio-rustls 0.25.0", + "tower-service", +] + [[package]] name = "hyper-timeout" version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bbb958482e8c7be4bc3cf272a766a2b0bf1a6755e7a6ae777f017a31d11b13b1" dependencies = [ - "hyper", - "pin-project-lite 0.2.9", + "hyper 0.14.26", + "pin-project-lite 0.2.16", "tokio", "tokio-io-timeout", ] +[[package]] +name = "hyper-util" +version = "0.1.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8d9b05277c7e8da2c93a568989bb6207bef0112e8d17df7a6eda4a3cf143bc5e" +dependencies = [ + "bytes", + "futures-channel", + "futures-core", + "futures-util", + "http 1.1.0", + "http-body 1.0.1", + "hyper 1.6.0", + "libc", + "pin-project-lite 0.2.16", + "socket2 0.6.0", + "tokio", + "tower-service", + "tracing", +] + +[[package]] +name = "hyperlocal-next" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "acf569d43fa9848e510358c07b80f4adf34084ddc28c6a4a651ee8474c070dcc" +dependencies = [ + "hex", + "http-body-util", + "hyper 1.6.0", + "hyper-util", + "pin-project-lite 0.2.16", + "tokio", + "tower-service", +] + [[package]] name = "iana-time-zone" version = "0.1.53" @@ -2780,7 +3137,7 @@ dependencies = [ "async-io", "core-foundation", "fnv", - "futures 0.3.28", + "futures 0.3.31", "if-addrs", "ipnet", "log", @@ -2846,6 +3203,7 @@ checksum = "bd070e393353796e801d209ad339e89596eb4c8d430d18ede6a1cced8fafbd99" dependencies = [ "autocfg 1.1.0", "hashbrown 0.12.1", + "serde", ] [[package]] @@ -2856,6 +3214,7 @@ checksum = "233cf39063f058ea2caae4091bf4a3ef70a653afbc026f5c4a4135d114e3c177" dependencies = [ "equivalent", "hashbrown 0.14.3", + "serde", ] [[package]] @@ -2881,13 +3240,14 @@ dependencies = [ ] [[package]] -name = "io-lifetimes" -version = "1.0.6" +name = "io-uring" +version = "0.7.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cfa919a82ea574332e2de6e74b4c36e74d41982b335080fa59d4ef31be20fdf3" +checksum = "d93587f37623a1a17d94ef2bc9ada592f5465fe7732084ab7beefabe5c77c0c4" dependencies = [ + "bitflags 2.8.0", + "cfg-if 1.0.0", "libc", - "windows-sys 0.45.0", ] [[package]] @@ -2904,9 +3264,9 @@ dependencies = [ [[package]] name = "ipnet" -version = "2.7.2" +version = "2.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "12b6ee2129af8d4fb011108c73d99a1b83a85977f23b82460c0ae2e25bb4b57f" +checksum = "469fb0b9cefa57e3ef31275ee7cacb78f2fdca44e4765491884a2b119d4eb130" [[package]] name = "itertools" @@ -2946,10 +3306,11 @@ dependencies = [ [[package]] name = "js-sys" -version = "0.3.64" +version = "0.3.77" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c5f195fe497f702db0f318b07fdd68edb16955aed830df8363d837542f8f935a" +checksum = "1cfaf33c695fc6e08064efbc1f72ec937429614f25eef83af942d0e227c3a28f" dependencies = [ + "once_cell", "wasm-bindgen", ] @@ -2959,7 +3320,7 @@ version = "18.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "14f7f76aef2d054868398427f6c54943cf3d1caa9a7ec7d0c38d69df97a965eb" dependencies = [ - "futures 0.3.28", + "futures 0.3.31", "futures-executor", "futures-util", "log", @@ -3005,7 +3366,7 @@ dependencies = [ "cfg-if 1.0.0", "ecdsa", "elliptic-curve", - "sha2 0.10.7", + "sha2 0.10.9", ] [[package]] @@ -3021,7 +3382,7 @@ dependencies = [ "db_common", "derive_more", "enum_derives", - "futures 0.3.28", + "futures 0.3.31", "hex", "hkdf", "js-sys", @@ -3037,8 +3398,8 @@ dependencies = [ "secp256k1 0.20.3", "serde", "serde_json", - "sha2 0.10.7", - "thiserror", + "sha2 0.10.9", + "thiserror 1.0.69", "timed-map", "tokio", "wasm-bindgen", @@ -3051,9 +3412,12 @@ dependencies = [ [[package]] name = "keccak" -version = "0.1.0" +version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "67c21572b4949434e4fc1e1978b99c5f77064153c59d998bf13ecd96fb5ecba7" +checksum = "ecc2af9a1119c51f12a14607e783cb977bde58bc069ff0c3da1095e635d70654" +dependencies = [ + "cpufeatures", +] [[package]] name = "keccak-hash" @@ -3093,9 +3457,9 @@ dependencies = [ [[package]] name = "lazy_static" -version = "1.4.0" +version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" +checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe" [[package]] name = "lexical-core" @@ -3112,9 +3476,9 @@ dependencies = [ [[package]] name = "libc" -version = "0.2.169" +version = "0.2.174" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b5aba8db14291edd000dfcc4d620c7ebfb122c613afb886ca8803fa4e128a20a" +checksum = "1171693293099992e19cddea4e8b849964e9846f4acee11b3948bcc337be8776" [[package]] name = "libm" @@ -3128,9 +3492,9 @@ version = "0.52.1" source = "git+https://github.com/KomodoPlatform/rust-libp2p.git?tag=k-0.52.12#8bcc1fda79d56a2f398df3d45a29729b8ce0148d" dependencies = [ "bytes", - "futures 0.3.28", + "futures 0.3.31", "futures-timer", - "getrandom 0.2.9", + "getrandom 0.2.16", "instant", "libp2p-allow-block-list", "libp2p-connection-limits", @@ -3183,7 +3547,7 @@ source = "git+https://github.com/KomodoPlatform/rust-libp2p.git?tag=k-0.52.12#8b dependencies = [ "either", "fnv", - "futures 0.3.28", + "futures 0.3.31", "futures-timer", "instant", "libp2p-identity", @@ -3197,8 +3561,8 @@ dependencies = [ "quick-protobuf", "rand 0.8.5", "rw-stream-sink", - "smallvec 1.6.1", - "thiserror", + "smallvec", + "thiserror 1.0.69", "unsigned-varint", "void", ] @@ -3208,12 +3572,12 @@ name = "libp2p-dns" version = "0.40.0" source = "git+https://github.com/KomodoPlatform/rust-libp2p.git?tag=k-0.52.12#8bcc1fda79d56a2f398df3d45a29729b8ce0148d" dependencies = [ - "futures 0.3.28", + "futures 0.3.31", "libp2p-core", "libp2p-identity", "log", "parking_lot", - "smallvec 1.6.1", + "smallvec", "trust-dns-resolver", ] @@ -3225,7 +3589,7 @@ dependencies = [ "asynchronous-codec", "cuckoofilter", "fnv", - "futures 0.3.28", + "futures 0.3.31", "libp2p-core", "libp2p-identity", "libp2p-swarm", @@ -3233,8 +3597,8 @@ dependencies = [ "quick-protobuf", "quick-protobuf-codec", "rand 0.8.5", - "smallvec 1.6.1", - "thiserror", + "smallvec", + "thiserror 1.0.69", ] [[package]] @@ -3248,9 +3612,9 @@ dependencies = [ "bytes", "either", "fnv", - "futures 0.3.28", + "futures 0.3.31", "futures-ticker", - "getrandom 0.2.9", + "getrandom 0.2.16", "hex_fmt", "instant", "libp2p-core", @@ -3262,8 +3626,8 @@ dependencies = [ "quick-protobuf-codec", "rand 0.8.5", "regex", - "sha2 0.10.7", - "smallvec 1.6.1", + "sha2 0.10.9", + "smallvec", "unsigned-varint", "void", ] @@ -3275,7 +3639,7 @@ source = "git+https://github.com/KomodoPlatform/rust-libp2p.git?tag=k-0.52.12#8b dependencies = [ "asynchronous-codec", "either", - "futures 0.3.28", + "futures 0.3.31", "futures-timer", "libp2p-core", "libp2p-identity", @@ -3284,8 +3648,8 @@ dependencies = [ "lru", "quick-protobuf", "quick-protobuf-codec", - "smallvec 1.6.1", - "thiserror", + "smallvec", + "thiserror 1.0.69", "void", ] @@ -3296,15 +3660,15 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d2874d9c6575f1d7a151022af5c42bb0ffdcdfbafe0a6fd039de870b384835a2" dependencies = [ "asn1_der", - "bs58 0.5.0", + "bs58 0.5.1", "ed25519-dalek 1.0.1", "libsecp256k1", "log", "multihash", "quick-protobuf", "rand 0.8.5", - "sha2 0.10.7", - "thiserror", + "sha2 0.10.9", + "thiserror 1.0.69", "zeroize", ] @@ -3314,14 +3678,14 @@ version = "0.44.0" source = "git+https://github.com/KomodoPlatform/rust-libp2p.git?tag=k-0.52.12#8bcc1fda79d56a2f398df3d45a29729b8ce0148d" dependencies = [ "data-encoding", - "futures 0.3.28", + "futures 0.3.31", "if-watch", "libp2p-core", "libp2p-identity", "libp2p-swarm", "log", "rand 0.8.5", - "smallvec 1.6.1", + "smallvec", "socket2 0.5.3", "tokio", "trust-dns-proto", @@ -3351,7 +3715,7 @@ source = "git+https://github.com/KomodoPlatform/rust-libp2p.git?tag=k-0.52.12#8b dependencies = [ "bytes", "curve25519-dalek 3.2.0", - "futures 0.3.28", + "futures 0.3.31", "libp2p-core", "libp2p-identity", "log", @@ -3360,10 +3724,10 @@ dependencies = [ "once_cell", "quick-protobuf", "rand 0.8.5", - "sha2 0.10.7", + "sha2 0.10.9", "snow", "static_assertions", - "thiserror", + "thiserror 1.0.69", "x25519-dalek 1.1.0", "zeroize", ] @@ -3374,7 +3738,7 @@ version = "0.43.0" source = "git+https://github.com/KomodoPlatform/rust-libp2p.git?tag=k-0.52.12#8bcc1fda79d56a2f398df3d45a29729b8ce0148d" dependencies = [ "either", - "futures 0.3.28", + "futures 0.3.31", "futures-timer", "instant", "libp2p-core", @@ -3391,14 +3755,14 @@ version = "0.25.0" source = "git+https://github.com/KomodoPlatform/rust-libp2p.git?tag=k-0.52.12#8bcc1fda79d56a2f398df3d45a29729b8ce0148d" dependencies = [ "async-trait", - "futures 0.3.28", + "futures 0.3.31", "instant", "libp2p-core", "libp2p-identity", "libp2p-swarm", "log", "rand 0.8.5", - "smallvec 1.6.1", + "smallvec", "void", ] @@ -3409,7 +3773,7 @@ source = "git+https://github.com/KomodoPlatform/rust-libp2p.git?tag=k-0.52.12#8b dependencies = [ "either", "fnv", - "futures 0.3.28", + "futures 0.3.31", "futures-timer", "instant", "libp2p-core", @@ -3419,7 +3783,7 @@ dependencies = [ "multistream-select", "once_cell", "rand 0.8.5", - "smallvec 1.6.1", + "smallvec", "tokio", "void", ] @@ -3433,7 +3797,7 @@ dependencies = [ "proc-macro-warning", "proc-macro2", "quote 1.0.37", - "syn 2.0.77", + "syn 2.0.87", ] [[package]] @@ -3441,7 +3805,7 @@ name = "libp2p-tcp" version = "0.40.0" source = "git+https://github.com/KomodoPlatform/rust-libp2p.git?tag=k-0.52.12#8bcc1fda79d56a2f398df3d45a29729b8ce0148d" dependencies = [ - "futures 0.3.28", + "futures 0.3.31", "futures-timer", "if-watch", "libc", @@ -3457,7 +3821,7 @@ name = "libp2p-wasm-ext" version = "0.40.0" source = "git+https://github.com/KomodoPlatform/rust-libp2p.git?tag=k-0.52.12#8bcc1fda79d56a2f398df3d45a29729b8ce0148d" dependencies = [ - "futures 0.3.28", + "futures 0.3.31", "js-sys", "libp2p-core", "send_wrapper 0.6.0", @@ -3471,7 +3835,7 @@ version = "0.42.0" source = "git+https://github.com/KomodoPlatform/rust-libp2p.git?tag=k-0.52.12#8bcc1fda79d56a2f398df3d45a29729b8ce0148d" dependencies = [ "either", - "futures 0.3.28", + "futures 0.3.31", "futures-rustls 0.22.1", "libp2p-core", "libp2p-identity", @@ -3490,9 +3854,9 @@ version = "0.44.0" source = "git+https://github.com/KomodoPlatform/rust-libp2p.git?tag=k-0.52.12#8bcc1fda79d56a2f398df3d45a29729b8ce0148d" dependencies = [ "either", - "futures 0.3.28", + "futures 0.3.31", "libp2p-core", - "thiserror", + "thiserror 1.0.69", "tracing", "yamux 0.12.1", "yamux 0.13.1", @@ -3596,7 +3960,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e9680857590c3529cf8c7d32b04501f215f2bf1e029fdfa22f4112f66c1741e4" dependencies = [ "bech32", - "bitcoin_hashes", + "bitcoin_hashes 0.11.0", "lightning", "num-traits", "secp256k1 0.24.3", @@ -3639,12 +4003,6 @@ version = "0.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8dd5a6d5999d9907cda8ed67bbd137d3af8085216c2ac62de5be860bd41f304a" -[[package]] -name = "linux-raw-sys" -version = "0.1.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f051f77a7c8e6957c0696eac88f26b0117e54f52d3fc682ab19397a8812846a4" - [[package]] name = "linux-raw-sys" version = "0.4.15" @@ -3662,9 +4020,9 @@ dependencies = [ [[package]] name = "log" -version = "0.4.19" +version = "0.4.27" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b06a4cde4c0f271a446782e3eff8de789548ce57dbc8eca9292c27f4a42004b4" +checksum = "13dc2df351e3202783a1fe0d44375f7295ffb4049267b0f3018346dc122a1d94" dependencies = [ "value-bag", ] @@ -3727,9 +4085,9 @@ source = "git+https://github.com/KomodoPlatform/mm2-parity-ethereum.git?rev=mm2- [[package]] name = "memchr" -version = "2.5.0" +version = "2.7.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d" +checksum = "f52b00d39961fc5b2736ea853c9cc86238e165017a493d1d5c8eac6bdc4cc273" [[package]] name = "memoffset" @@ -3740,15 +4098,6 @@ dependencies = [ "autocfg 1.1.0", ] -[[package]] -name = "memoffset" -version = "0.6.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "59accc507f1338036a0477ef61afdae33cde60840f4dfe481319ce3ad116ddf9" -dependencies = [ - "autocfg 1.1.0", -] - [[package]] name = "memory-db" version = "0.29.0" @@ -3766,7 +4115,7 @@ version = "0.21.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "aa8ebbd1a9e57bbab77b9facae7f5136aea44c356943bf9a198f647da64285d6" dependencies = [ - "ahash 0.8.3", + "ahash 0.8.11", "metrics-macros", "portable-atomic", ] @@ -3778,13 +4127,13 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8a4964177ddfdab1e3a2b37aec7cf320e14169abb0ed73999f558136409178d5" dependencies = [ "base64 0.21.7", - "hyper", + "hyper 0.14.26", "indexmap 1.9.3", "ipnet", "metrics", "metrics-util", "quanta", - "thiserror", + "thiserror 1.0.69", "tokio", "tracing", ] @@ -3797,7 +4146,7 @@ checksum = "ddece26afd34c31585c74a4db0630c376df271c285d682d1e55012197830b6df" dependencies = [ "proc-macro2", "quote 1.0.37", - "syn 2.0.77", + "syn 2.0.87", ] [[package]] @@ -3807,8 +4156,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "111cb375987443c3de8d503580b536f77dc8416d32db62d9456db5d93bd7ac47" dependencies = [ "aho-corasick 0.7.18", - "crossbeam-epoch 0.9.5", - "crossbeam-utils 0.8.16", + "crossbeam-epoch 0.9.18", + "crossbeam-utils 0.8.21", "hashbrown 0.13.2", "indexmap 1.9.3", "metrics", @@ -3825,6 +4174,16 @@ version = "0.3.16" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2a60c7ce501c71e03a9c9c0d35b861413ae925bd979cc7a4e30d060069aaac8d" +[[package]] +name = "minicov" +version = "0.3.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f27fe9f1cc3c22e1687f9446c2083c4c5fc7f0bcf1c7a86bdbded14985895b4b" +dependencies = [ + "cc", + "walkdir", +] + [[package]] name = "miniz_oxide" version = "0.4.0" @@ -3845,19 +4204,18 @@ dependencies = [ [[package]] name = "mio" -version = "0.8.6" +version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b9d9a46eff5b4ff64b45a9e316a6d1e0bc719ef429cbec4dc630684212bfdf9" +checksum = "78bed444cc8a2160f01cbcf811ef18cac863ad68ae8ca62092e8db51d51c761c" dependencies = [ "libc", - "log", "wasi 0.11.0+wasi-snapshot-preview1", - "windows-sys 0.45.0", + "windows-sys 0.59.0", ] [[package]] name = "mm2_bin_lib" -version = "2.5.2-beta" +version = "2.6.0-beta" dependencies = [ "chrono", "common", @@ -3888,7 +4246,7 @@ dependencies = [ "common", "db_common", "derive_more", - "futures 0.3.28", + "futures 0.3.31", "gstuff", "hex", "lazy_static", @@ -3921,7 +4279,7 @@ dependencies = [ "common", "derive_more", "enum_derives", - "futures 0.3.28", + "futures 0.3.31", "hex", "itertools", "js-sys", @@ -3978,7 +4336,7 @@ dependencies = [ "async-trait", "cfg-if 1.0.0", "common", - "futures 0.3.28", + "futures 0.3.31", "parking_lot", "serde", "serde_json", @@ -4028,7 +4386,7 @@ dependencies = [ "async-std", "common", "derive_more", - "futures 0.3.28", + "futures 0.3.31", "gstuff", "mm2_err_handle", "rand 0.7.3", @@ -4042,29 +4400,31 @@ version = "0.1.0" dependencies = [ "async-std", "async-trait", + "base64 0.21.7", "bitcrypto", "blake2", "bytes", "cfg-if 1.0.0", "chain", "chrono", + "clap", "coins", "coins_activation", "common", "crc32fast", - "crossbeam 0.8.2", + "crossbeam 0.8.4", "crypto", "db_common", "derive_more", - "dirs", "either", "enum-primitive-derive", "enum_derives", + "env_logger", "ethabi", "ethcore-transaction", "ethereum-types", "futures 0.1.29", - "futures 0.3.28", + "futures 0.3.31", "futures-rustls 0.24.0", "gstuff", "hash-db", @@ -4072,7 +4432,7 @@ dependencies = [ "hex", "http 0.2.12", "hw_common", - "hyper", + "hyper 0.14.26", "instant", "itertools", "js-sys", @@ -4098,12 +4458,13 @@ dependencies = [ "parking_lot", "primitive-types", "primitives", - "prost", + "prost 0.12.6", "prost-build", "rand 0.6.5", "rand 0.7.3", "rcgen", "regex", + "reqwest", "rlp", "rmp-serde", "rpc", @@ -4121,6 +4482,7 @@ dependencies = [ "serialization", "serialization_derive", "sia-rust", + "signal-hook-tokio", "sp-runtime-interface", "sp-trie", "spv_validation", @@ -4149,7 +4511,7 @@ dependencies = [ "async-trait", "common", "derive_more", - "futures 0.3.28", + "futures 0.3.31", "itertools", "js-sys", "jsonrpc-core", @@ -4172,8 +4534,8 @@ dependencies = [ "base64 0.21.7", "common", "derive_more", - "futures 0.3.28", - "hyper", + "futures 0.3.31", + "hyper 0.14.26", "hyper-rustls 0.24.2", "itertools", "metrics", @@ -4197,13 +4559,13 @@ dependencies = [ "common", "derive_more", "ethkey", - "futures 0.3.28", + "futures 0.3.31", "futures-util", "gstuff", "http 0.2.12", - "http-body", + "http-body 0.4.5", "httparse", - "hyper", + "hyper 0.14.26", "js-sys", "lazy_static", "mm2_core", @@ -4211,12 +4573,12 @@ dependencies = [ "mm2_number", "mm2_state_machine", "pin-project", - "prost", + "prost 0.12.6", "rand 0.7.3", "rustls 0.21.10", "serde", "serde_json", - "thiserror", + "thiserror 1.0.69", "tokio", "tokio-rustls 0.24.1", "tonic", @@ -4249,7 +4611,7 @@ dependencies = [ "common", "derive_more", "env_logger", - "futures 0.3.28", + "futures 0.3.31", "futures-rustls 0.22.1", "futures-rustls 0.24.0", "futures-ticker", @@ -4269,8 +4631,8 @@ dependencies = [ "serde", "serde_bytes", "serde_json", - "sha2 0.10.7", - "smallvec 1.6.1", + "sha2 0.10.9", + "smallvec", "timed-map", "tokio", "void", @@ -4283,7 +4645,7 @@ version = "0.1.0" dependencies = [ "common", "derive_more", - "futures 0.3.28", + "futures 0.3.31", "gstuff", "http 0.2.12", "mm2_err_handle", @@ -4302,7 +4664,7 @@ version = "0.1.0" dependencies = [ "async-trait", "common", - "futures 0.3.28", + "futures 0.3.31", ] [[package]] @@ -4315,7 +4677,7 @@ dependencies = [ "common", "crypto", "db_common", - "futures 0.3.28", + "futures 0.3.31", "gstuff", "http 0.2.12", "lazy_static", @@ -4406,10 +4768,10 @@ version = "0.13.0" source = "git+https://github.com/KomodoPlatform/rust-libp2p.git?tag=k-0.52.12#8bcc1fda79d56a2f398df3d45a29729b8ce0148d" dependencies = [ "bytes", - "futures 0.3.28", + "futures 0.3.31", "log", "pin-project", - "smallvec 1.6.1", + "smallvec", "unsigned-varint", ] @@ -4447,7 +4809,7 @@ dependencies = [ "anyhow", "byteorder", "paste", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -4457,11 +4819,11 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "86b33524dc0968bfad349684447bfce6db937a9ac3332a1fe60c0c5a5ce63f21" dependencies = [ "bytes", - "futures 0.3.28", + "futures 0.3.31", "log", "netlink-packet-core", "netlink-sys", - "thiserror", + "thiserror 1.0.69", "tokio", ] @@ -4472,7 +4834,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6471bf08e7ac0135876a9581bf3217ef0333c191c128d34878079f42ee150411" dependencies = [ "bytes", - "futures 0.3.28", + "futures 0.3.31", "libc", "log", "tokio", @@ -4484,7 +4846,7 @@ version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "77a5d83df9f36fe23f0c3648c6bbb8b0298bb5f1939c8f2704431371f4b84d43" dependencies = [ - "smallvec 1.6.1", + "smallvec", ] [[package]] @@ -4519,16 +4881,21 @@ dependencies = [ [[package]] name = "num-bigint" -version = "0.4.3" +version = "0.4.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f93ab6289c7b344a8a9f60f88d80aa20032336fe78da341afc91c8a2341fc75f" +checksum = "a5e44f723f1133c9deac646763579fdb3ac745e418f2a7af9cd0c431da1f20b9" dependencies = [ - "autocfg 1.1.0", "num-integer", "num-traits", "serde", ] +[[package]] +name = "num-conv" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "51d515d32fb182ee37cda2ccdcb92950d6a3c2893aa280e540671c2cd0f3b1d9" + [[package]] name = "num-derive" version = "0.4.2" @@ -4537,16 +4904,15 @@ checksum = "ed3955f1a9c7c0c15e092f9c887db08b1fc683305fdf6eb6684f22555355e202" dependencies = [ "proc-macro2", "quote 1.0.37", - "syn 2.0.77", + "syn 2.0.87", ] [[package]] name = "num-integer" -version = "0.1.43" +version = "0.1.46" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8d59457e662d541ba17869cf51cf177c0b5f0cbf476c66bdc90bf1edac4f875b" +checksum = "7969661fd2958a5cb096e56c8e1ad0444ac2bbcd0061bd28660485a44879858f" dependencies = [ - "autocfg 1.1.0", "num-traits", ] @@ -4565,9 +4931,9 @@ dependencies = [ [[package]] name = "num-traits" -version = "0.2.15" +version = "0.2.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "578ede34cf02f8924ab9447f50c28075b4d3e5b269972345e7e0372b38c6cdcd" +checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841" dependencies = [ "autocfg 1.1.0", ] @@ -4582,6 +4948,28 @@ dependencies = [ "libc", ] +[[package]] +name = "num_enum" +version = "0.7.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a973b4e44ce6cad84ce69d797acf9a044532e4184c4f267913d1b546a0727b7a" +dependencies = [ + "num_enum_derive", + "rustversion", +] + +[[package]] +name = "num_enum_derive" +version = "0.7.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "77e878c846a8abae00dd069496dbe8751b16ac1c3d6bd2a7283a938e8228f90d" +dependencies = [ + "proc-macro-crate 3.2.0", + "proc-macro2", + "quote 1.0.37", + "syn 2.0.87", +] + [[package]] name = "object" version = "0.29.0" @@ -4593,9 +4981,9 @@ dependencies = [ [[package]] name = "once_cell" -version = "1.18.0" +version = "1.21.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dd8b5dd2ae5ed71462c540258bedcb51965123ad7e7ccf4b9a8cafaa4a63576d" +checksum = "42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d" [[package]] name = "opaque-debug" @@ -4609,6 +4997,12 @@ version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf" +[[package]] +name = "option-ext" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "04744f49eae99ab78e0d5c0b603ab218f515ea8cfe5a456d7629ad883a3b6e7d" + [[package]] name = "ordered-float" version = "3.7.0" @@ -4644,7 +5038,7 @@ dependencies = [ "relay_rpc", "serde", "serde_json", - "thiserror", + "thiserror 1.0.69", "url", "wc_common", ] @@ -4655,7 +5049,7 @@ version = "3.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e8b44461635bbb1a0300f100a841e571e7d919c81c73075ef5d152ffdb521066" dependencies = [ - "arrayvec 0.7.1", + "arrayvec 0.7.6", "bitvec 1.0.0", "byte-slice-cast", "impl-trait-for-tuples", @@ -4669,7 +5063,7 @@ version = "3.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c45ed1f39709f5a89338fab50e59816b2e8815f5bb58276e7ddf9afd495f73f8" dependencies = [ - "proc-macro-crate", + "proc-macro-crate 1.1.3", "proc-macro2", "quote 1.0.37", "syn 1.0.95", @@ -4719,35 +5113,45 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "87f5ec2493a61ac0506c0f4199f99070cbe83857b0337006a30f3e6719b8ef58" dependencies = [ "lock_api", - "parking_lot_core 0.9.1", + "parking_lot_core", ] [[package]] name = "parking_lot_core" -version = "0.6.2" +version = "0.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b876b1b9e7ac6e1a74a6da34d25c42e17e8862aa409cbbbdcfc8d86c6f3bc62b" +checksum = "28141e0cc4143da2443301914478dc976a61ffdb3f043058310c70df2fed8954" dependencies = [ - "cfg-if 0.1.10", - "cloudabi", + "cfg-if 1.0.0", "libc", - "redox_syscall 0.1.56", - "rustc_version 0.2.3", - "smallvec 0.6.14", - "winapi", + "redox_syscall", + "smallvec", + "windows-sys 0.32.0", ] [[package]] -name = "parking_lot_core" +name = "parse-display" version = "0.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "28141e0cc4143da2443301914478dc976a61ffdb3f043058310c70df2fed8954" +checksum = "914a1c2265c98e2446911282c6ac86d8524f495792c38c5bd884f80499c7538a" dependencies = [ - "cfg-if 1.0.0", - "libc", - "redox_syscall 0.2.10", - "smallvec 1.6.1", - "windows-sys 0.32.0", + "parse-display-derive", + "regex", + "regex-syntax", +] + +[[package]] +name = "parse-display-derive" +version = "0.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2ae7800a4c974efd12df917266338e79a7a74415173caf7e70aa0a0707345281" +dependencies = [ + "proc-macro2", + "quote 1.0.37", + "regex", + "regex-syntax", + "structmeta", + "syn 2.0.87", ] [[package]] @@ -4767,6 +5171,15 @@ version = "1.0.15" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "57c0d7b74b563b49d38dae00a0c37d4d6de9b432382b2892f0574ddcae73fd0a" +[[package]] +name = "pbkdf2" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "83a0692ec44e4cf1ef28ca317f14f8f07da2d95ec3fa01f86e4467b725e60917" +dependencies = [ + "digest 0.10.7", +] + [[package]] name = "peg" version = "0.8.4" @@ -4836,7 +5249,7 @@ checksum = "ec2e072ecce94ec471b13398d5402c188e76ac03cf74dd1a975161b23a3f6d9c" dependencies = [ "proc-macro2", "quote 1.0.37", - "syn 2.0.77", + "syn 2.0.87", ] [[package]] @@ -4847,9 +5260,9 @@ checksum = "257b64915a082f7811703966789728173279bdebb956b143dbcd23f6f970a777" [[package]] name = "pin-project-lite" -version = "0.2.9" +version = "0.2.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e0a7ae3ac2f1173085d398531c705756c94a4c56843785df85a60c1a0afac116" +checksum = "3b3cff922bd51709b605d9ead9aa71031d81447142d828eb4a6eba76fe619f9b" [[package]] name = "pin-utils" @@ -4869,9 +5282,9 @@ dependencies = [ [[package]] name = "pkg-config" -version = "0.3.27" +version = "0.3.32" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26072860ba924cbfa98ea39c8c19b4dd6a4a25423dbdf219c1eca91aa0cf6964" +checksum = "7edddbd0b52d732b21ad9a5fab5c704c14cd949e5e9a1ec5929a24fded1b904c" [[package]] name = "polling" @@ -4882,8 +5295,8 @@ dependencies = [ "cfg-if 1.0.0", "concurrent-queue 2.2.0", "hermit-abi 0.4.0", - "pin-project-lite 0.2.9", - "rustix 0.38.44", + "pin-project-lite 0.2.16", + "rustix", "tracing", "windows-sys 0.59.0", ] @@ -4917,11 +5330,20 @@ version = "1.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dc59d1bcc64fc5d021d67521f818db868368028108d37f0e98d74e33f68297b5" +[[package]] +name = "powerfmt" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391" + [[package]] name = "ppv-lite86" -version = "0.2.8" +version = "0.2.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "237a5ed80e274dbc66f86bd59c1e25edc039660be53194b5fe0a482e0f2612ea" +checksum = "85eae3c4ed2f50dcfe72643da4befc30deadb458a9b590d720cde2f2b1e97da9" +dependencies = [ + "zerocopy 0.8.26", +] [[package]] name = "prettyplease" @@ -4930,7 +5352,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ae005bd773ab59b4725093fd7df83fd7892f7d8eafb48dbd7de6e024e4215f9d" dependencies = [ "proc-macro2", - "syn 2.0.77", + "syn 2.0.87", ] [[package]] @@ -4951,7 +5373,7 @@ dependencies = [ name = "primitives" version = "0.1.0" dependencies = [ - "bitcoin_hashes", + "bitcoin_hashes 0.11.0", "byteorder", "rustc-hex", "uint", @@ -4963,10 +5385,19 @@ version = "1.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e17d47ce914bf4de440332250b0edd23ce48c005f59fab39d3335866b114f11a" dependencies = [ - "thiserror", + "thiserror 1.0.69", "toml 0.5.7", ] +[[package]] +name = "proc-macro-crate" +version = "3.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8ecf48c7ca261d60b74ab1a7b20da18bede46776b2e55535cb958eb595c5fa7b" +dependencies = [ + "toml_edit", +] + [[package]] name = "proc-macro-warning" version = "0.4.1" @@ -4975,14 +5406,14 @@ checksum = "70550716265d1ec349c41f70dd4f964b4fd88394efe4405f0c1da679c4799a07" dependencies = [ "proc-macro2", "quote 1.0.37", - "syn 2.0.77", + "syn 2.0.87", ] [[package]] name = "proc-macro2" -version = "1.0.87" +version = "1.0.101" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b3e4daa0dcf6feba26f985457cdf104d4b4256fc5a09547140f3631bb076b19a" +checksum = "89ae43fd86e4158d6db51ad8e2b80f313af9cc74f5c0e03ccb87de09998732de" dependencies = [ "unicode-ident", ] @@ -5017,7 +5448,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "deb1435c188b76130da55f17a466d252ff7b1418b2ad3e037d127b94e3411f29" dependencies = [ "bytes", - "prost-derive", + "prost-derive 0.12.6", +] + +[[package]] +name = "prost" +version = "0.14.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7231bd9b3d3d33c86b58adbac74b5ec0ad9f496b19d22801d773636feaa95f3d" +dependencies = [ + "bytes", + "prost-derive 0.14.1", ] [[package]] @@ -5034,10 +5475,10 @@ dependencies = [ "once_cell", "petgraph", "prettyplease", - "prost", + "prost 0.12.6", "prost-types", "regex", - "syn 2.0.77", + "syn 2.0.87", "tempfile", ] @@ -5051,7 +5492,20 @@ dependencies = [ "itertools", "proc-macro2", "quote 1.0.37", - "syn 2.0.77", + "syn 2.0.87", +] + +[[package]] +name = "prost-derive" +version = "0.14.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9120690fafc389a67ba3803df527d0ec9cbbc9cc45e4cc20b332996dfb672425" +dependencies = [ + "anyhow", + "itertools", + "proc-macro2", + "quote 1.0.37", + "syn 2.0.87", ] [[package]] @@ -5060,7 +5514,7 @@ version = "0.12.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9091c90b0a32608e984ff2fa4091273cbdd755d54935c51d520887f4a1dbd5b0" dependencies = [ - "prost", + "prost 0.12.6", ] [[package]] @@ -5106,7 +5560,7 @@ version = "0.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a17e662a7a8291a865152364c20c7abc5e60486ab2001e8ec10b24862de0b9ab" dependencies = [ - "crossbeam-utils 0.8.16", + "crossbeam-utils 0.8.21", "libc", "mach2", "once_cell", @@ -5139,7 +5593,7 @@ dependencies = [ "asynchronous-codec", "bytes", "quick-protobuf", - "thiserror", + "thiserror 1.0.69", "unsigned-varint", ] @@ -5301,7 +5755,7 @@ version = "0.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" dependencies = [ - "getrandom 0.2.9", + "getrandom 0.2.16", ] [[package]] @@ -5402,7 +5856,7 @@ checksum = "ffbe84efe2f38dea12e9bfc1f65377fdf03e53a18cb3b995faedf7934c7e785b" dependencies = [ "pem", "ring 0.16.20", - "time 0.3.20", + "time", "yasna", ] @@ -5415,12 +5869,6 @@ dependencies = [ "rand_core 0.3.1", ] -[[package]] -name = "redox_syscall" -version = "0.1.56" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2439c63f3f6139d1b57529d16bc3b8bb855230c8efcc5d3a896c8bea7c3b1e84" - [[package]] name = "redox_syscall" version = "0.2.10" @@ -5430,52 +5878,53 @@ dependencies = [ "bitflags 1.3.2", ] -[[package]] -name = "redox_users" -version = "0.3.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09b23093265f8d200fa7b4c2c76297f47e681c655f6f1285a8780d6a022f7431" -dependencies = [ - "getrandom 0.1.14", - "redox_syscall 0.1.56", - "rust-argon2", -] - [[package]] name = "redox_users" version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "528532f3d801c87aec9def2add9ca802fe569e44a544afe633765267840abe64" dependencies = [ - "getrandom 0.2.9", - "redox_syscall 0.2.10", + "getrandom 0.2.16", + "redox_syscall", ] [[package]] name = "ref-cast" -version = "1.0.3" +version = "1.0.25" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e17626b2f4bcf35b84bf379072a66e28cfe5c3c6ae58b38e4914bb8891dabece" +checksum = "f354300ae66f76f1c85c5f84693f0ce81d747e2c3f21a45fef496d89c960bf7d" dependencies = [ "ref-cast-impl", ] [[package]] name = "ref-cast-impl" -version = "1.0.3" +version = "1.0.25" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0c523ccaed8ac4b0288948849a350b37d3035827413c458b6a40ddb614bb4f72" +checksum = "b7186006dcb21920990093f30e3dea63b7d6e977bf1256be20c3563a5db070da" dependencies = [ "proc-macro2", "quote 1.0.37", - "syn 1.0.95", + "syn 2.0.87", ] [[package]] name = "regex" -version = "1.8.4" +version = "1.12.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "843bc0191f75f3e22651ae5f1e72939ab2f72a4bc30fa80a066bd66edefc24d4" +dependencies = [ + "aho-corasick 1.0.2", + "memchr", + "regex-automata", + "regex-syntax", +] + +[[package]] +name = "regex-automata" +version = "0.4.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d0ab3ca65655bb1e41f2a8c8cd662eb4fb035e67c3f78da1d61dffe89d07300f" +checksum = "5276caf25ac86c8d810222b3dbb938e512c55c6831a10f3e6ed1c93b84041f1c" dependencies = [ "aho-corasick 1.0.2", "memchr", @@ -5484,9 +5933,9 @@ dependencies = [ [[package]] name = "regex-syntax" -version = "0.7.2" +version = "0.8.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "436b050e76ed2903236f032a59761c1eb99e1b0aead2c257922771dab1fc8c78" +checksum = "7a2d987857b319362043e95f5353c0535c1f58eec5336fdfcf626430af7def58" [[package]] name = "relay_client" @@ -5496,7 +5945,7 @@ dependencies = [ "chrono", "data-encoding", "futures-util", - "getrandom 0.2.9", + "getrandom 0.2.16", "http 1.1.0", "js-sys", "pin-project", @@ -5505,7 +5954,7 @@ dependencies = [ "serde", "serde_json", "serde_qs", - "thiserror", + "thiserror 1.0.69", "tokio", "tokio-tungstenite-wasm", "tokio-util", @@ -5527,7 +5976,7 @@ dependencies = [ "data-encoding", "derive_more", "ed25519-dalek 2.1.1", - "getrandom 0.2.9", + "getrandom 0.2.16", "hex", "jsonwebtoken", "once_cell", @@ -5537,9 +5986,9 @@ dependencies = [ "serde", "serde-aux", "serde_json", - "sha2 0.10.7", + "sha2 0.10.9", "strum", - "thiserror", + "thiserror 1.0.69", "url", ] @@ -5556,8 +6005,8 @@ dependencies = [ "futures-util", "h2", "http 0.2.12", - "http-body", - "hyper", + "http-body 0.4.5", + "hyper 0.14.26", "hyper-rustls 0.23.0", "ipnet", "js-sys", @@ -5565,7 +6014,7 @@ dependencies = [ "log", "mime", "percent-encoding", - "pin-project-lite 0.2.9", + "pin-project-lite 0.2.16", "rustls 0.20.4", "rustls-pemfile 0.2.1", "serde", @@ -5623,7 +6072,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9babe80d5c16becf6594aa32ad2be8fe08498e7ae60b77de8df700e67f191d7e" dependencies = [ "cc", - "getrandom 0.2.9", + "getrandom 0.2.16", "libc", "spin 0.9.8", "untrusted 0.9.0", @@ -5706,7 +6155,7 @@ dependencies = [ "async-trait", "common", "derive_more", - "futures 0.3.28", + "futures 0.3.31", "mm2_err_handle", "mm2_event_stream", "ser_error", @@ -5722,7 +6171,7 @@ version = "0.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7a552eb82d19f38c3beed3f786bd23aa434ceb9ac43ab44419ca6d67a7e186c0" dependencies = [ - "futures 0.3.28", + "futures 0.3.31", "log", "netlink-packet-core", "netlink-packet-route", @@ -5730,7 +6179,7 @@ dependencies = [ "netlink-proto", "netlink-sys", "nix", - "thiserror", + "thiserror 1.0.69", "tokio", ] @@ -5755,20 +6204,8 @@ dependencies = [ "fallible-streaming-iterator", "hashlink", "libsqlite3-sys", - "smallvec 1.6.1", - "time 0.3.20", -] - -[[package]] -name = "rust-argon2" -version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2bc8af4bda8e1ff4932523b94d3dd20ee30a87232323eda55903ffd71d2fb017" -dependencies = [ - "base64 0.11.0", - "blake2b_simd", - "constant_time_eq", - "crossbeam-utils 0.7.2", + "smallvec", + "time", ] [[package]] @@ -5795,36 +6232,13 @@ version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3e75f6a532d0fd9f7f13144f392b6ad56a32696bfcd9c78f797f16bbb6f072d6" -[[package]] -name = "rustc_version" -version = "0.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "138e3e0acb6c9fb258b19b67cb8abd63c00679d2851805ea151465464fe9030a" -dependencies = [ - "semver 0.9.0", -] - [[package]] name = "rustc_version" version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bfa0f585226d2e68097d4f95d113b15b83a82e819ab25717ec0590d9584ef366" dependencies = [ - "semver 1.0.6", -] - -[[package]] -name = "rustix" -version = "0.36.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fd5c6ff11fecd55b40746d1995a02f2eb375bf8c00d192d521ee09f42bef37bc" -dependencies = [ - "bitflags 1.3.2", - "errno 0.2.8", - "io-lifetimes", - "libc", - "linux-raw-sys 0.1.4", - "windows-sys 0.45.0", + "semver", ] [[package]] @@ -5834,10 +6248,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fdb5bc1ae2baa591800df16c9ca78619bf65c0488b41b96ccec5d11220d8c154" dependencies = [ "bitflags 2.8.0", - "errno 0.3.10", + "errno", "libc", - "linux-raw-sys 0.4.15", - "windows-sys 0.59.0", + "linux-raw-sys", + "windows-sys 0.52.0", ] [[package]] @@ -5864,6 +6278,20 @@ dependencies = [ "sct", ] +[[package]] +name = "rustls" +version = "0.22.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bf4ef73721ac7bcd79b2b315da7779d8fc09718c6b3d2d1b2d94850eb8c18432" +dependencies = [ + "log", + "ring 0.17.3", + "rustls-pki-types", + "rustls-webpki 0.102.8", + "subtle", + "zeroize", +] + [[package]] name = "rustls-native-certs" version = "0.6.3" @@ -5876,6 +6304,19 @@ dependencies = [ "security-framework", ] +[[package]] +name = "rustls-native-certs" +version = "0.7.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e5bfb394eeed242e909609f56089eecfe5fda225042e8b171791b9c95f5931e5" +dependencies = [ + "openssl-probe", + "rustls-pemfile 2.2.0", + "rustls-pki-types", + "schannel", + "security-framework", +] + [[package]] name = "rustls-pemfile" version = "0.2.1" @@ -5894,6 +6335,24 @@ dependencies = [ "base64 0.21.7", ] +[[package]] +name = "rustls-pemfile" +version = "2.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dce314e5fee3f39953d46bb63bb8a46d40c2f8fb7cc5a3b6cab2bde9721d6e50" +dependencies = [ + "rustls-pki-types", +] + +[[package]] +name = "rustls-pki-types" +version = "1.12.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "229a4a4c221013e7e1f1a043678c5cc39fe5171437c88fb47151a21e6f5b5c79" +dependencies = [ + "zeroize", +] + [[package]] name = "rustls-webpki" version = "0.100.1" @@ -5914,6 +6373,17 @@ dependencies = [ "untrusted 0.9.0", ] +[[package]] +name = "rustls-webpki" +version = "0.102.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "64ca1bc8749bd4cf37b5ce386cc146580777b4e8572c7b97baf22c83f444bee9" +dependencies = [ + "ring 0.17.3", + "rustls-pki-types", + "untrusted 0.9.0", +] + [[package]] name = "rustversion" version = "1.0.14" @@ -5925,7 +6395,7 @@ name = "rw-stream-sink" version = "0.4.0" source = "git+https://github.com/KomodoPlatform/rust-libp2p.git?tag=k-0.52.12#8bcc1fda79d56a2f398df3d45a29729b8ce0148d" dependencies = [ - "futures 0.3.28", + "futures 0.3.31", "pin-project", "static_assertions", ] @@ -5963,7 +6433,7 @@ version = "2.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "50e334bb10a245e28e5fd755cabcafd96cfcd167c99ae63a46924ca8d8703a3c" dependencies = [ - "proc-macro-crate", + "proc-macro-crate 1.1.3", "proc-macro2", "quote 1.0.37", "syn 1.0.95", @@ -5978,6 +6448,30 @@ dependencies = [ "windows-sys 0.48.0", ] +[[package]] +name = "schemars" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4cd191f9397d57d581cddd31014772520aa448f65ef991055d7f61582c65165f" +dependencies = [ + "dyn-clone", + "ref-cast", + "serde", + "serde_json", +] + +[[package]] +name = "schemars" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "82d20c4491bc164fa2f6c5d44565947a52ad80b9505d8e36f8d54c27c739fcd0" +dependencies = [ + "dyn-clone", + "ref-cast", + "serde", + "serde_json", +] + [[package]] name = "scoped-tls" version = "1.0.0" @@ -6050,7 +6544,7 @@ version = "0.24.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6b1629c9c557ef9b293568b338dddfc8208c98a18c59d722a9d53f859d9c9b62" dependencies = [ - "bitcoin_hashes", + "bitcoin_hashes 0.11.0", "secp256k1-sys 0.6.1", ] @@ -6106,24 +6600,9 @@ dependencies = [ [[package]] name = "semver" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d7eb9ef2c18661902cc47e535f9bc51b78acd254da71d375c2f6720d9a40403" -dependencies = [ - "semver-parser", -] - -[[package]] -name = "semver" -version = "1.0.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4a3381e03edd24287172047536f20cabde766e2cd3e65e6b00fb3af51c4f38d" - -[[package]] -name = "semver-parser" -version = "0.7.0" +version = "1.0.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3" +checksum = "56e6fa9c48d24d85fb3de5ad847117517440f6beceb7798af16b4a87d616b8d0" [[package]] name = "send_wrapper" @@ -6156,9 +6635,9 @@ dependencies = [ [[package]] name = "serde" -version = "1.0.210" +version = "1.0.219" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c8e3592472072e6e22e0a54d5904d9febf8508f65fb8552499a1abc7d1078c3a" +checksum = "5f0e2c6ed6606019b4e29e69dbaba95b11854410e5347d525002456dbbb786b6" dependencies = [ "serde_derive", ] @@ -6173,6 +6652,15 @@ dependencies = [ "serde_json", ] +[[package]] +name = "serde-big-array" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "11fc7cc2c76d73e0f27ee52abbd64eec84d46f370c88371120433196934e4b7f" +dependencies = [ + "serde", +] + [[package]] name = "serde-wasm-bindgen" version = "0.4.3" @@ -6186,29 +6674,29 @@ dependencies = [ [[package]] name = "serde_bytes" -version = "0.11.5" +version = "0.11.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "16ae07dd2f88a366f15bd0632ba725227018c69a1c8550a927324f8eb8368bb9" +checksum = "8437fd221bde2d4ca316d61b90e337e9e702b3820b87d63caa9ba6c02bd06d96" dependencies = [ "serde", ] [[package]] name = "serde_derive" -version = "1.0.210" +version = "1.0.219" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "243902eda00fad750862fc144cea25caca5e20d615af0a81bee94ca738f1df1f" +checksum = "5b0276cf7f2c73365f7157c8123c21cd9a50fbbd844757af28ca1f5925fc2a00" dependencies = [ "proc-macro2", "quote 1.0.37", - "syn 2.0.77", + "syn 2.0.87", ] [[package]] name = "serde_json" -version = "1.0.125" +version = "1.0.140" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "83c8e735a073ccf5be70aa8066aa984eaf2fa000db6c8d0100ae605b366d31ed" +checksum = "20068b6e96dc6c9bd23e01df8827e6c7e1f2fddd43c21810382803c136b99373" dependencies = [ "indexmap 2.2.3", "itoa", @@ -6225,7 +6713,7 @@ checksum = "8cac3f1e2ca2fe333923a1ae72caca910b98ed0630bb35ef6f8c8517d6e81afa" dependencies = [ "percent-encoding", "serde", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -6262,24 +6750,34 @@ dependencies = [ [[package]] name = "serde_with" -version = "1.14.0" +version = "3.14.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "678b5a069e50bf00ecd22d0cd8ddf7c236f68581b03db652061ed5eb13a312ff" +checksum = "c522100790450cf78eeac1507263d0a350d4d5b30df0c8e1fe051a10c22b376e" dependencies = [ + "base64 0.22.1", + "chrono", + "hex", + "indexmap 1.9.3", + "indexmap 2.2.3", + "schemars 0.9.0", + "schemars 1.0.4", "serde", + "serde_derive", + "serde_json", "serde_with_macros", + "time", ] [[package]] name = "serde_with_macros" -version = "1.5.2" +version = "3.14.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e182d6ec6f05393cc0e5ed1bf81ad6db3a8feedf8ee515ecdd369809bcce8082" +checksum = "327ada00f7d64abaac1e55a6911e90cf665aa051b9a561c7006c157f4633135e" dependencies = [ "darling", "proc-macro2", "quote 1.0.37", - "syn 1.0.95", + "syn 2.0.87", ] [[package]] @@ -6340,9 +6838,9 @@ dependencies = [ [[package]] name = "sha2" -version = "0.10.7" +version = "0.10.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "479fb9d862239e610720565ca91403019f2f00410f1864c5aa7479b950a76ed8" +checksum = "a7507d819769d01a365ab707794a4084392c824f54a7a6a7862f8c3d0892b283" dependencies = [ "cfg-if 1.0.0", "cpufeatures", @@ -6363,9 +6861,9 @@ dependencies = [ [[package]] name = "sha3" -version = "0.10.4" +version = "0.10.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eaedf34ed289ea47c2b741bb72e5357a209512d67bcd4bda44359e5bf0470f56" +checksum = "75872d278a8f37ef87fa0ddbda7802605cb18344497949862c0d4dcb291eba60" dependencies = [ "digest 0.10.7", "keccak", @@ -6378,24 +6876,52 @@ dependencies = [ "log", ] +[[package]] +name = "shlex" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64" + [[package]] name = "sia-rust" version = "0.1.0" -source = "git+https://github.com/KomodoPlatform/sia-rust?rev=9f188b80b3213bcb604e7619275251ce08fae808#9f188b80b3213bcb604e7619275251ce08fae808" +source = "git+https://github.com/KomodoPlatform/sia-rust?branch=refactor%2Frc-cleanup#934e4d03954be62b13db42a15e6c3c281d2ec893" dependencies = [ + "async-trait", "base64 0.21.7", "blake2b_simd", "chrono", + "curve25519-dalek 3.2.0", "derive_more", "ed25519-dalek 1.0.1", + "futures 0.3.31", + "getrandom 0.2.16", "hex", + "http 0.2.12", + "js-sys", + "log", "nom", + "percent-encoding", "reqwest", "rustc-hex", "serde", + "serde-wasm-bindgen", "serde_json", - "serde_with", + "thiserror 1.0.69", "url", + "wasm-bindgen", + "wasm-bindgen-futures", + "web-sys", +] + +[[package]] +name = "signal-hook" +version = "0.3.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d881a16cf4426aa584979d30bd82cb33429027e42122b169753d6ef1085ed6e2" +dependencies = [ + "libc", + "signal-hook-registry", ] [[package]] @@ -6407,6 +6933,18 @@ dependencies = [ "libc", ] +[[package]] +name = "signal-hook-tokio" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "213241f76fb1e37e27de3b6aa1b068a2c333233b59cca6634f634b80a27ecf1e" +dependencies = [ + "futures-core", + "libc", + "signal-hook", + "tokio", +] + [[package]] name = "signature" version = "1.6.4" @@ -6431,8 +6969,8 @@ checksum = "adc4e5204eb1910f40f9cfa375f6f05b68c3abac4b6fd879c8ff5e7ae8a0a085" dependencies = [ "num-bigint", "num-traits", - "thiserror", - "time 0.3.20", + "thiserror 1.0.69", + "time", ] [[package]] @@ -6449,27 +6987,15 @@ checksum = "68a406c1882ed7f29cd5e248c9848a80e7cb6ae0fea82346d2746f2f941c07e1" [[package]] name = "slab" -version = "0.4.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6528351c9bc8ab22353f9d776db39a20288e8d6c37ef8cfe3317cf875eecfc2d" -dependencies = [ - "autocfg 1.1.0", -] - -[[package]] -name = "smallvec" -version = "0.6.14" +version = "0.4.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b97fcaeba89edba30f044a10c6a3cc39df9c3f17d7cd829dd1446cab35f890e0" -dependencies = [ - "maybe-uninit", -] +checksum = "7a2ae44ef20feb57a68b23d846850f861394c2e02dc425a50098ae8c90267589" [[package]] name = "smallvec" -version = "1.6.1" +version = "1.15.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fe0f37c9e8f3c5a4a66ad655a93c74daac4ad00c441533bf5c6e7990bb42604e" +checksum = "67b1b7a3b5fe4f1376887184045fcf45c69e92af734b7aaddc05fb777b6fbd03" [[package]] name = "smol" @@ -6480,7 +7006,7 @@ dependencies = [ "async-task", "blocking", "concurrent-queue 1.1.1", - "fastrand", + "fastrand 1.7.0", "futures-io", "futures-util", "libc", @@ -6493,66 +7019,801 @@ dependencies = [ ] [[package]] -name = "snow" -version = "0.9.6" +name = "snow" +version = "0.9.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "850948bee068e713b8ab860fe1adc4d109676ab4c3b621fd8147f06b261f2f85" +dependencies = [ + "aes-gcm", + "blake2", + "chacha20poly1305", + "curve25519-dalek 4.1.3", + "rand_core 0.6.4", + "ring 0.17.3", + "rustc_version", + "sha2 0.10.9", + "subtle", +] + +[[package]] +name = "socket2" +version = "0.3.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "122e570113d28d773067fab24266b66753f6ea915758651696b6e35e49f88d6e" +dependencies = [ + "cfg-if 1.0.0", + "libc", + "winapi", +] + +[[package]] +name = "socket2" +version = "0.4.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "64a4a911eed85daf18834cfaa86a79b7d266ff93ff5ba14005426219480ed662" +dependencies = [ + "libc", + "winapi", +] + +[[package]] +name = "socket2" +version = "0.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2538b18701741680e0322a2302176d3253a35388e2e62f172f64f4f16605f877" +dependencies = [ + "libc", + "windows-sys 0.48.0", +] + +[[package]] +name = "socket2" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "233504af464074f9d066d7b5416c5f9b894a5862a6506e306f7b816cdd6f1807" +dependencies = [ + "libc", + "windows-sys 0.59.0", +] + +[[package]] +name = "soketto" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "083624472e8817d44d02c0e55df043737ff11f279af924abdf93845717c2b75c" +dependencies = [ + "base64 0.13.0", + "bytes", + "futures 0.3.31", + "httparse", + "log", + "rand 0.8.5", + "sha-1", +] + +[[package]] +name = "solana-account" +version = "2.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0f949fe4edaeaea78c844023bfc1c898e0b1f5a100f8a8d2d0f85d0a7b090258" +dependencies = [ + "bincode", + "serde", + "serde_bytes", + "serde_derive", + "solana-account-info", + "solana-clock", + "solana-instruction", + "solana-pubkey", + "solana-sdk-ids", + "solana-sysvar", +] + +[[package]] +name = "solana-account-decoder-client-types" +version = "2.3.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "59f2101f4cc33e3fbfc8d1d23ea35d8532d6f1fa6a7c7081742e886f98f33126" +dependencies = [ + "base64 0.22.1", + "bs58 0.5.1", + "serde", + "serde_derive", + "serde_json", + "solana-account", + "solana-pubkey", +] + +[[package]] +name = "solana-account-info" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c8f5152a288ef1912300fc6efa6c2d1f9bb55d9398eb6c72326360b8063987da" +dependencies = [ + "solana-program-error", + "solana-program-memory", + "solana-pubkey", +] + +[[package]] +name = "solana-atomic-u64" +version = "2.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d52e52720efe60465b052b9e7445a01c17550666beec855cce66f44766697bc2" +dependencies = [ + "parking_lot", +] + +[[package]] +name = "solana-bincode" +version = "2.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "19a3787b8cf9c9fe3dd360800e8b70982b9e5a8af9e11c354b6665dd4a003adc" +dependencies = [ + "bincode", + "serde", + "solana-instruction", +] + +[[package]] +name = "solana-clock" +version = "2.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1bb482ab70fced82ad3d7d3d87be33d466a3498eb8aa856434ff3c0dfc2e2e31" +dependencies = [ + "serde", + "serde_derive", + "solana-sdk-ids", + "solana-sdk-macro", + "solana-sysvar-id", +] + +[[package]] +name = "solana-commitment-config" +version = "2.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ac49c4dde3edfa832de1697e9bcdb7c3b3f7cb7a1981b7c62526c8bb6700fb73" +dependencies = [ + "serde", + "serde_derive", +] + +[[package]] +name = "solana-cpi" +version = "2.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8dc71126edddc2ba014622fc32d0f5e2e78ec6c5a1e0eb511b85618c09e9ea11" +dependencies = [ + "solana-account-info", + "solana-define-syscall", + "solana-instruction", + "solana-program-error", + "solana-pubkey", + "solana-stable-layout", +] + +[[package]] +name = "solana-decode-error" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8c781686a18db2f942e70913f7ca15dc120ec38dcab42ff7557db2c70c625a35" +dependencies = [ + "num-traits", +] + +[[package]] +name = "solana-define-syscall" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2ae3e2abcf541c8122eafe9a625d4d194b4023c20adde1e251f94e056bb1aee2" + +[[package]] +name = "solana-epoch-rewards" +version = "2.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "86b575d3dd323b9ea10bb6fe89bf6bf93e249b215ba8ed7f68f1a3633f384db7" +dependencies = [ + "serde", + "serde_derive", + "solana-hash", + "solana-sdk-ids", + "solana-sdk-macro", + "solana-sysvar-id", +] + +[[package]] +name = "solana-epoch-schedule" +version = "2.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3fce071fbddecc55d727b1d7ed16a629afe4f6e4c217bc8d00af3b785f6f67ed" +dependencies = [ + "serde", + "serde_derive", + "solana-sdk-ids", + "solana-sdk-macro", + "solana-sysvar-id", +] + +[[package]] +name = "solana-fee-calculator" +version = "2.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d89bc408da0fb3812bc3008189d148b4d3e08252c79ad810b245482a3f70cd8d" +dependencies = [ + "log", + "serde", + "serde_derive", +] + +[[package]] +name = "solana-hash" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b5b96e9f0300fa287b545613f007dfe20043d7812bee255f418c1eb649c93b63" +dependencies = [ + "bytemuck", + "bytemuck_derive", + "five8", + "js-sys", + "serde", + "serde_derive", + "solana-atomic-u64", + "solana-sanitize", + "wasm-bindgen", +] + +[[package]] +name = "solana-inflation" +version = "2.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "23eef6a09eb8e568ce6839573e4966850e85e9ce71e6ae1a6c930c1c43947de3" + +[[package]] +name = "solana-instruction" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "47298e2ce82876b64f71e9d13a46bc4b9056194e7f9937ad3084385befa50885" +dependencies = [ + "bincode", + "getrandom 0.2.16", + "js-sys", + "num-traits", + "serde", + "serde_derive", + "solana-define-syscall", + "solana-pubkey", + "wasm-bindgen", +] + +[[package]] +name = "solana-instructions-sysvar" +version = "2.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e0e85a6fad5c2d0c4f5b91d34b8ca47118fc593af706e523cdbedf846a954f57" +dependencies = [ + "bitflags 2.8.0", + "solana-account-info", + "solana-instruction", + "solana-program-error", + "solana-pubkey", + "solana-sanitize", + "solana-sdk-ids", + "solana-serialize-utils", + "solana-sysvar-id", +] + +[[package]] +name = "solana-keypair" +version = "2.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bd3f04aa1a05c535e93e121a95f66e7dcccf57e007282e8255535d24bf1e98bb" +dependencies = [ + "ed25519-dalek 1.0.1", + "five8", + "rand 0.7.3", + "solana-pubkey", + "solana-seed-phrase", + "solana-signature", + "solana-signer", + "wasm-bindgen", +] + +[[package]] +name = "solana-last-restart-slot" +version = "2.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4a6360ac2fdc72e7463565cd256eedcf10d7ef0c28a1249d261ec168c1b55cdd" +dependencies = [ + "serde", + "serde_derive", + "solana-sdk-ids", + "solana-sdk-macro", + "solana-sysvar-id", +] + +[[package]] +name = "solana-message" +version = "2.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1796aabce376ff74bf89b78d268fa5e683d7d7a96a0a4e4813ec34de49d5314b" +dependencies = [ + "bincode", + "lazy_static", + "serde", + "serde_derive", + "solana-bincode", + "solana-hash", + "solana-instruction", + "solana-pubkey", + "solana-sanitize", + "solana-sdk-ids", + "solana-short-vec", + "solana-system-interface", + "solana-transaction-error", + "wasm-bindgen", +] + +[[package]] +name = "solana-msg" +version = "2.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f36a1a14399afaabc2781a1db09cb14ee4cc4ee5c7a5a3cfcc601811379a8092" +dependencies = [ + "solana-define-syscall", +] + +[[package]] +name = "solana-program-entrypoint" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "32ce041b1a0ed275290a5008ee1a4a6c48f5054c8a3d78d313c08958a06aedbd" +dependencies = [ + "solana-account-info", + "solana-msg", + "solana-program-error", + "solana-pubkey", +] + +[[package]] +name = "solana-program-error" +version = "2.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9ee2e0217d642e2ea4bee237f37bd61bb02aec60da3647c48ff88f6556ade775" +dependencies = [ + "num-traits", + "solana-decode-error", + "solana-instruction", + "solana-msg", + "solana-pubkey", +] + +[[package]] +name = "solana-program-memory" +version = "2.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3a5426090c6f3fd6cfdc10685322fede9ca8e5af43cd6a59e98bfe4e91671712" +dependencies = [ + "solana-define-syscall", +] + +[[package]] +name = "solana-program-option" +version = "2.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dc677a2e9bc616eda6dbdab834d463372b92848b2bfe4a1ed4e4b4adba3397d0" + +[[package]] +name = "solana-program-pack" +version = "2.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "319f0ef15e6e12dc37c597faccb7d62525a509fec5f6975ecb9419efddeb277b" +dependencies = [ + "solana-program-error", +] + +[[package]] +name = "solana-pubkey" +version = "2.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9b62adb9c3261a052ca1f999398c388f1daf558a1b492f60a6d9e64857db4ff1" +dependencies = [ + "bytemuck", + "bytemuck_derive", + "curve25519-dalek 4.1.3", + "five8", + "five8_const", + "getrandom 0.2.16", + "js-sys", + "num-traits", + "serde", + "serde_derive", + "solana-atomic-u64", + "solana-decode-error", + "solana-define-syscall", + "solana-sanitize", + "solana-sha256-hasher", + "wasm-bindgen", +] + +[[package]] +name = "solana-rent" +version = "2.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d1aea8fdea9de98ca6e8c2da5827707fb3842833521b528a713810ca685d2480" +dependencies = [ + "serde", + "serde_derive", + "solana-sdk-ids", + "solana-sdk-macro", + "solana-sysvar-id", +] + +[[package]] +name = "solana-reward-info" +version = "2.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "18205b69139b1ae0ab8f6e11cdcb627328c0814422ad2482000fa2ca54ae4a2f" +dependencies = [ + "serde", + "serde_derive", +] + +[[package]] +name = "solana-rpc-client-types" +version = "2.3.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6e82a9b71f023a4bd511088f22e3c1f0e226a6e2e94b0656776509f234dd223a" +dependencies = [ + "base64 0.22.1", + "bs58 0.5.1", + "semver", + "serde", + "serde_derive", + "serde_json", + "solana-account", + "solana-account-decoder-client-types", + "solana-clock", + "solana-commitment-config", + "solana-fee-calculator", + "solana-inflation", + "solana-pubkey", + "solana-transaction-error", + "solana-transaction-status-client-types", + "solana-version", + "spl-generic-token", + "thiserror 2.0.15", +] + +[[package]] +name = "solana-sanitize" +version = "2.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "61f1bc1357b8188d9c4a3af3fc55276e56987265eb7ad073ae6f8180ee54cecf" + +[[package]] +name = "solana-sdk-ids" +version = "2.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5c5d8b9cc68d5c88b062a33e23a6466722467dde0035152d8fb1afbcdf350a5f" +dependencies = [ + "solana-pubkey", +] + +[[package]] +name = "solana-sdk-macro" +version = "2.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "86280da8b99d03560f6ab5aca9de2e38805681df34e0bb8f238e69b29433b9df" +dependencies = [ + "bs58 0.5.1", + "proc-macro2", + "quote 1.0.37", + "syn 2.0.87", +] + +[[package]] +name = "solana-seed-phrase" +version = "2.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "36187af2324f079f65a675ec22b31c24919cb4ac22c79472e85d819db9bbbc15" +dependencies = [ + "hmac 0.12.1", + "pbkdf2", + "sha2 0.10.9", +] + +[[package]] +name = "solana-serde-varint" +version = "2.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2a7e155eba458ecfb0107b98236088c3764a09ddf0201ec29e52a0be40857113" +dependencies = [ + "serde", +] + +[[package]] +name = "solana-serialize-utils" +version = "2.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "817a284b63197d2b27afdba829c5ab34231da4a9b4e763466a003c40ca4f535e" +dependencies = [ + "solana-instruction", + "solana-pubkey", + "solana-sanitize", +] + +[[package]] +name = "solana-sha256-hasher" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5aa3feb32c28765f6aa1ce8f3feac30936f16c5c3f7eb73d63a5b8f6f8ecdc44" +dependencies = [ + "sha2 0.10.9", + "solana-define-syscall", + "solana-hash", +] + +[[package]] +name = "solana-short-vec" +version = "2.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5c54c66f19b9766a56fa0057d060de8378676cb64987533fa088861858fc5a69" +dependencies = [ + "serde", +] + +[[package]] +name = "solana-signature" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "64c8ec8e657aecfc187522fc67495142c12f35e55ddeca8698edbb738b8dbd8c" +dependencies = [ + "ed25519-dalek 1.0.1", + "five8", + "serde", + "serde-big-array", + "serde_derive", + "solana-sanitize", +] + +[[package]] +name = "solana-signer" +version = "2.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7c41991508a4b02f021c1342ba00bcfa098630b213726ceadc7cb032e051975b" +dependencies = [ + "solana-pubkey", + "solana-signature", + "solana-transaction-error", +] + +[[package]] +name = "solana-slot-hashes" +version = "2.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0c8691982114513763e88d04094c9caa0376b867a29577939011331134c301ce" +dependencies = [ + "serde", + "serde_derive", + "solana-hash", + "solana-sdk-ids", + "solana-sysvar-id", +] + +[[package]] +name = "solana-slot-history" +version = "2.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "97ccc1b2067ca22754d5283afb2b0126d61eae734fc616d23871b0943b0d935e" +dependencies = [ + "bv", + "serde", + "serde_derive", + "solana-sdk-ids", + "solana-sysvar-id", +] + +[[package]] +name = "solana-stable-layout" +version = "2.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9f14f7d02af8f2bc1b5efeeae71bc1c2b7f0f65cd75bcc7d8180f2c762a57f54" +dependencies = [ + "solana-instruction", + "solana-pubkey", +] + +[[package]] +name = "solana-stake-interface" +version = "1.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5269e89fde216b4d7e1d1739cf5303f8398a1ff372a81232abbee80e554a838c" +dependencies = [ + "num-traits", + "serde", + "serde_derive", + "solana-clock", + "solana-cpi", + "solana-decode-error", + "solana-instruction", + "solana-program-error", + "solana-pubkey", + "solana-system-interface", + "solana-sysvar-id", +] + +[[package]] +name = "solana-svm-feature-set" +version = "2.3.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e65361fa1fb2a123319df6d9694c1c5ca20e555cda18eb1f953babf32e4cddd4" + +[[package]] +name = "solana-system-interface" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "94d7c18cb1a91c6be5f5a8ac9276a1d7c737e39a21beba9ea710ab4b9c63bc90" +dependencies = [ + "js-sys", + "num-traits", + "serde", + "serde_derive", + "solana-decode-error", + "solana-instruction", + "solana-pubkey", + "wasm-bindgen", +] + +[[package]] +name = "solana-system-transaction" +version = "2.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "850948bee068e713b8ab860fe1adc4d109676ab4c3b621fd8147f06b261f2f85" +checksum = "5bd98a25e5bcba8b6be8bcbb7b84b24c2a6a8178d7fb0e3077a916855ceba91a" dependencies = [ - "aes-gcm", - "blake2", - "chacha20poly1305", - "curve25519-dalek 4.1.3", - "rand_core 0.6.4", - "ring 0.17.3", - "rustc_version 0.4.0", - "sha2 0.10.7", - "subtle", + "solana-hash", + "solana-keypair", + "solana-message", + "solana-pubkey", + "solana-signer", + "solana-system-interface", + "solana-transaction", ] [[package]] -name = "socket2" -version = "0.3.19" +name = "solana-sysvar" +version = "2.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "122e570113d28d773067fab24266b66753f6ea915758651696b6e35e49f88d6e" +checksum = "b8c3595f95069f3d90f275bb9bd235a1973c4d059028b0a7f81baca2703815db" dependencies = [ - "cfg-if 1.0.0", - "libc", - "winapi", + "base64 0.22.1", + "bincode", + "lazy_static", + "serde", + "serde_derive", + "solana-account-info", + "solana-clock", + "solana-define-syscall", + "solana-epoch-rewards", + "solana-epoch-schedule", + "solana-fee-calculator", + "solana-hash", + "solana-instruction", + "solana-instructions-sysvar", + "solana-last-restart-slot", + "solana-program-entrypoint", + "solana-program-error", + "solana-program-memory", + "solana-pubkey", + "solana-rent", + "solana-sanitize", + "solana-sdk-ids", + "solana-sdk-macro", + "solana-slot-hashes", + "solana-slot-history", + "solana-stake-interface", + "solana-sysvar-id", +] + +[[package]] +name = "solana-sysvar-id" +version = "2.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5762b273d3325b047cfda250787f8d796d781746860d5d0a746ee29f3e8812c1" +dependencies = [ + "solana-pubkey", + "solana-sdk-ids", +] + +[[package]] +name = "solana-transaction" +version = "2.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "80657d6088f721148f5d889c828ca60c7daeedac9a8679f9ec215e0c42bcbf41" +dependencies = [ + "bincode", + "serde", + "serde_derive", + "solana-bincode", + "solana-hash", + "solana-instruction", + "solana-keypair", + "solana-message", + "solana-pubkey", + "solana-sanitize", + "solana-sdk-ids", + "solana-short-vec", + "solana-signature", + "solana-signer", + "solana-system-interface", + "solana-transaction-error", + "wasm-bindgen", ] [[package]] -name = "socket2" -version = "0.4.9" +name = "solana-transaction-context" +version = "2.3.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "64a4a911eed85daf18834cfaa86a79b7d266ff93ff5ba14005426219480ed662" +checksum = "aefd75e49dd990f7fdbe562a539a7b046a839aadf43843845d766a2a6a2adfef" dependencies = [ - "libc", - "winapi", + "bincode", + "serde", + "serde_derive", + "solana-account", + "solana-instruction", + "solana-instructions-sysvar", + "solana-pubkey", + "solana-rent", + "solana-sdk-ids", ] [[package]] -name = "socket2" -version = "0.5.3" +name = "solana-transaction-error" +version = "2.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2538b18701741680e0322a2302176d3253a35388e2e62f172f64f4f16605f877" +checksum = "222a9dc8fdb61c6088baab34fc3a8b8473a03a7a5fd404ed8dd502fa79b67cb1" dependencies = [ - "libc", - "windows-sys 0.48.0", + "serde", + "serde_derive", + "solana-instruction", + "solana-sanitize", ] [[package]] -name = "soketto" -version = "0.7.0" +name = "solana-transaction-status-client-types" +version = "2.3.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "083624472e8817d44d02c0e55df043737ff11f279af924abdf93845717c2b75c" +checksum = "9e91068d54435121280c4a2f1c280d8d18381e3ccf54057c4530f40f26c2be1c" dependencies = [ - "base64 0.13.0", - "bytes", - "futures 0.3.28", - "httparse", - "log", + "base64 0.22.1", + "bincode", + "bs58 0.5.1", + "serde", + "serde_derive", + "serde_json", + "solana-account-decoder-client-types", + "solana-commitment-config", + "solana-message", + "solana-reward-info", + "solana-signature", + "solana-transaction", + "solana-transaction-context", + "solana-transaction-error", + "thiserror 2.0.15", +] + +[[package]] +name = "solana-version" +version = "2.3.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b4607a9de98043bcf7db9e5d90b31fefb728c80eec901595b6931d7cdc1558b2" +dependencies = [ + "agave-feature-set", "rand 0.8.5", - "sha-1", + "semver", + "serde", + "serde_derive", + "solana-sanitize", + "solana-serde-varint", ] [[package]] @@ -6615,7 +7876,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "22ecb916b9664ed9f90abef0ff5a3e61454c1efea5861b2997e03f39b59b955f" dependencies = [ "Inflector", - "proc-macro-crate", + "proc-macro-crate 1.1.3", "proc-macro2", "quote 1.0.37", "syn 1.0.95", @@ -6700,6 +7961,54 @@ dependencies = [ "der", ] +[[package]] +name = "spl-associated-token-account-client" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d6f8349dbcbe575f354f9a533a21f272f3eb3808a49e2fdc1c34393b88ba76cb" +dependencies = [ + "solana-instruction", + "solana-pubkey", +] + +[[package]] +name = "spl-generic-token" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "741a62a566d97c58d33f9ed32337ceedd4e35109a686e31b1866c5dfa56abddc" +dependencies = [ + "bytemuck", + "solana-pubkey", +] + +[[package]] +name = "spl-token" +version = "8.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "053067c6a82c705004f91dae058b11b4780407e9ccd6799dc9e7d0fab5f242da" +dependencies = [ + "arrayref", + "bytemuck", + "num-derive", + "num-traits", + "num_enum", + "solana-account-info", + "solana-cpi", + "solana-decode-error", + "solana-instruction", + "solana-msg", + "solana-program-entrypoint", + "solana-program-error", + "solana-program-memory", + "solana-program-option", + "solana-program-pack", + "solana-pubkey", + "solana-rent", + "solana-sdk-ids", + "solana-sysvar", + "thiserror 2.0.15", +] + [[package]] name = "spv_validation" version = "0.1.0" @@ -6716,7 +8025,7 @@ dependencies = [ "serde", "serde_json", "serialization", - "sha2 0.10.7", + "sha2 0.10.9", "test_helpers", ] @@ -6727,7 +8036,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b1008d95d2ec2d062959352527be30e10fec42a1aa5e5a48d990a5ff0fb9bdc0" dependencies = [ "anyhow", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -6752,9 +8061,32 @@ checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" [[package]] name = "strsim" -version = "0.10.0" +version = "0.11.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f" + +[[package]] +name = "structmeta" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2e1575d8d40908d70f6fd05537266b90ae71b15dbbe7a8b7dffa2b759306d329" +dependencies = [ + "proc-macro2", + "quote 1.0.37", + "structmeta-derive", + "syn 2.0.87", +] + +[[package]] +name = "structmeta-derive" +version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623" +checksum = "152a0b65a590ff6c3da95cabe2353ee04e6167c896b28e3b14478c2636c922fc" +dependencies = [ + "proc-macro2", + "quote 1.0.37", + "syn 2.0.87", +] [[package]] name = "strum" @@ -6775,14 +8107,14 @@ dependencies = [ "proc-macro2", "quote 1.0.37", "rustversion", - "syn 2.0.77", + "syn 2.0.87", ] [[package]] name = "subtle" -version = "2.4.0" +version = "2.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e81da0851ada1f3e9d4312c704aa4f8806f0f9d69faaf8df2f3464b4a9437c2" +checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292" [[package]] name = "subtle-encoding" @@ -6823,9 +8155,9 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.77" +version = "2.0.87" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9f35bcdf61fd8e7be6caf75f429fdca8beb3ed76584befb503b1569faee373ed" +checksum = "25aa4ce346d03a6dcd68dd8b4010bcb74e54e62c90c573f394c46eae99aba32d" dependencies = [ "proc-macro2", "quote 1.0.37", @@ -6888,15 +8220,14 @@ checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369" [[package]] name = "tempfile" -version = "3.4.0" +version = "3.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "af18f7ae1acd354b992402e9ec5864359d693cd8a79dcbef59f76891701c1e95" +checksum = "85b77fafb263dd9d05cbeac119526425676db3784113aa9295c88498cbf8bff1" dependencies = [ "cfg-if 1.0.0", - "fastrand", - "redox_syscall 0.2.10", - "rustix 0.36.9", - "windows-sys 0.42.0", + "fastrand 2.3.0", + "rustix", + "windows-sys 0.52.0", ] [[package]] @@ -6910,23 +8241,23 @@ dependencies = [ "ed25519 2.2.3", "ed25519-consensus", "flex-error", - "futures 0.3.28", + "futures 0.3.31", "k256", "num-traits", "once_cell", - "prost", + "prost 0.12.6", "prost-types", "ripemd", "serde", "serde_bytes", "serde_json", "serde_repr", - "sha2 0.10.7", + "sha2 0.10.9", "signature 2.2.0", "subtle", "subtle-encoding", "tendermint-proto", - "time 0.3.20", + "time", "zeroize", ] @@ -6954,12 +8285,12 @@ dependencies = [ "flex-error", "num-derive", "num-traits", - "prost", + "prost 0.12.6", "prost-types", "serde", "serde_bytes", "subtle-encoding", - "time 0.3.20", + "time", ] [[package]] @@ -6971,11 +8302,11 @@ dependencies = [ "async-trait", "bytes", "flex-error", - "getrandom 0.2.9", + "getrandom 0.2.16", "peg", "pin-project", "rand 0.8.5", - "semver 1.0.6", + "semver", "serde", "serde_bytes", "serde_json", @@ -6984,8 +8315,8 @@ dependencies = [ "tendermint", "tendermint-config", "tendermint-proto", - "thiserror", - "time 0.3.20", + "thiserror 1.0.69", + "time", "url", "uuid", "walkdir", @@ -7009,59 +8340,81 @@ dependencies = [ [[package]] name = "testcontainers" -version = "0.15.0" +version = "0.17.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f83d2931d7f521af5bae989f716c3fa43a6af9af7ec7a5e21b59ae40878cec00" +checksum = "025e0ac563d543e0354d984540e749859a83dbe5c0afb8d458dc48d91cef2d6a" dependencies = [ + "async-trait", + "bollard", "bollard-stubs", - "futures 0.3.28", - "hex", - "hmac 0.12.1", + "bytes", + "dirs", + "docker_credential", + "futures 0.3.31", "log", - "rand 0.8.5", + "memchr", + "parse-display", "serde", "serde_json", - "sha2 0.10.7", + "serde_with", + "thiserror 1.0.69", + "tokio", + "tokio-stream", + "tokio-util", + "url", +] + +[[package]] +name = "thiserror" +version = "1.0.69" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6aaf5339b578ea85b50e080feb250a3e8ae8cfcdff9a461c9ec2904bc923f52" +dependencies = [ + "thiserror-impl 1.0.69", ] [[package]] name = "thiserror" -version = "1.0.40" +version = "2.0.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "978c9a314bd8dc99be594bc3c175faaa9794be04a5a5e153caba6915336cebac" +checksum = "80d76d3f064b981389ecb4b6b7f45a0bf9fdac1d5b9204c7bd6714fecc302850" dependencies = [ - "thiserror-impl", + "thiserror-impl 2.0.15", ] [[package]] name = "thiserror-impl" -version = "1.0.40" +version = "1.0.69" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f9456a42c5b0d803c8cd86e73dd7cc9edd429499f37a3550d286d5e86720569f" +checksum = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1" dependencies = [ "proc-macro2", "quote 1.0.37", - "syn 2.0.77", + "syn 2.0.87", ] [[package]] -name = "time" -version = "0.1.43" +name = "thiserror-impl" +version = "2.0.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca8a50ef2360fbd1eeb0ecd46795a87a19024eb4b53c5dc916ca1fd95fe62438" +checksum = "44d29feb33e986b6ea906bd9c3559a856983f92371b3eaa5e83782a351623de0" dependencies = [ - "libc", - "winapi", + "proc-macro2", + "quote 1.0.37", + "syn 2.0.87", ] [[package]] name = "time" -version = "0.3.20" +version = "0.3.41" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cd0cbfecb4d19b5ea75bb31ad904eb5b9fa13f21079c3b92017ebdf4999a5890" +checksum = "8a7619e19bc266e0f9c5e6686659d394bc57973859340060a69221e57dbc0c40" dependencies = [ + "deranged", "itoa", "js-sys", + "num-conv", + "powerfmt", "serde", "time-core", "time-macros", @@ -7069,24 +8422,25 @@ dependencies = [ [[package]] name = "time-core" -version = "0.1.0" +version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2e153e1f1acaef8acc537e68b44906d2db6436e2b35ac2c6b42640fff91f00fd" +checksum = "c9e9a38711f559d9e3ce1cdb06dd7c5b8ea546bc90052da6d06bb76da74bb07c" [[package]] name = "time-macros" -version = "0.2.8" +version = "0.2.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fd80a657e71da814b8e5d60d3374fc6d35045062245d80224748ae522dd76f36" +checksum = "3526739392ec93fd8b359c8e98514cb3e8e021beb4e5f597b00a0221f8ed8a49" dependencies = [ + "num-conv", "time-core", ] [[package]] name = "timed-map" -version = "1.4.1" +version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6f664a6b916d03d3e32c312c3b6ce31c24697c0f7ea6d87e20eb6372053ddf29" +checksum = "47e29dadb55913b13f482a3d61e45762f71cb7b145a012d8a48b8f05561eaa11" dependencies = [ "rustc-hash", "serde", @@ -7128,20 +8482,20 @@ checksum = "cda74da7e1a664f795bb1f8a87ec406fb89a02522cf6e50620d016add6dbbf5c" [[package]] name = "tokio" -version = "1.28.2" +version = "1.47.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "94d7b1cfd2aa4011f2de74c2c4c63665e27a71006b0a192dcd2710272e73dfa2" +checksum = "43864ed400b6043a4757a25c7a64a8efde741aed79a056a2fb348a406701bb35" dependencies = [ - "autocfg 1.1.0", + "backtrace", "bytes", + "io-uring", "libc", "mio", - "num_cpus", - "pin-project-lite 0.2.9", - "signal-hook-registry", - "socket2 0.4.9", + "pin-project-lite 0.2.16", + "slab", + "socket2 0.6.0", "tokio-macros", - "windows-sys 0.48.0", + "windows-sys 0.59.0", ] [[package]] @@ -7150,19 +8504,19 @@ version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "30b74022ada614a1b4834de765f9bb43877f910cc8ce4be40e89042c9223a8bf" dependencies = [ - "pin-project-lite 0.2.9", + "pin-project-lite 0.2.16", "tokio", ] [[package]] name = "tokio-macros" -version = "2.1.0" +version = "2.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "630bdcf245f78637c13ec01ffae6187cca34625e8c63150d424b59e55af2675e" +checksum = "6e06d43f1345a3bcd39f6a56dbb7dcab2ba47e68e8ac134855e7e2bdbaf8cab8" dependencies = [ "proc-macro2", "quote 1.0.37", - "syn 2.0.77", + "syn 2.0.87", ] [[package]] @@ -7186,14 +8540,25 @@ dependencies = [ "tokio", ] +[[package]] +name = "tokio-rustls" +version = "0.25.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "775e0c0f0adb3a2f22a00c4745d728b479985fc15ee7ca6a2608388c5569860f" +dependencies = [ + "rustls 0.22.4", + "rustls-pki-types", + "tokio", +] + [[package]] name = "tokio-stream" -version = "0.1.8" +version = "0.1.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "50145484efff8818b5ccd256697f36863f587da82cf8b409c53adf1e840798e3" +checksum = "eca58d7bba4a75707817a2c44174253f9236b2d5fbd055602e9d5c07c139a047" dependencies = [ "futures-core", - "pin-project-lite 0.2.9", + "pin-project-lite 0.2.16", "tokio", ] @@ -7206,11 +8571,12 @@ dependencies = [ "futures-util", "log", "rustls 0.20.4", - "rustls-native-certs", + "rustls-native-certs 0.6.3", "tokio", "tokio-rustls 0.23.2", "tungstenite", "webpki", + "webpki-roots 0.22.3", ] [[package]] @@ -7223,7 +8589,7 @@ dependencies = [ "http 0.2.12", "httparse", "js-sys", - "thiserror", + "thiserror 1.0.69", "tokio", "tokio-tungstenite", "wasm-bindgen", @@ -7232,16 +8598,15 @@ dependencies = [ [[package]] name = "tokio-util" -version = "0.7.2" +version = "0.7.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f988a1a1adc2fb21f9c12aa96441da33a1728193ae0b95d2be22dbd17fcb4e5c" +checksum = "14307c986784f72ef81c89db7d9e28d6ac26d16213b109ea501696195e6e3ce5" dependencies = [ "bytes", "futures-core", "futures-sink", - "pin-project-lite 0.2.9", + "pin-project-lite 0.2.16", "tokio", - "tracing", ] [[package]] @@ -7301,12 +8666,12 @@ dependencies = [ "flate2", "h2", "http 0.2.12", - "http-body", - "hyper", + "http-body 0.4.5", + "hyper 0.14.26", "hyper-timeout", "percent-encoding", "pin-project", - "prost", + "prost 0.12.6", "rustls 0.21.10", "rustls-pemfile 1.0.2", "tokio", @@ -7329,7 +8694,7 @@ dependencies = [ "proc-macro2", "prost-build", "quote 1.0.37", - "syn 2.0.77", + "syn 2.0.87", ] [[package]] @@ -7342,7 +8707,7 @@ dependencies = [ "futures-util", "indexmap 1.9.3", "pin-project", - "pin-project-lite 0.2.9", + "pin-project-lite 0.2.16", "rand 0.8.5", "slab", "tokio", @@ -7354,15 +8719,15 @@ dependencies = [ [[package]] name = "tower-layer" -version = "0.3.2" +version = "0.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c20c8dbed6283a09604c3e69b4b7eeb54e298b8a600d4d5ecb5ad39de609f1d0" +checksum = "121c2a6cda46980bb0fcd1647ffaf6cd3fc79a013de288782836f6df9c48780e" [[package]] name = "tower-service" -version = "0.3.2" +version = "0.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6bc1c9ce2b5135ac7f93c72918fc37feb872bdc6a5533a8b85eb4b86bfdae52" +checksum = "8df9b6e13f2d32c91b9bd719c00d1958837bc7dec474d94952798cc8e69eeec3" [[package]] name = "tracing" @@ -7371,7 +8736,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8ce8c33a8d48bd45d624a6e523445fd21ec13d3653cd51f681abf67418f54eb8" dependencies = [ "cfg-if 1.0.0", - "pin-project-lite 0.2.9", + "pin-project-lite 0.2.16", "tracing-attributes", "tracing-core", ] @@ -7384,7 +8749,7 @@ checksum = "5f4f31f56159e98206da9efd823404b79b6ef3143b4a7ab76e67b1751b25a4ab" dependencies = [ "proc-macro2", "quote 1.0.37", - "syn 2.0.77", + "syn 2.0.87", ] [[package]] @@ -7404,6 +8769,7 @@ dependencies = [ "derive_more", "enum_derives", "ethereum-types", + "futures 0.3.31", "lazy_static", "mm2_core", "mm2_err_handle", @@ -7429,12 +8795,12 @@ dependencies = [ "ethcore-transaction", "ethereum-types", "ethkey", - "futures 0.3.28", + "futures 0.3.31", "hw_common", "js-sys", "lazy_static", "mm2_err_handle", - "prost", + "prost 0.14.1", "rand 0.7.3", "rpc_task", "serde", @@ -7454,7 +8820,7 @@ dependencies = [ "hash-db", "hashbrown 0.12.1", "log", - "smallvec 1.6.1", + "smallvec", ] [[package]] @@ -7492,9 +8858,9 @@ dependencies = [ "ipnet", "lazy_static", "rand 0.8.5", - "smallvec 1.6.1", + "smallvec", "socket2 0.4.9", - "thiserror", + "thiserror 1.0.69", "tinyvec", "tokio", "tracing", @@ -7514,8 +8880,8 @@ dependencies = [ "lru-cache", "parking_lot", "resolv-conf", - "smallvec 1.6.1", - "thiserror", + "smallvec", + "thiserror 1.0.69", "tokio", "tracing", "trust-dns-proto", @@ -7542,7 +8908,7 @@ dependencies = [ "rand 0.8.5", "rustls 0.20.4", "sha-1", - "thiserror", + "thiserror 1.0.69", "url", "utf-8", "webpki", @@ -7579,9 +8945,9 @@ checksum = "5ab17db44d7388991a428b2ee655ce0c212e862eff1768a455c58f9aad6e7893" [[package]] name = "unicode-ident" -version = "1.0.0" +version = "1.0.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d22af068fba1eb5edcb4aea19d382b2a3deb4c8f9d475c589b6ada9e0fd493ee" +checksum = "5a5f39404a5da50712a4c1eecf25e90dd62b613502b7e925fd4e4d19b5c96512" [[package]] name = "unicode-normalization" @@ -7684,16 +9050,16 @@ version = "1.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "81dfa00651efa65069b0b6b651f4aaa31ba9e3c3ce0137aaad053604ee7e0314" dependencies = [ - "getrandom 0.2.9", + "getrandom 0.2.16", "rand 0.8.5", "serde", ] [[package]] name = "value-bag" -version = "1.4.0" +version = "1.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4d330786735ea358f3bc09eea4caa098569c1c93f342d9aca0514915022fe7e" +checksum = "943ce29a8a743eb10d6082545d861b24f9d1b160b7d741e0f2cdf726bec909c5" [[package]] name = "vcpkg" @@ -7804,46 +9170,48 @@ checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" [[package]] name = "wasm-bindgen" -version = "0.2.87" +version = "0.2.100" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7706a72ab36d8cb1f80ffbf0e071533974a60d0a308d01a5d0375bf60499a342" +checksum = "1edc8929d7499fc4e8f0be2262a241556cfc54a0bea223790e71446f2aab1ef5" dependencies = [ "cfg-if 1.0.0", + "once_cell", + "rustversion", "wasm-bindgen-macro", ] [[package]] name = "wasm-bindgen-backend" -version = "0.2.87" +version = "0.2.100" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5ef2b6d3c510e9625e5fe6f509ab07d66a760f0885d858736483c32ed7809abd" +checksum = "2f0a0651a5c2bc21487bde11ee802ccaf4c51935d0d3d42a6101f98161700bc6" dependencies = [ "bumpalo", "log", - "once_cell", "proc-macro2", "quote 1.0.37", - "syn 2.0.77", + "syn 2.0.87", "wasm-bindgen-shared", ] [[package]] name = "wasm-bindgen-futures" -version = "0.4.37" +version = "0.4.50" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c02dbc21516f9f1f04f187958890d7e6026df8d16540b7ad9492bc34a67cea03" +checksum = "555d470ec0bc3bb57890405e5d4322cc9ea83cebb085523ced7be4144dac1e61" dependencies = [ "cfg-if 1.0.0", "js-sys", + "once_cell", "wasm-bindgen", "web-sys", ] [[package]] name = "wasm-bindgen-macro" -version = "0.2.87" +version = "0.2.100" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dee495e55982a3bd48105a7b947fd2a9b4a8ae3010041b9e0faab3f9cd028f1d" +checksum = "7fe63fc6d09ed3792bd0897b314f53de8e16568c2b3f7982f468c0bf9bd0b407" dependencies = [ "quote 1.0.37", "wasm-bindgen-macro-support", @@ -7851,32 +9219,34 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro-support" -version = "0.2.87" +version = "0.2.100" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "54681b18a46765f095758388f2d0cf16eb8d4169b639ab575a8f5693af210c7b" +checksum = "8ae87ea40c9f689fc23f209965b6fb8a99ad69aeeb0231408be24920604395de" dependencies = [ "proc-macro2", "quote 1.0.37", - "syn 2.0.77", + "syn 2.0.87", "wasm-bindgen-backend", "wasm-bindgen-shared", ] [[package]] name = "wasm-bindgen-shared" -version = "0.2.87" +version = "0.2.100" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca6ad05a4870b2bf5fe995117d3728437bd27d7cd5f06f13c17443ef369775a1" +checksum = "1a05d73b933a847d6cccdda8f838a22ff101ad9bf93e33684f39c1f5f0eece3d" +dependencies = [ + "unicode-ident", +] [[package]] name = "wasm-bindgen-test" -version = "0.3.13" +version = "0.3.50" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f0dfda4d3b3f8acbc3c291b09208081c203af457fb14a229783b06e2f128aa7" +checksum = "66c8d5e33ca3b6d9fa3b4676d774c5778031d27a578c2b007f905acf816152c3" dependencies = [ - "console_error_panic_hook", "js-sys", - "scoped-tls", + "minicov", "wasm-bindgen", "wasm-bindgen-futures", "wasm-bindgen-test-macro", @@ -7884,12 +9254,13 @@ dependencies = [ [[package]] name = "wasm-bindgen-test-macro" -version = "0.3.13" +version = "0.3.50" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c2e18093f11c19ca4e188c177fecc7c372304c311189f12c2f9bea5b7324ac7" +checksum = "17d5042cc5fa009658f9a7333ef24291b1291a25b6382dd68862a7f3b969f69b" dependencies = [ "proc-macro2", "quote 1.0.37", + "syn 2.0.87", ] [[package]] @@ -7899,14 +9270,14 @@ source = "git+https://github.com/komodoplatform/walletconnectrust?tag=k-0.1.3#e2 dependencies = [ "base64 0.21.7", "chacha20poly1305", - "thiserror", + "thiserror 1.0.69", ] [[package]] name = "web-sys" -version = "0.3.55" +version = "0.3.77" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "38eb105f1c59d9eaa6b5cdc92b859d85b926e82cb2e0945cd0c9259faa6fe9fb" +checksum = "33b6dd2ef9186f1f2072e409e99cd22a975331a6b3591b12c764e0e55c60d5d2" dependencies = [ "js-sys", "wasm-bindgen", @@ -7927,15 +9298,15 @@ name = "web3" version = "0.19.0" source = "git+https://github.com/komodoplatform/rust-web3?tag=v0.20.0#01de1d732e61c920cfb2fb1533db7d7110c8a457" dependencies = [ - "arrayvec 0.7.1", + "arrayvec 0.7.6", "base64 0.13.0", "bytes", "derive_more", "ethabi", "ethereum-types", - "futures 0.3.28", + "futures 0.3.31", "futures-timer", - "getrandom 0.2.9", + "getrandom 0.2.16", "headers", "hex", "idna 0.2.3", @@ -7990,6 +9361,24 @@ version = "0.25.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5f20c57d8d7db6d3b86154206ae5d8fba62dd39573114de97c2cb0578251f8e1" +[[package]] +name = "webpki-roots" +version = "0.26.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "521bc38abb08001b01866da9f51eb7c5d647a19260e00054a8c7fd5f9e57f7a9" +dependencies = [ + "webpki-roots 1.0.2", +] + +[[package]] +name = "webpki-roots" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7e8983c3ab33d6fb807cfcdad2491c4ea8cbc8ed839181c7dfd9c67c83e261b2" +dependencies = [ + "rustls-pki-types", +] + [[package]] name = "wepoll-sys-stjepang" version = "1.0.6" @@ -8056,6 +9445,12 @@ dependencies = [ "windows-targets 0.52.6", ] +[[package]] +name = "windows-link" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5e6ad25900d524eaabdbbb96d20b4311e1e7ae1699af4fb28c17ae66c80d798a" + [[package]] name = "windows-result" version = "0.1.2" @@ -8078,30 +9473,6 @@ dependencies = [ "windows_x86_64_msvc 0.32.0", ] -[[package]] -name = "windows-sys" -version = "0.42.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a3e1820f08b8513f676f7ab6c1f99ff312fb97b553d30ff4dd86f9f15728aa7" -dependencies = [ - "windows_aarch64_gnullvm 0.42.1", - "windows_aarch64_msvc 0.42.1", - "windows_i686_gnu 0.42.1", - "windows_i686_msvc 0.42.1", - "windows_x86_64_gnu 0.42.1", - "windows_x86_64_gnullvm 0.42.1", - "windows_x86_64_msvc 0.42.1", -] - -[[package]] -name = "windows-sys" -version = "0.45.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "75283be5efb2831d37ea142365f009c02ec203cd29a3ebecbc093d52315b66d0" -dependencies = [ - "windows-targets 0.42.1", -] - [[package]] name = "windows-sys" version = "0.48.0" @@ -8113,26 +9484,20 @@ dependencies = [ [[package]] name = "windows-sys" -version = "0.59.0" +version = "0.52.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b" +checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d" dependencies = [ "windows-targets 0.52.6", ] [[package]] -name = "windows-targets" -version = "0.42.1" +name = "windows-sys" +version = "0.59.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e2522491fbfcd58cc84d47aeb2958948c4b8982e9a2d8a2a35bbaed431390e7" +checksum = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b" dependencies = [ - "windows_aarch64_gnullvm 0.42.1", - "windows_aarch64_msvc 0.42.1", - "windows_i686_gnu 0.42.1", - "windows_i686_msvc 0.42.1", - "windows_x86_64_gnu 0.42.1", - "windows_x86_64_gnullvm 0.42.1", - "windows_x86_64_msvc 0.42.1", + "windows-targets 0.52.6", ] [[package]] @@ -8166,12 +9531,6 @@ dependencies = [ "windows_x86_64_msvc 0.52.6", ] -[[package]] -name = "windows_aarch64_gnullvm" -version = "0.42.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8c9864e83243fdec7fc9c5444389dcbbfd258f745e7853198f365e3c4968a608" - [[package]] name = "windows_aarch64_gnullvm" version = "0.48.0" @@ -8190,12 +9549,6 @@ version = "0.32.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d8e92753b1c443191654ec532f14c199742964a061be25d77d7a96f09db20bf5" -[[package]] -name = "windows_aarch64_msvc" -version = "0.42.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4c8b1b673ffc16c47a9ff48570a9d85e25d265735c503681332589af6253c6c7" - [[package]] name = "windows_aarch64_msvc" version = "0.48.0" @@ -8214,12 +9567,6 @@ version = "0.32.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6a711c68811799e017b6038e0922cb27a5e2f43a2ddb609fe0b6f3eeda9de615" -[[package]] -name = "windows_i686_gnu" -version = "0.42.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "de3887528ad530ba7bdbb1faa8275ec7a1155a45ffa57c37993960277145d640" - [[package]] name = "windows_i686_gnu" version = "0.48.0" @@ -8244,12 +9591,6 @@ version = "0.32.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "146c11bb1a02615db74680b32a68e2d61f553cc24c4eb5b4ca10311740e44172" -[[package]] -name = "windows_i686_msvc" -version = "0.42.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bf4d1122317eddd6ff351aa852118a2418ad4214e6613a50e0191f7004372605" - [[package]] name = "windows_i686_msvc" version = "0.48.0" @@ -8268,12 +9609,6 @@ version = "0.32.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c912b12f7454c6620635bbff3450962753834be2a594819bd5e945af18ec64bc" -[[package]] -name = "windows_x86_64_gnu" -version = "0.42.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c1040f221285e17ebccbc2591ffdc2d44ee1f9186324dd3e84e99ac68d699c45" - [[package]] name = "windows_x86_64_gnu" version = "0.48.0" @@ -8286,12 +9621,6 @@ version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78" -[[package]] -name = "windows_x86_64_gnullvm" -version = "0.42.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "628bfdf232daa22b0d64fdb62b09fcc36bb01f05a3939e20ab73aaf9470d0463" - [[package]] name = "windows_x86_64_gnullvm" version = "0.48.0" @@ -8310,12 +9639,6 @@ version = "0.32.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "504a2476202769977a040c6364301a3f65d0cc9e3fb08600b2bda150a0488316" -[[package]] -name = "windows_x86_64_msvc" -version = "0.42.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "447660ad36a13288b1db4d4248e857b510e8c3a225c822ba4fb748c0aafecffd" - [[package]] name = "windows_x86_64_msvc" version = "0.48.0" @@ -8390,7 +9713,7 @@ version = "0.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9ed0164ae619f2dc144909a9f082187ebb5893693d8c0196e8085283ccd4b776" dependencies = [ - "futures 0.3.28", + "futures 0.3.31", "log", "nohash-hasher", "parking_lot", @@ -8405,7 +9728,7 @@ version = "0.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ad1d0148b89300047e72994bee99ecdabd15a9166a7b70c8b8c37c314dcc9002" dependencies = [ - "futures 0.3.28", + "futures 0.3.31", "instant", "log", "nohash-hasher", @@ -8421,7 +9744,7 @@ version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e17bb3549cc1321ae1296b9cdc2698e2b6cb1992adfa19a8c72e5b7a738f44cd" dependencies = [ - "time 0.3.20", + "time", ] [[package]] @@ -8450,7 +9773,7 @@ dependencies = [ "protobuf-codegen-pure", "rand_core 0.5.1", "subtle", - "time 0.3.20", + "time", "zcash_note_encryption", "zcash_primitives", ] @@ -8470,7 +9793,7 @@ dependencies = [ "protobuf", "rand_core 0.5.1", "rusqlite", - "time 0.3.20", + "time", "tokio", "zcash_client_backend", "zcash_extras", @@ -8488,7 +9811,7 @@ dependencies = [ "jubjub", "protobuf", "rand_core 0.5.1", - "time 0.3.20", + "time", "zcash_client_backend", "zcash_primitives", ] @@ -8555,11 +9878,51 @@ dependencies = [ "zcash_primitives", ] +[[package]] +name = "zerocopy" +version = "0.7.35" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1b9b4fd18abc82b8136838da5d50bae7bdea537c574d8dc1a34ed098d6c166f0" +dependencies = [ + "zerocopy-derive 0.7.35", +] + +[[package]] +name = "zerocopy" +version = "0.8.26" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1039dd0d3c310cf05de012d8a39ff557cb0d23087fd44cad61df08fc31907a2f" +dependencies = [ + "zerocopy-derive 0.8.26", +] + +[[package]] +name = "zerocopy-derive" +version = "0.7.35" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fa4f8080344d4671fb4e831a13ad1e68092748387dfc4f55e356242fae12ce3e" +dependencies = [ + "proc-macro2", + "quote 1.0.37", + "syn 2.0.87", +] + +[[package]] +name = "zerocopy-derive" +version = "0.8.26" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9ecf5b4cc5364572d7f4c329661bcc82724222973f2cab6f050a4e5c22f75181" +dependencies = [ + "proc-macro2", + "quote 1.0.37", + "syn 2.0.87", +] + [[package]] name = "zeroize" -version = "1.7.0" +version = "1.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "525b4ec142c6b68a2d10f01f7bbf6755599ca3f81ea53b8431b7dd348f5fdb2d" +checksum = "ced3678a2879b30306d323f4542626697a464a97c0a07c9aebf7ebca65cd4dde" dependencies = [ "zeroize_derive", ] diff --git a/Cargo.toml b/Cargo.toml index b7e7e2ae7c..c0e111bf85 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -64,7 +64,7 @@ bech32 = "0.9.1" bs58 = "0.4.0" bigdecimal = { version = "0.3", features = ["serde"] } bip32 = { version = "0.2.2", default-features = false, features = ["alloc", "secp256k1-ffi"] } -bip39 = { version = "2.0.0", features = ["rand_core", "zeroize"], default-features = false } +bip39 = { version = "2.1.0", features = ["rand_core", "zeroize", "std"], default-features = false } bitcoin = "0.29" bitcoin_hashes = "0.11" blake2 = "0.10.6" @@ -74,21 +74,21 @@ byteorder = "1.3" cbc = "0.1.2" cc = "1.0" cipher = "0.4.4" -chrono = "0.4.23" +chrono = { version = "0.4.41", default-features = false } cfg-if = "1.0" -clap = { version = "4.2", features = ["derive"] } +clap = { version = "4.5", default-features = false, features = ["derive", "std"] } cosmrs = { version = "0.16", default-features = false } crossbeam = "0.8" crossbeam-channel = "0.5.1" compatible-time = { version = "1.1.0", package = "web-time" } crc32fast = { version = "1.3.2", features = ["std", "nightly"] } -derive_more = "0.99" +derive_more = "0.99.20" directories = "5.0" -dirs = "1" ed25519-dalek = { version = "1.0.1", features = ["serde"] } +ed25519-dalek-bip32 = "0.3.0" either = "1.6" enum-primitive-derive = "0.2" -env_logger = "0.9.3" +env_logger = { version = "0.11", default-features = false } ethabi = "17.0.0" ethcore-transaction = { git = "https://github.com/KomodoPlatform/mm2-parity-ethereum.git", rev = "mm2-v2.1.1" } ethereum-types = { version = "0.13", default-features = false, features = ["std", "serialize"] } @@ -103,10 +103,10 @@ futures01 = { version = "0.1", package = "futures" } futures-rustls = { version = "0.24", default-features = false } futures-ticker = "0.0.3" futures-timer = "3.0" -futures-util = { version = "0.3", default-features = false, features = ["sink", "std"] } +futures-util = { version = "0.3.31", default-features = false, features = ["sink", "std"] } fnv = "1.0.6" group = "0.8.0" -gstuff = { version = "0.7", features = ["nightly"] } +gstuff = { version = "0.7" } hash256-std-hasher = "0.15.2" hash-db = "0.15.2" hex = "0.4.2" @@ -132,7 +132,6 @@ lightning = "0.0.113" lightning-background-processor = "0.0.113" lightning-invoice = { version = "0.21.0", features = ["serde"] } lightning-net-tokio = "0.0.113" -instant = "0.1.12" log = "0.4" metrics = "0.21" metrics-exporter-prometheus = "0.12.1" @@ -144,7 +143,7 @@ num-rational = { version = "0.4", features = ["serde"] } num-traits = "0.2" pairing_api = { git = "https://github.com/komodoplatform/walletconnectrust", tag = "k-0.1.3" } parking_lot = { version = "0.12.0", default-features = false } -parking_lot_core = { version = "0.6", features = ["nightly"] } +parking_lot_core = { version = "0.9", features = ["nightly"] } passwords = "3.1" paste = "1.0" pin-project = "1.1.2" @@ -157,7 +156,7 @@ quote = "1.0" regex = "1" relay_client = { git = "https://github.com/komodoplatform/walletconnectrust", tag = "k-0.1.3" } relay_rpc = { git = "https://github.com/komodoplatform/walletconnectrust", tag = "k-0.1.3" } -reqwest = { version = "0.11.9", default-features = false, features = ["json"] } +reqwest = { version = "0.11.9", default-features = false } rand = { version = "0.7", default-features = false, features = ["std", "small_rng", "wasm-bindgen"] } rcgen = "0.10" ripemd160 = "0.9.0" @@ -175,14 +174,14 @@ secp256k1v24 = { version = "0.24", package = "secp256k1" } serde = { version = "1", default-features = false } serde_bytes = "0.11.5" serde_derive = { version = "1", default-features = false } -serde_json = { version = "1", features = ["preserve_order", "raw_value"] } -serde_with = "1.14.0" +serde_json = { version = "1.0.140", features = ["preserve_order", "raw_value"] } +serde_with = "3.14.1" serde_repr = "0.1.6" serde-wasm-bindgen = "0.4.3" sha-1 = "0.9" sha2 = "0.10" sha3 = "0.9" -sia-rust = { git = "https://github.com/KomodoPlatform/sia-rust", rev = "9f188b80b3213bcb604e7619275251ce08fae808" } +sia-rust = { git = "https://github.com/KomodoPlatform/sia-rust", branch = "refactor/rc-cleanup"} siphasher = "0.1.1" smallvec = "1.6.1" sp-runtime-interface = { version = "6.0.0", default-features = false, features = ["disable_target_static_assertions"] } @@ -190,17 +189,18 @@ sp-trie = { version = "6.0", default-features = false } sql-builder = "3.1.1" syn = "1.0" sysinfo = "0.28" -tempfile = "3.4.0" +tempfile = "3.7.1" # using the same version as cosmrs tendermint-rpc = { version = "0.35", default-features = false } -testcontainers = "0.15.0" +# Todo: now that toolchain is updated, maybe this can be updated more and used with Sia tests +testcontainers = "0.17.0" tiny-bip39 = "0.8.0" thiserror = "1.0.40" -time = "0.3.20" -timed-map = { version = "1.4", features = ["rustc-hash", "serde", "wasm"] } -tokio = { version = "1.20", default-features = false } +time = "0.3.36" +timed-map = { version = "1.5", features = ["rustc-hash", "serde", "wasm"] } +tokio = { version = "1.47", default-features = false } tokio-rustls = { version = "0.24", default-features = false } -tokio-tungstenite-wasm = { git = "https://github.com/KomodoPlatform/tokio-tungstenite-wasm", rev = "8fc7e2f", defautl-features = false, features = ["rustls-tls-native-roots"]} +tokio-tungstenite-wasm = { git = "https://github.com/KomodoPlatform/tokio-tungstenite-wasm", rev = "8fc7e2f", default-features = false } tonic = { version = "0.10", default-features = false } tonic-build = { version = "0.10", default-features = false, features = ["prost"] } tower-service = "0.3" @@ -211,9 +211,9 @@ uint = "0.9.3" uuid = { version = "1.2.2", features = ["fast-rng", "serde", "v4"] } void = "1.0" wagyu-zcash-parameters = { version = "0.2" } -wasm-bindgen = "0.2.86" -wasm-bindgen-futures = "0.4.21" -wasm-bindgen-test = "0.3.2" +wasm-bindgen = "0.2.100" +wasm-bindgen-futures = "0.4.50" +wasm-bindgen-test = "0.3.50" wc_common = { git = "https://github.com/komodoplatform/walletconnectrust", tag = "k-0.1.3" } webpki-roots = "0.25" web-sys = {version = "0.3.55", default-features = false } @@ -229,7 +229,7 @@ zcash_extras = { git = "https://github.com/komodoplatform/librustzcash.git", tag zcash_primitives = { git = "https://github.com/komodoplatform/librustzcash.git", tag = "k-1.4.2", features = ["transparent-inputs"] } zcash_proofs = { git = "https://github.com/KomodoPlatform/librustzcash.git", tag = "k-1.4.2", default-features = false } x25519-dalek = { version = "2.0", features = ["static_secrets"] } -zeroize = { version = "1.5", features = ["zeroize_derive"] } +zeroize = { version = "1.8.1", features = ["zeroize_derive"] } [profile.release] debug = 0 @@ -243,10 +243,11 @@ panic = 'unwind' [profile.dev] opt-level = 0 debug = 1 -debug-assertions = false +debug-assertions = false # TODO: Enable debug-assertions in the future panic = 'unwind' -incremental = true +incremental = true # TODO: this is probably wasting resources in Github Actions, `CARGO_INCREMENTAL` can be used there codegen-units = 256 + [profile.release.package.mocktopus] opt-level = 1 # TODO: MIR fails on optimizing this dependency, remove that.. diff --git a/clippy.toml b/clippy.toml index 068d7e886b..7494d2e44a 100644 --- a/clippy.toml +++ b/clippy.toml @@ -1,4 +1,4 @@ [[disallowed-methods]] path = "futures::future::Future::wait" replacement = "common::block_on_f01" -reason = "Use the default KDF async executor." \ No newline at end of file +reason = "Use the default KDF async executor." diff --git a/docs/DEV_ENVIRONMENT.md b/docs/DEV_ENVIRONMENT.md index 8782769079..bab2e2db6a 100644 --- a/docs/DEV_ENVIRONMENT.md +++ b/docs/DEV_ENVIRONMENT.md @@ -38,6 +38,14 @@ ``` 9. Try `cargo test --all --features run-docker-tests -- --test-threads=16`. + Warning: + + Running the tests will start several Docker containers. If any container fails to start, check for potential port conflicts with existing services on your system. For example, on MacOS, the testblockchain container (used for UTXO testing) may not start because it uses port 7000, which is also used by the MacOS AirPlay Receiver. To resolve this issue, disable AirPlay Receiver in your system settings. + + Note for MacOS users: + + The nucleusd container (and its dependent ibc-relayer container) requires host network access. However, on MacOS, Docker does not support host networking by default. To ensure the nucleusd container runs correctly, make sure to turn on the "Enable host networking" option in your Docker settings. + ## Running WASM tests 1. Set up [WASM Build Environment](../docs/WASM_BUILD.md#Setting-up-the-environment) diff --git a/examples/sse/index.html b/examples/sse/index.html index e780004ccb..64b918b1f8 100644 --- a/examples/sse/index.html +++ b/examples/sse/index.html @@ -8,7 +8,8 @@

Events