Commit Graph

282 Commits

Author SHA1 Message Date
bors[bot]
b73c146193
Merge #668
668: Bump rand_core from 0.6.1 to 0.6.2 r=collinc97 a=dependabot-preview[bot]

Bumps [rand_core](https://github.com/rust-random/rand) from 0.6.1 to 0.6.2.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/rust-random/rand/blob/master/CHANGELOG.md">rand_core's changelog</a>.</em></p>
<blockquote>
<h2>[0.6.2] - 2019-01-04</h2>
<h3>Additions</h3>
<ul>
<li>Add <code>Default</code> for <code>ThreadRng</code> (<a href="https://github-redirect.dependabot.com/rust-random/rand/issues/657">#657</a>)</li>
<li>Move <code>rngs::OsRng</code> to <code>rand_os</code> sub-crate; clean up code; use as dependency (<a href="https://github-redirect.dependabot.com/rust-random/rand/issues/643">#643</a>) ##BLOCKER##</li>
<li>Add <code>rand_xoshiro</code> sub-crate, plus benchmarks (<a href="https://github-redirect.dependabot.com/rust-random/rand/issues/642">#642</a>, <a href="https://github-redirect.dependabot.com/rust-random/rand/issues/668">#668</a>)</li>
</ul>
<h3>Fixes</h3>
<ul>
<li>Fix bias in <code>UniformInt::sample_single</code> (<a href="https://github-redirect.dependabot.com/rust-random/rand/issues/662">#662</a>)</li>
<li>Use <code>autocfg</code> instead of <code>rustc_version</code> for rustc version detection (<a href="https://github-redirect.dependabot.com/rust-random/rand/issues/664">#664</a>)</li>
<li>Disable <code>i128</code> and <code>u128</code> if the <code>target_os</code> is <code>emscripten</code> (<a href="https://github-redirect.dependabot.com/rust-random/rand/issues/671">#671</a>: work-around Emscripten limitation)</li>
<li>CI fixes (<a href="https://github-redirect.dependabot.com/rust-random/rand/issues/660">#660</a>, <a href="https://github-redirect.dependabot.com/rust-random/rand/issues/671">#671</a>)</li>
</ul>
<h3>Optimisations</h3>
<ul>
<li>Optimise memory usage of <code>UnitCircle</code> and <code>UnitSphereSurface</code> distributions (no PR)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="3a03c9eb53"><code>3a03c9e</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/rust-random/rand/issues/1096">#1096</a> from tmandry/patch-1</li>
<li><a href="2cf5120dd5"><code>2cf5120</code></a> Bump to 0.6.2</li>
<li><a href="390a7b1049"><code>390a7b1</code></a> Fix assertions inside read_{u32,u64}_into</li>
<li><a href="6ecbe2626b"><code>6ecbe26</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/rust-random/rand/issues/1089">#1089</a> from dhardy/work</li>
<li><a href="8821743325"><code>8821743</code></a> Prepare 0.8.3</li>
<li><a href="fa615efd91"><code>fa615ef</code></a> Feature gate choose_multiple_weighted on std</li>
<li><a href="22dec87aac"><code>22dec87</code></a> CI: more accurate no-default-feature and nightly test targets</li>
<li><a href="6a6b9fd06d"><code>6a6b9fd</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/rust-random/rand/issues/1087">#1087</a> from GautierMinster/fix_uniform_int_panic_on_full_in...</li>
<li><a href="2c9085a2de"><code>2c9085a</code></a> Bump to 0.8.2 and update changelog</li>
<li><a href="4e8c7a4ca2"><code>4e8c7a4</code></a> distributions/uniform: fix panic in gen_range(0..=MAX)</li>
<li>See full diff in <a href="https://github.com/rust-random/rand/compare/rand_core-0.6.1...rand_core-0.6.2">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=rand_core&package-manager=cargo&previous-version=0.6.1&new-version=0.6.2)](https://dependabot.com/compatibility-score/?dependency-name=rand_core&package-manager=cargo&previous-version=0.6.1&new-version=0.6.2)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)



</details>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-02-18 06:32:28 +00:00
bors[bot]
54a9691b73
Merge #652 #663
652: ASG refactor r=collinc97 a=Protryon

## Motivation

This PR makes the ASG more user friendly by using arenas instead of RefCell/Arc:
1. Impossible to leak the ASG by creating a circular strong reference chain
2. We don't need RefCell's everywhere to implement passes

663: Bug 625/fix negative fields not allowed r=collinc97 a=gluax

Resolves #625. Logic used to do so is in check if first character of string to convert is a negative sign. If so remove first character convert from string to field, and then negate it on the leo side. If first character wasn't a negative sign, do the same as before.

Co-authored-by: Protryon <max.bruce12@gmail.com>
Co-authored-by: gluax <jonathan.t.pavlik@gmail.com>
Co-authored-by: gluax <16431709+gluax@users.noreply.github.com>
2021-02-17 20:10:30 +00:00
Protryon
bf61820115 asg refactor 2021-02-16 13:32:34 -08:00
dependabot-preview[bot]
0702b32840
Bump rand_core from 0.6.1 to 0.6.2
Bumps [rand_core](https://github.com/rust-random/rand) from 0.6.1 to 0.6.2.
- [Release notes](https://github.com/rust-random/rand/releases)
- [Changelog](https://github.com/rust-random/rand/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-random/rand/compare/rand_core-0.6.1...rand_core-0.6.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-15 10:25:03 +00:00
dependabot-preview[bot]
ad1fbf4681
Bump zip from 0.5.9 to 0.5.10
Bumps [zip](https://github.com/zip/zip-rs) from 0.5.9 to 0.5.10.
- [Release notes](https://github.com/zip/zip-rs/releases)
- [Commits](https://github.com/zip/zip-rs/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-15 10:24:31 +00:00
collin
537ea39513 bump snarkvm module versions to 0.0.4 2021-02-11 17:33:53 -08:00
Howard Wu
59fa8fd62b
Merge pull request #632 from AleoHQ/adds-structopt-to-leo
[CLI] Leo CLI is now on StructOpt and Anyhow (reopened)
2021-02-10 18:49:45 -08:00
damirka
2ff2db2570 Leo CLI is now on StructOpt and Anyhow
Features:

- introduces new Command and Route traits for Leo commands and Aleo PM API
- most of the CLI code replace with higher-level abstraction - StructOpt
- anyhow used for error handling, no more custom error classes
- improves API - now every status code has its business logic
- adds global flags (e.g. --quiet to suppress output)
- error messages improved for convenience and better user experience

Closes:

- #604
- #599
- #584
- #277
- #376
2021-02-08 15:48:35 +03:00
dependabot-preview[bot]
a0da42cb8c
Bump serde_json from 1.0.61 to 1.0.62
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.61 to 1.0.62.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.61...v1.0.62)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-08 11:20:20 +00:00
howardwu
1898cc6840 chore(leo): bump version for new release 2021-02-07 08:14:56 -08:00
dependabot-preview[bot]
b1527c8e57
Bump tracing from 0.1.22 to 0.1.23
Bumps [tracing](https://github.com/tokio-rs/tracing) from 0.1.22 to 0.1.23.
- [Release notes](https://github.com/tokio-rs/tracing/releases)
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.22...tracing-0.1.23)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-05 10:39:16 +00:00
Collin Chin
2e121b2790
Merge pull request #593 from AleoHQ/dependabot/cargo/sha2-0.9.3
Bump sha2 from 0.9.2 to 0.9.3
2021-02-04 22:59:45 -08:00
collin
c706ef65b8 bump snarkvm module versions 2021-02-04 13:00:30 -08:00
dependabot-preview[bot]
ebb97c9caf
Bump sha2 from 0.9.2 to 0.9.3
Bumps [sha2](https://github.com/RustCrypto/hashes) from 0.9.2 to 0.9.3.
- [Release notes](https://github.com/RustCrypto/hashes/releases)
- [Commits](https://github.com/RustCrypto/hashes/compare/sha2-v0.9.2...sha2-v0.9.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-04 20:57:28 +00:00
howardwu
90fc6a9c12 chore(leo): bump version for new release 2021-02-03 13:34:03 -08:00
howardwu
0d907bbb26 chore(leo): bump version for new release 2021-02-03 12:36:17 -08:00
Protryon
80d5c87b8a asg 2021-02-02 11:08:56 -08:00
collin
38f65a7d81 Merge branch 'master' of github.com:AleoHQ/leo into asg-merge 2021-01-30 16:31:35 -05:00
dependabot-preview[bot]
6b4439a243
Bump serde from 1.0.122 to 1.0.123
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.122 to 1.0.123.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.122...v1.0.123)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-28 15:05:49 +00:00
dependabot-preview[bot]
295512474d Bump serde from 1.0.119 to 1.0.122
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.119 to 1.0.122.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.119...v1.0.122)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-26 14:55:16 -05:00
dependabot-preview[bot]
9d528e7e2b Bump criterion from 0.3.3 to 0.3.4
Bumps [criterion](https://github.com/bheisler/criterion.rs) from 0.3.3 to 0.3.4.
- [Release notes](https://github.com/bheisler/criterion.rs/releases)
- [Changelog](https://github.com/bheisler/criterion.rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/bheisler/criterion.rs/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-26 14:55:16 -05:00
dependabot-preview[bot]
fe88b73f82 Bump self_update from 0.22.0 to 0.23.0
Bumps [self_update](https://github.com/jaemk/self_update) from 0.22.0 to 0.23.0.
- [Release notes](https://github.com/jaemk/self_update/releases)
- [Changelog](https://github.com/jaemk/self_update/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jaemk/self_update/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-26 14:55:15 -05:00
gluaxspeed
29ff3c90b6 error and error message for deprecated test syntax, fmt, clean up 2021-01-25 15:12:10 -05:00
Protryon
eff111b559 rename ternary 2021-01-25 07:31:34 -08:00
collin
f9cc175ae6 Merge branch 'master' of github.com:AleoHQ/leo into dependabot/cargo/self_update-0.23.0 2021-01-19 12:03:39 -05:00
howardwu
1a36a262b8 chore(leo): bump version for new release 2021-01-12 17:03:16 -04:00
dependabot-preview[bot]
0e94a1b72d
Bump serde from 1.0.118 to 1.0.119
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.118 to 1.0.119.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.118...v1.0.119)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-12 10:55:52 +00:00
dependabot-preview[bot]
59ce840b4d
Bump self_update from 0.22.0 to 0.23.0
Bumps [self_update](https://github.com/jaemk/self_update) from 0.22.0 to 0.23.0.
- [Release notes](https://github.com/jaemk/self_update/releases)
- [Changelog](https://github.com/jaemk/self_update/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jaemk/self_update/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-12 01:55:43 +00:00
collin
9213fd42bb add feature flag for reqwest 2021-01-11 14:43:08 -05:00
dependabot-preview[bot]
523f9d79fb
Bump reqwest from 0.10.10 to 0.11.0
Bumps [reqwest](https://github.com/seanmonstar/reqwest) from 0.10.10 to 0.11.0.
- [Release notes](https://github.com/seanmonstar/reqwest/releases)
- [Changelog](https://github.com/seanmonstar/reqwest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/seanmonstar/reqwest/compare/v0.10.10...v0.11.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-08 00:56:01 +00:00
dependabot-preview[bot]
6a6706112e
Bump rand_core from 0.6.0 to 0.6.1
Bumps [rand_core](https://github.com/rust-random/rand) from 0.6.0 to 0.6.1.
- [Release notes](https://github.com/rust-random/rand/releases)
- [Changelog](https://github.com/rust-random/rand/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-random/rand/compare/rand_core-0.6.0...rand_core-0.6.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-05 10:42:19 +00:00
howardwu
87ccc0fe3d Update snarkVM deps to crates 2021-01-03 22:37:06 -04:00
howardwu
d5cb59c206 Update ci.yml 2021-01-02 19:18:38 -04:00
howardwu
c20822e828 Update revision 2021-01-02 18:17:26 -04:00
howardwu
11fc60c9e0 Update revision 2020-12-30 18:07:20 -04:00
howardwu
f4ad1ffff4 Add revision for snarkvm 2020-12-30 12:54:48 -04:00
howardwu
2d64515763 Migrate to snarkVM 2020-12-30 12:40:45 -04:00
howardwu
141ee7eb0f Resolve merge conflicts 2020-12-30 11:37:51 -04:00
Howard Wu
0eb1a5e354
Merge pull request #516 from AleoHQ/dependabot/cargo/serde_json-1.0.61
Bump serde_json from 1.0.60 to 1.0.61
2020-12-30 11:36:40 -04:00
Howard Wu
6f7bfedada
Merge pull request #513 from AleoHQ/dependabot/cargo/thiserror-1.0.23
Bump thiserror from 1.0.22 to 1.0.23
2020-12-30 11:36:23 -04:00
Howard Wu
fd6a041fca
Merge pull request #512 from AleoHQ/dependabot/cargo/console-0.14.0
Bump console from 0.13.0 to 0.14.0
2020-12-30 11:35:35 -04:00
Howard Wu
be95b08e60
Merge pull request #508 from AleoHQ/dependabot/cargo/toml-0.5.8
Bump toml from 0.5.7 to 0.5.8
2020-12-30 11:35:16 -04:00
howardwu
1d9215a1ac Migrates to hot 1.1.4 and adds memory usage improvements for programs 2020-12-30 11:32:10 -04:00
dependabot-preview[bot]
2cd4aef4d0
Bump serde_json from 1.0.60 to 1.0.61
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.60 to 1.0.61.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.60...v1.0.61)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-29 10:44:38 +00:00
dependabot-preview[bot]
db3821e63a
Bump thiserror from 1.0.22 to 1.0.23
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.22 to 1.0.23.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.22...1.0.23)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-28 10:24:20 +00:00
dependabot-preview[bot]
0720f13953
Bump console from 0.13.0 to 0.14.0
Bumps [console](https://github.com/mitsuhiko/console) from 0.13.0 to 0.14.0.
- [Release notes](https://github.com/mitsuhiko/console/releases)
- [Changelog](https://github.com/mitsuhiko/console/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mitsuhiko/console/compare/0.13.0...0.14.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-28 10:23:53 +00:00
dependabot-preview[bot]
dc5409760d
Bump toml from 0.5.7 to 0.5.8
Bumps [toml](https://github.com/alexcrichton/toml-rs) from 0.5.7 to 0.5.8.
- [Release notes](https://github.com/alexcrichton/toml-rs/releases)
- [Commits](https://github.com/alexcrichton/toml-rs/compare/0.5.7...0.5.8)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-21 10:57:31 +00:00
howardwu
b65c6f7ba5 Removes snarkos-gadgets from leo-input 2020-12-20 10:32:07 -04:00
howardwu
2ac7426e02 Removes snarkos-curves from leo-input 2020-12-20 10:30:52 -04:00
howardwu
72839e8f98 Removes snarkos-models from leo-input 2020-12-20 10:29:03 -04:00