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
howardwu
1898cc6840
chore(leo): bump version for new release
2021-02-07 08:14:56 -08:00
howardwu
b7456ce976
chore(leo): bump version for new release
2021-02-07 08:07:28 -08:00
Collin Chin
2bb10c2e8b
Merge pull request #621 from AleoHQ/dependency/snarkvm-0.0.3
...
[Dependencies] Bump snarkvm module versions
2021-02-04 22:57:36 -08:00
howardwu
4d5ff0b962
Removes unnecessary, reorders cargo toml members
2021-02-04 19:25:12 -08:00
howardwu
b751e870e5
Adds initial wasm template
2021-02-04 19:23:58 -08:00
collin
c706ef65b8
bump snarkvm module versions
2021-02-04 13:00:30 -08: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
Protryon
ddfffd7c7b
asg base implementation
2021-01-25 07:19:38 -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]
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
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
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]
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
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
Howard Wu
8c9e8fdb3a
Merge pull request #503 from AleoHQ/dependabot/cargo/rand_core-0.6.0
...
Bump rand_core from 0.5.1 to 0.6.0
2020-12-15 11:29:00 -04:00
dependabot-preview[bot]
a700e7bda4
Bump rand_core from 0.5.1 to 0.6.0
...
Bumps [rand_core](https://github.com/rust-random/rand ) from 0.5.1 to 0.6.0.
- [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.5.1...rand_core-0.6.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-15 10:44:35 +00:00
dependabot-preview[bot]
9afdd17099
Bump reqwest from 0.10.9 to 0.10.10
...
Bumps [reqwest](https://github.com/seanmonstar/reqwest ) from 0.10.9 to 0.10.10.
- [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.9...v0.10.10 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-15 10:43:46 +00:00
howardwu
9038c5a17a
chore(leo): bump version for new release
2020-12-14 13:57:01 -04:00
howardwu
dbae691e49
chore(leo): bump version for new release
2020-12-03 16:16:42 -04:00
howardwu
74f7f24b19
chore(leo): bump version for new release
2020-12-01 22:57:11 -04:00
dependabot-preview[bot]
a5a311f3e2
Bump self_update from 0.20.0 to 0.22.0
...
Bumps [self_update](https://github.com/jaemk/self_update ) from 0.20.0 to 0.22.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>
2020-11-26 10:49:43 +00:00
dependabot-preview[bot]
c809c43ef0
Bump reqwest from 0.10.8 to 0.10.9
...
Bumps [reqwest](https://github.com/seanmonstar/reqwest ) from 0.10.8 to 0.10.9.
- [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.8...v0.10.9 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-20 12:51:20 +00:00
collin
69a8b61efe
add type-inference module
2020-11-12 10:28:24 -08:00
collin
667392237f
add symbol-table module
2020-11-11 14:57:39 -08:00
collin
d4b6a6d1f8
separate symbol-table module
2020-11-11 14:42:57 -08:00
collin
eb301d310b
separate type-inference module
2020-11-11 14:32:46 -08:00
collin
05a83950e5
bump versions fix conflicts
2020-11-11 12:04:48 -08:00
howardwu
0d966d1d5c
chore(leo): bump version for new release
2020-11-06 19:56:12 -08:00
collin
4da923eec4
rename core-packages -> core
2020-10-30 17:36:48 -07:00
collin
a8c5885836
rename core-ast -> ast
2020-10-30 17:31:09 -07:00
collin
ffcd93f781
rename ast -> grammar 1
2020-10-30 17:17:17 -07:00
collin
5a46cb5bb0
rename leo-core -> leo-core-packages
2020-10-30 13:02:44 -07:00
collin
7589fa65c5
rename dynamic-check -> type-inference 2
2020-10-30 12:49:01 -07:00
collin
7e7d1e58a0
rename typed -> core-ast 2
2020-10-30 11:48:40 -07:00
collin
7cf41558bc
rename static-check -> symbol-table 3
2020-10-30 10:51:45 -07:00
collin
fe79cfcf71
merge master
2020-10-26 22:05:03 -07:00
Collin Chin
36c6c976f2
Merge pull request #398 from AleoHQ/dependabot/cargo/env_logger-0.8.1
...
Bump env_logger from 0.7.1 to 0.8.1
2020-10-22 00:01:57 -07:00
dependabot-preview[bot]
2afa4d5188
Bump env_logger from 0.7.1 to 0.8.1
...
Bumps [env_logger](https://github.com/env-logger-rs/env_logger ) from 0.7.1 to 0.8.1.
- [Release notes](https://github.com/env-logger-rs/env_logger/releases )
- [Changelog](https://github.com/env-logger-rs/env_logger/blob/master/CHANGELOG.md )
- [Commits](https://github.com/env-logger-rs/env_logger/compare/v0.7.1...v0.8.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-19 10:27:48 +00:00
dependabot-preview[bot]
56f6edd2c2
Bump console from 0.12.0 to 0.13.0
...
Bumps [console](https://github.com/mitsuhiko/console ) from 0.12.0 to 0.13.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/v0.12.0...v0.13.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-19 10:27:23 +00:00
collin
d29d01f4ff
move types into new static-check module
2020-10-12 12:32:29 -07:00
collin
a5975eb5fd
move types into separate module
2020-10-09 16:25:04 -07:00
collin
effdfc7628
add leo dynamic check module
2020-10-06 17:20:51 -07:00
collin
d5a9cefe7c
impl symbol table for pass 1 + pass 2 type resolution
2020-10-01 20:17:47 -07:00
collin
15dd915228
Merge branch 'master' of github.com:AleoHQ/leo into feature/import-parser
2020-09-30 16:18:49 -07:00
Collin Chin
09a33d9666
Merge pull request #361 from AleoHQ/dependabot/cargo/self_update-0.20.0
...
Bump self_update from 0.19.0 to 0.20.0
2020-09-30 00:59:56 -07:00
collin
22422c1b55
create separate module for imports
2020-09-18 12:04:10 -07:00
dependabot-preview[bot]
44216ba732
Bump self_update from 0.19.0 to 0.20.0
...
Bumps [self_update](https://github.com/jaemk/self_update ) from 0.19.0 to 0.20.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>
2020-09-14 10:28:09 +00:00
collin
32cf945c61
core package imports wip
2020-09-12 23:10:01 -07:00
howardwu
2620ae7bc2
chore(leo): bump version for new release
2020-09-03 03:08:33 -07:00
howardwu
bf82bf4d1b
chore(leo): bump version for new release
2020-08-28 23:26:19 -07:00
howardwu
12971b9cbb
Update Cargo.toml
2020-08-27 01:33:00 -07:00
howardwu
cc183475ee
Update logging with custom formatter
2020-08-27 00:55:29 -07:00
collin
3f1b1e857c
use tracing in package and leo cli
2020-08-21 16:06:48 -07:00
collin
da843e452e
use tracing for build command
2020-08-21 15:49:51 -07:00
howardwu
c07958e292
Clean up Cargo.toml
2020-08-21 05:09:48 -07:00
howardwu
7461d560f2
Use leo-lang
2020-08-21 04:41:13 -07:00
howardwu
6436b6c736
Update Cargo.toml
2020-08-21 04:33:01 -07:00
howardwu
7749dbf653
Cargo.toml
2020-08-21 04:31:34 -07:00
howardwu
375019673b
Update .cargo/config
2020-08-21 04:20:13 -07:00
howardwu
4209f9a159
Cargo.toml
2020-08-21 04:17:20 -07:00
howardwu
a3c269e111
Update Cargo.toml
2020-08-21 04:06:52 -07:00
howardwu
b6238470cc
Update Cargo.toml
2020-08-21 03:07:15 -07:00
howardwu
95c3000a9f
Merge branch 'master' of https://github.com/AleoHQ/leo
2020-08-21 02:54:11 -07:00
howardwu
4da4fc4344
Update cargo.toml
2020-08-21 02:54:04 -07:00
raychu86
45eb0b5e38
implement binary auto update
2020-08-21 01:49:34 -07:00
howardwu
0405ff4f89
Bump version and repair Leo update description
2020-08-19 03:00:30 -07:00
Sergey Isaev
a5625d7c26
Add dependencies
2020-08-18 15:43:37 +03:00
Howard Wu
2c24c51b42
Merge branch 'master' into feature/leo-cli
2020-08-17 01:26:10 -07:00
raychu86
15d9b97067
Merge master
2020-08-16 17:48:53 -07:00
raychu86
6b8f3d23fa
Add leo add impl with correct imports folder
2020-08-16 17:36:31 -07:00
raychu86
6660c57faf
Add credential storing to *home_dir*/.leo/credentials
2020-08-15 18:54:46 -07:00
collin
e1f4fe1846
pull master
2020-08-15 02:28:34 -07:00
Howard Wu
b19fceef06
Merge pull request #230 from AleoHQ/dependabot/cargo/clap-2.33.3
...
Bump clap from 2.33.2 to 2.33.3
2020-08-14 21:01:33 -07:00
dependabot-preview[bot]
0fe6aad6f1
Bump clap from 2.33.2 to 2.33.3
...
Bumps [clap](https://github.com/clap-rs/clap ) from 2.33.2 to 2.33.3.
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/v2.33.3/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/v2.33.2...v2.33.3 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-14 10:38:53 +00:00
collin
32c92d710d
fix conflicts
2020-08-13 01:38:56 -07:00
collin
3018262304
update cargo lock
2020-08-12 19:56:14 -07:00
Collin Chin
df2f1ff6a6
Merge branch 'master' into feature/local-data-commitment
2020-08-12 19:36:32 -07:00
dependabot-preview[bot]
c9d382dbeb
Bump clap from 2.33.1 to 2.33.2
...
Bumps [clap](https://github.com/clap-rs/clap ) from 2.33.1 to 2.33.2.
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-12 23:17:35 +00:00
Sergey Isaev
3e01f0c5a6
Implement the watch command
2020-08-12 15:44:56 +03:00
collin
89d76688d7
add leo-state module
2020-08-11 23:51:56 -07:00
Collin Chin
8546c67dff
Merge branch 'master' into feature/serialize-circuit
2020-08-11 11:36:03 -07:00
collin
a96eb5ad19
serialize circuit to json
2020-08-10 11:46:45 -07:00
Sergey Isaev
5f059eae4b
Add dependencies
2020-08-08 21:12:52 +03:00
howardwu
8b435130d2
Adds leo-package module
2020-08-02 21:52:55 -07:00
howardwu
f4f9b30dd2
Rename directory types -> typed
2020-08-02 21:02:25 -07:00
howardwu
c8b82f12a8
Rename directory leo-input -> input
2020-08-02 21:00:23 -07:00
howardwu
3ccfd2c764
Adds ci_skip
2020-08-02 19:57:28 -07:00
howardwu
5375d97b40
Resolve merge conflict
2020-08-02 18:51:44 -07:00
howardwu
77f443b672
Add linter stub
2020-08-02 18:06:21 -07:00
howardwu
2caa34be67
Revert to leo-types
2020-08-02 16:59:56 -07:00
collin
e22e962588
rename leo-inputs -> leo-input
2020-07-31 18:49:01 -07:00
howardwu
0d5a15cd41
Merge branch 'master' of https://github.com/AleoHQ/leo into feature/typed_ast
2020-07-30 23:51:40 -07:00
howardwu
af37c3bc9e
Rename leo-types to leo-typed
2020-07-30 23:33:16 -07:00
howardwu
61d92ecc91
Remove revision peg for snarkOS dependency, change Leo to groth16, update to proper calling convention for snarks
2020-07-30 19:09:27 -07:00
collin
929ea95fe2
Merge branch 'master' of github.com:AleoHQ/leo into feature/signed-integer-syntax
2020-07-16 20:37:41 -07:00
dependabot-preview[bot]
818ad03317
Bump colored from 1.9.3 to 2.0.0
...
Bumps [colored](https://github.com/mackwic/colored ) from 1.9.3 to 2.0.0.
- [Release notes](https://github.com/mackwic/colored/releases )
- [Changelog](https://github.com/mackwic/colored/blob/master/CHANGELOG.md )
- [Commits](https://github.com/mackwic/colored/compare/v1.9.3...v2.0.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-14 10:39:50 +00:00
collin
b032c2ce45
add signed-integers gadget member to workspace
2020-07-09 22:39:11 -07:00
dependabot-preview[bot]
18b965583a
Bump rusty-hook from 0.11.1 to 0.11.2
...
Bumps [rusty-hook](https://github.com/swellaby/rusty-hook ) from 0.11.1 to 0.11.2.
- [Release notes](https://github.com/swellaby/rusty-hook/releases )
- [Commits](https://github.com/swellaby/rusty-hook/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-29 20:12:50 +00:00
collin
4e4e21a53e
merge master
2020-06-29 12:46:38 -07:00
Howard Wu
b4cfa64167
Adds ci.yml ( #77 )
...
* Adds ci.yml
* Update ci script
* Update Cargo.toml
* Update to ubuntu-latest
* Update dependencies
* Update git deps with rev
* Update ci script
* Update ci script
* Update ci script
* Update code coverage
* Update code coverage
* Update CI
* Update CI
* Update CI
* Update CI
* Update CI
* Update CI
* Update CI
* Update CI
* Update CI
* Update CI
* Update CI
* Update CI
* Update CI
* Update CI script
* Update CI script
2020-06-27 20:16:38 -07:00
collin
6662b6261f
impl leo publish to zip file
2020-06-26 00:19:40 -07:00
howardwu
7a8aaf8166
Improves compilation time by turning off unused features in snarkOS
2020-06-15 21:27:25 -07:00
collin
643cd3026e
initial private boolean input support
2020-06-09 16:36:15 -07:00
collin
eeb438ed19
Merge branch 'master' of https://github.com/AleoHQ/language into feature/leo-inputs
2020-06-09 12:14:43 -07:00
collin
e10a1e1be0
merge master
2020-06-08 10:49:31 -07:00
howardwu
79bea057b3
Remove unused dependencies, add profiles
2020-06-07 23:01:57 -07:00
howardwu
653f0de69f
Update dependencies
2020-06-07 22:43:53 -07:00
howardwu
b9baafd57f
Migrates integer, identifier, and input_value
2020-06-07 18:22:59 -07:00
howardwu
a72a333877
Migrates ast to leo-ast module
2020-06-06 23:17:40 -07:00
collin
3e21184631
use snarkos master
2020-06-04 22:53:52 -07:00
collin
01cc8e3066
delete benchmark
2020-06-01 17:54:39 -07:00
collin
abb50628a0
deprecate crate failure in favor of thiserror
2020-05-09 15:34:54 -07:00
collin
6919f62d44
impl leo-inputs
2020-05-06 12:57:24 -07:00
howardwu
853faf54f6
Adds verification key output support
2020-05-02 17:38:14 -07:00
howardwu
026b59a67a
Rename program to compiler
2020-04-26 22:34:15 -07:00
howardwu
18768bbec7
Adds command
2020-04-25 01:47:10 -07:00
howardwu
8c5be763ff
Compiler wip
2020-04-23 23:57:05 -07:00
howardwu
0a49dd1ec3
Adds compiler module
2020-04-23 18:52:43 -07:00
howardwu
1ec03fdb09
Migrate to workspace
2020-04-23 18:33:43 -07:00
howardwu
51c52c8676
Updates
2020-04-20 22:12:09 -07:00
howardwu
a42d9eeb10
Updates Cargo.toml
2020-04-20 21:34:15 -07:00
collin
c4f233e142
add constraints and snark functions
2020-03-31 13:47:51 -07:00
collin
c798635e29
basic program compilation from ast
2020-03-23 15:19:47 -07:00
howardwu
a143322f53
Working parser
2020-03-13 10:02:39 -07:00
howardwu
078db23fa6
AST WIP
2020-03-11 14:56:54 -07:00
howardwu
bc4c60712b
Initial commit
2020-03-09 20:55:41 -07:00