Skip to content

Commit

Permalink
Initial SBD Client and Server (#2)
Browse files Browse the repository at this point in the history
* checkpoint

* checkpoint

* checkpoint

* ci

* ci

* rename

* ratelimit

* Create spec.md

* Create README.md

* close and benchmark

* client tester

* warmup on rate-limit test

* client turnover benchmark

* workspace deps

* tls

* tweaks

* Apply suggestions from code review

Co-authored-by: ThetaSinner <ThetaSinner@users.noreply.github.com>

* address code review comments

* address code review comments

* address code review comment

* address code review comments

* address code review comments

* address code review comment

* address code review commenst

* address code review comments

* code review comment

* Update rust/sbd-client/src/send_buf.rs

Co-authored-by: Stefan Junker <1181362+steveej@users.noreply.github.com>

* code review comment

* address code review comments

* arc in pubkey

* small api tweak and test

* Apply suggestions from code review

Co-authored-by: Stefan Junker <1181362+steveej@users.noreply.github.com>

* address code review comments

---------

Co-authored-by: ThetaSinner <ThetaSinner@users.noreply.github.com>
Co-authored-by: Stefan Junker <1181362+steveej@users.noreply.github.com>
  • Loading branch information
3 people committed May 7, 2024
1 parent 6038c5f commit 1d0af9f
Show file tree
Hide file tree
Showing 45 changed files with 6,240 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Static Analysis
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
static-analysis:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [
ubuntu-latest,
]
toolchain: [
stable,
1.75.0
]
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Rust Toolchain
run: |
rustup toolchain install ${{ matrix.toolchain }} --profile minimal --no-self-update
rustup default ${{ matrix.toolchain }}
rustup component add rustfmt --toolchain ${{ matrix.toolchain }}
rustup component add clippy --toolchain ${{ matrix.toolchain }}
- name: Rust Cache
uses: Swatinem/rust-cache@v2

- name: Make Static
run: make static
42 changes: 42 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Test
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
name: Test
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [
ubuntu-latest,
macos-latest,
windows-latest,
]
toolchain: [
stable,
]
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Rust Toolchain
run: |
rustup toolchain install ${{ matrix.toolchain }} --profile minimal --no-self-update
rustup default ${{ matrix.toolchain }}
- name: Rust Cache
uses: Swatinem/rust-cache@v2

- name: Cargo Build
run: cargo build --all-targets

- name: Cargo Test
env:
RUST_BACKTRACE: 1
run: cargo test -- --nocapture

0 comments on commit 1d0af9f

Please sign in to comment.