Skip to content

Commit

Permalink
Merge pull request #4 from seanwatters/0.3.0
Browse files Browse the repository at this point in the history
0.3.0
  • Loading branch information
seanwatters committed Feb 26, 2024
2 parents 40261f1 + 136e969 commit 6980d2a
Show file tree
Hide file tree
Showing 22 changed files with 2,229 additions and 811 deletions.
30 changes: 24 additions & 6 deletions .github/workflows/ci.yml
Expand Up @@ -2,26 +2,44 @@ name: CI

on:
push:
branches: [ "main" ]
branches: ["main"]
paths:
- benches/**
- examples/**
- src/**
pull_request:
branches: [ "main" ]
branches: ["main"]
paths:
- benches/**
- examples/**
- src/**

env:
CARGO_TERM_COLOR: always

jobs:
job:
mutli-threaded:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Build
run: cargo build --verbose
- name: Tests
run: cargo test --verbose
- name: Test
run: RUST_MIN_STACK=8388608 cargo test --verbose
- name: Benchmark
run: cargo bench --verbose
- name: Benchmark (single threaded)

single-threaded:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Build
run: cargo build --no-default-features --verbose
- name: Test
run: RUST_MIN_STACK=8388608 cargo test --no-default-features --verbose
- name: Benchmark
run: cargo bench --no-default-features --verbose

concurrency:
Expand Down
1 change: 1 addition & 0 deletions .gitignore
@@ -1,3 +1,4 @@
.vscode
target
.DS_Store
*pub_keys
60 changes: 59 additions & 1 deletion Cargo.lock

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

7 changes: 6 additions & 1 deletion Cargo.toml
Expand Up @@ -14,17 +14,22 @@ license = "MIT"
name = "rgp"
readme = "README.md"
repository = "https://github.com/seanwatters/rgp"
version = "0.2.8"
version = "0.3.0"

[dependencies]
blake2 = "0.10.6"
chacha20 = "0.9.1"
chacha20poly1305 = "0.10.1"
classic-mceliece-rust = { version = "3.0.0", default-features = false, features = ["mceliece348864f"] }
ed25519-dalek = { version = "2.0.0", features = ["rand_core"] }
rand_core = "0.6.4"
rayon = { version = "1.8.1", optional = true }
x25519-dalek = { version = "2.0.0", features = ["static_secrets"] }

# needed for classic-mceliece-rust
# maybe should add support for `rand_core` feature?
rand = { version = "0.8.5" }

[dev-dependencies]
criterion = { version = "0.5.1", features = ["html_reports"] }

Expand Down

0 comments on commit 6980d2a

Please sign in to comment.