BGluth
a02a2ecb97
Updated mir-protocol --> 0xPolygonZero
...
- Recently the underlying org name on Github changed to `0xPolygonZero`.
- This was causing some issues with dependencies downstream where a
dependency pointing to the old org name was seen as a different
dependency that was using the new org name.
- Using a `[patch] section in `Cargo.toml` was running into issues where
we couldn't get it to get all dependency versions using a single org
name.
2023-10-12 11:11:17 -06:00
BGluth
5936c67f59
Now refers to sub-crates using paths (and removed patch section)
...
- Previously refered to specific `crates.io` versions.
- Motivation for this is to allow external projects to be able use
specific revisions of this repo. Without this, a `[patch]` section
is almost always required in the external project in order to force
the internal plonky2 sub-crates to the same version, an approach which
comes with its own issues.
2023-09-07 16:36:38 -06:00
Nicholas Ward
8432195517
update versions in cross-crate references
2023-07-31 16:34:27 -07:00
Nicholas Ward
3a55602909
update versions for crates.io updates
2023-07-31 16:31:22 -07:00
Tamir Hemo
8a86e1956e
fix: add itertools/use_std feature flag for [std]
2023-07-20 11:36:31 -07:00
bing
e28b484a2c
deps(serde): use rc
2023-07-17 21:10:06 +08:00
dependabot[bot]
5d513207ef
Update itertools requirement from 0.10.3 to 0.11.0
...
Updates the requirements on [itertools](https://github.com/rust-itertools/itertools ) to permit the latest version.
- [Changelog](https://github.com/rust-itertools/itertools/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-itertools/itertools/compare/v0.10.3...v0.11.0 )
---
updated-dependencies:
- dependency-name: itertools
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-07-13 23:00:00 +00:00
Nicholas Ward
dc1709155a
Merge pull request #1131 from mir-protocol/dependabot/cargo/criterion-0.5.1
...
Update criterion requirement from 0.4.0 to 0.5.1
2023-07-13 15:58:18 -07:00
Nicholas Ward
c202f4bc7f
Merge pull request #1129 from mir-protocol/dependabot/cargo/ahash-0.8.3
...
Update ahash requirement from 0.7.6 to 0.8.3
2023-07-13 15:58:08 -07:00
dependabot[bot]
b0c5ddc070
Update criterion requirement from 0.4.0 to 0.5.1
...
Updates the requirements on [criterion](https://github.com/bheisler/criterion.rs ) to permit the latest version.
- [Changelog](https://github.com/bheisler/criterion.rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/bheisler/criterion.rs/compare/0.4.0...0.5.1 )
---
updated-dependencies:
- dependency-name: criterion
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-07-13 22:33:22 +00:00
dependabot[bot]
fc70f36c2e
Update hashbrown requirement from 0.12.3 to 0.14.0
...
Updates the requirements on [hashbrown](https://github.com/rust-lang/hashbrown ) to permit the latest version.
- [Changelog](https://github.com/rust-lang/hashbrown/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/hashbrown/compare/v0.12.3...v0.14.0 )
---
updated-dependencies:
- dependency-name: hashbrown
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-07-13 22:33:00 +00:00
dependabot[bot]
0d9208a644
Update ahash requirement from 0.7.6 to 0.8.3
...
Updates the requirements on [ahash](https://github.com/tkaitchuck/ahash ) to permit the latest version.
- [Release notes](https://github.com/tkaitchuck/ahash/releases )
- [Commits](https://github.com/tkaitchuck/ahash/compare/v0.7.6...v0.8.3 )
---
updated-dependencies:
- dependency-name: ahash
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-07-13 22:32:57 +00:00
Nicholas Ward
14c4011593
Revert "clippy fixes"
2023-07-07 12:16:43 -07:00
Nicholas Ward
0fec1124a3
update itertools
2023-07-05 17:30:47 -07:00
Nicholas Ward
34a0354507
Serialize impls, and use in Fibonacci example
2023-04-22 17:52:32 -07:00
Robin Salen
b3e93e91eb
Fix plonky2 compilation with wasm32-unknown-unknown target
2023-03-09 17:54:52 -05:00
Daniel Lubarov
7781dd366f
Plonky2 to 0.1.3
2023-02-25 10:17:28 -08:00
Daniel Lubarov
52e34265c6
Bump plonky2 to 0.1.2
2023-02-25 08:55:21 -08:00
Daniel Lubarov
137bc78565
Prep for publishing to crates.io
2023-01-30 13:18:06 -08:00
Daniel Lubarov
fbb26546dd
Jemalloc for EVM
...
Also update the version used elsewhere.
2022-12-04 10:15:28 -08:00
Brandon H. Gomes
65d106bc31
chore: remove derivative dependency as non-crucial
...
Signed-off-by: Brandon H. Gomes <bhgomes@pm.me>
2022-11-15 16:26:43 -05:00
Brandon H. Gomes
2520bd62c6
chore: match hashbrown ahash dependency
...
Signed-off-by: Brandon H. Gomes <bhgomes@pm.me>
2022-11-15 16:14:07 -05:00
Brandon H. Gomes
289498e854
fix: address review comments
...
Signed-off-by: Brandon H. Gomes <bhgomes@pm.me>
2022-11-15 01:52:27 -05:00
Brandon H. Gomes
fc3f63398d
wip: start moving starky to no-std
...
Signed-off-by: Brandon H. Gomes <bhgomes@pm.me>
2022-11-03 12:17:03 -07:00
Brandon H. Gomes
38e467f1c0
chore: fix serde-cbor and run cargo-sort
...
Signed-off-by: Brandon H. Gomes <bhgomes@pm.me>
2022-11-03 11:41:12 -07:00
Brandon H. Gomes
703d2c3c95
wip: start plonky2_u32 and plonky2_ecdsa no-std impl
...
Signed-off-by: Brandon H. Gomes <bhgomes@pm.me>
2022-11-03 10:58:55 -07:00
Brandon H. Gomes
e2cdd5a954
feat: upgrade Sampling APIs
...
Signed-off-by: Brandon H. Gomes <bhgomes@pm.me>
2022-11-03 08:26:03 -07:00
Brandon H. Gomes
4aaf57e9a9
feat: separate reading and writing to get infallible writers
...
Signed-off-by: Brandon H. Gomes <bhgomes@pm.me>
2022-11-02 21:07:51 -07:00
Brandon H. Gomes
7a81c5d46a
feat: move to alloc for Vec/String/Box
...
Signed-off-by: Brandon H. Gomes <bhgomes@pm.me>
2022-11-02 19:59:12 -07:00
Brandon H. Gomes
6fd0da216a
fix: remove unstable features from plonky2
...
Signed-off-by: Brandon H. Gomes <bhgomes@pm.me>
2022-11-02 17:50:31 -07:00
Daniel Lubarov
65a20bcd8a
Merge remote-tracking branch 'proxima/log-portability'
2022-08-06 23:00:32 -04:00
Sladuca
e7216f2683
feature-gate rand
2022-08-06 11:35:41 -04:00
Sebastien La Duca
585495d314
feature-gate stub TimingTree
2022-07-27 23:53:26 -04:00
Sebastien La Duca
16ddfcb94c
make env_logger dev-dependency
2022-07-27 23:35:15 -04:00
Sebastien La Duca
a281e28d54
add rayon shim
2022-07-21 16:59:20 -04:00
Remco Bloemen
7769c269bf
Do not export global allocator ( #533 )
...
* Do not export allocator
* Make sure to use jemalloc in all downstream tests
* Update readme
* Remove test jemalloc boilerplate
* One more
* Fix clippies
* One more
* Clippy
Co-authored-by: Daniel Lubarov <daniel@lubarov.com>
2022-05-03 13:16:53 -07:00
Remco Bloemen
9cff202e1a
Move benches to bins ( #534 )
...
* Copy recusion bench to bin
* Add command line arguments
* Allow ranges for inner_size
* Accept range for threads
* Log2 inner size
* CLI args for logging
* Update readme
* Use split_once
* Cleanup
* Correct inner proof size
* Shrink public surface
* Print stats on inner proofs
2022-04-14 19:23:43 -07:00
wborgeaud
b58d5d6747
Move u32 stuff to plonky2_u32 crate
2022-04-06 08:50:45 +02:00
Daniel Lubarov
d69220e2a7
metadata
2022-01-21 10:06:40 -08:00
Jakub Nabaglo
f98a6adfbf
Bit-order reversal benchmarks ( #441 )
2022-01-19 17:51:20 -08:00
Hamish Ivey-Law
fcdcc86569
Move profile defns to root workspace toml. ( #437 )
2022-01-18 11:41:08 +11:00
Daniel Lubarov
9f09a2aace
Add Merkle tree benchmark ( #429 )
...
And one for a single Keccak hash
2022-01-12 16:25:12 -08:00
Daniel Lubarov
3fc5ff4fff
Remove old binaries ( #423 )
...
FFTs became proper benches, while recursion became tests. We might consider having either bins or benches for recursion in the future, but the code in this old recursion bin won't be useful, so might as well delete it for now.
2022-01-07 10:24:54 -08:00
Daniel Lubarov
c126641c5d
Split into crates ( #406 )
...
* Split into crates
I kept other changes to a minimum, so 95% of this is just moving things. One complication that came up is that since `PrimeField` is now outside the plonky2 crate, these two impls now conflict:
```
impl<F: PrimeField> From<HashOut<F>> for Vec<u8> { ... }
impl<F: PrimeField> From<HashOut<F>> for Vec<F> { ... }
```
with this note:
```
note: upstream crates may add a new impl of trait `plonky2_field::field_types::PrimeField` for type `u8` in future versions
```
I worked around this by adding a `GenericHashOut` trait with methods like `to_bytes()` instead of overloading `From`/`Into`. Personally I prefer the explicitness anyway.
* Move out permutation network stuff also
* Fix imports
* Fix import
* Also move out insertion
* Comment
* fmt
* PR feedback
2021-12-28 11:51:13 -08:00