Skip to content

Commit

Permalink
v0.0.2 (#25)
Browse files Browse the repository at this point in the history
* requesting to one tracker at a time

* added rarest first support

* using bitvec as Bitfield, removed bitlab dependency

* refactor get_block_infos

* Disk knows when a piece is downloaded

* Disk: fix piece selection

* retrying connection to failed peers

* fixed offset calculation
  • Loading branch information
gabrieldemian committed Nov 9, 2023
1 parent 4555cbd commit cda2054
Show file tree
Hide file tree
Showing 29 changed files with 2,625 additions and 1,727 deletions.
1 change: 1 addition & 0 deletions .actrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
-P ubuntu-latest=gabrieldemian/vincenzo:latest
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Install stable toolchain
uses: actions-rs/toolchain@v1
Expand All @@ -38,7 +38,7 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- name: Checkout sources
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Install stable toolchain
uses: actions-rs/toolchain@v1
Expand Down
14 changes: 10 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ permissions:
on:
push:
tags:
- "v[0-9]+.[0-9]+.[0-9]+"
- v[0-9]+.*

jobs:
create-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: taiki-e/create-gh-release-action@v1
with:
# (optional) Path to changelog.
Expand All @@ -21,6 +21,7 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}

upload-assets:
needs: create-release
strategy:
matrix:
include:
Expand All @@ -32,9 +33,13 @@ jobs:
os: ubuntu-latest
- target: x86_64-apple-darwin
os: macos-latest
- target: x86_64-unknown-freebsd
os: ubuntu-latest
- target: x86_64-pc-windows-msvc
os: windows-latest
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Install cross-compilation tools
uses: taiki-e/setup-cross-toolchain-action@v1
with:
Expand All @@ -44,7 +49,8 @@ jobs:
with:
# (required) Comma-separated list of binary names (non-extension portion of filename) to build and upload.
# Note that glob pattern is not supported yet.
bin: vcz
bin: vcz,vcz_ui,vczd
archive: vcz-$target
# (optional) Target triple, default is host triple.
target: ${{ matrix.target }}
# (required) GitHub token for uploading assets to GitHub Releases.
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
log.txt
perf.data
flamegraph.svg
**.DS_Store
**.DS_Store
/bin
176 changes: 46 additions & 130 deletions Cargo.lock

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

Loading

0 comments on commit cda2054

Please sign in to comment.