Commit Graph

276 Commits

Author SHA1 Message Date
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
howardwu
88564caf4e Removes snarkos-errors from leo-input 2020-12-20 10:27:16 -04:00
howardwu
d65d8dbd57 Remove snarkos-algorithms from leo-input 2020-12-20 10:26:04 -04:00
howardwu
13f83a434c Remove serde_json from leo-package 2020-12-20 10:24:33 -04:00
howardwu
b3e4d2fbfb Removes env_logger dep from leo-lang 2020-12-20 10:23:13 -04:00
howardwu
907d7828fe Removes dotenv dep from leo-lang 2020-12-20 10:22:09 -04:00
howardwu
1e79277728 Remove tracing-subscriber dep from compiler 2020-12-20 10:20:13 -04:00