Commit Graph

17 Commits

Author SHA1 Message Date
Carlos Pérez de5eb2066a
change: Replace profile overwrites to Workspace Cargo.toml (#95)
Since profile info specified inside workspace members `Cargo.toml`'s
is ignored by Cargo, this replaces the place to specify these details
for the workspace-level `Cargo.toml`.

NOTE that `panic` and `rpath` aren't supported with the Overwritting
feature. Therefore, the only required thing (if considered necessary) is
to create a new profile which also enables these things.

Resolves: #93
2023-02-08 12:38:42 +01:00
tyshko-rostyslav 7aba62ff51
Add rust-clippy to CI (#108)
Convert clippy warnings to errors, fix them 

---------

Co-authored-by: tyshkor <tyshko1@gmail.com>
2023-02-06 05:54:59 +01:00
Rahul Ghangas cbf8c541c2
test: separate out tests (#103)
* test: move tests for rln, multiplier and private-settlements to tests folder

* test: fix rln test for poseiden tree

* test: move tests for rln-wasn to standalone tests folder

* test: move tests for semaphore and utils to standalone tests folder

* chore: cargo fmt

* test: rename test files

* test: move tests out from rln/src/public to test folder

* test: fix rln tests, move tests accessign private fields back to relevant source file

* chor: run cargo fmt

* test: move all semaphore tests to tests folder

* chore: cargo fmt
2023-01-31 21:27:28 +05:30
Rahul Ghangas 1502315605
chore: Makefile and consistent usage of cargo-make (#101)
* feat: add Makefile with pre build check. add targets for build, test and clean

* feat: add workspace level build file

* chore: add skeletal build files for each crate

* chore: remove environment variable to extend workspace makefile

* chore: formatting

* chore: add release flags to all builds/tests
2023-01-26 09:19:55 +05:30
G e69f6a67d8
fix(semaphore): restore and update original semaphore git dependency 2022-12-12 00:40:08 +01:00
G 3427729f7e
fix(semaphore): temporarily use fixed semaphore-rs fork (#79)
* fix(semaphore): temporarily use fixed semaphore-rs fork

* fix(semaphore): update semaphore logic to work with latest master of semaphore-rs
2022-11-23 10:55:12 +01:00
s1fr0 8e065d4a83
fix(rln): fixed proof generation/verification and E2E tests
chore(rln): clippy and fmt

fix(rln): cargo fix

ci: update submodules

chore(rln): remove unnecessary test, restyle

fix(rln): switch to field type, add field arithmetic

feat(rln): public input computation from witness

fix(rln): fix semaphore crate version
2022-06-09 15:57:03 +02:00
Oskar Thoren 8171439a44
style(semaphore): cargo fmt 2022-06-01 15:23:09 +01:00
Oskar Thoren c4ec421e2c
docs(semaphore): Add README 2022-06-01 15:20:39 +01:00
Oskar Thoren e7fdcd1e8a
refactor(semaphore): Use crate::protocol for tests
Instead of semaphore-rs as black box.
2022-06-01 15:17:46 +01:00
Oskar Thoren 61b63cb90e
chore(semaphore): Cargo.toml tweaks
Name has to be different to avoid workspace rlib clash, it seems like.
2022-06-01 15:17:17 +01:00
Oskar Thoren d9b5c9a371
feat(semaphore): Import protocol, circuit, build
From semaphore-rs.
2022-06-01 14:53:50 +01:00
Oskar Thoren 04e3e3a7eb
chore(semaphore): Update dependencies 2022-06-01 14:53:12 +01:00
Oskar Thoren d9b3034804
chore(semaphore): Add semaphore submodule
Note previous commit to keep same script install flow for now.
2022-06-01 14:40:41 +01:00
Oskar Thoren 075a755af8
test(semaphore): Import basic end to end test 2022-06-01 13:13:00 +01:00
Oskar Thoren bcc38c41e2
chore(semaphore): Add Semaphore dependency 2022-06-01 13:12:41 +01:00
Oskar Thoren 1d858175fc
feat(semaphore): Init crate 2022-05-24 12:35:33 +01:00