Commit Graph

136 Commits

Author SHA1 Message Date
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
howardwu
0d966d1d5c chore(leo): bump version for new release 2020-11-06 19:56:12 -08:00
collin
c9b7b0ccc6 Merge branch 'master' of github.com:AleoHQ/leo into feature/license-header 2020-10-21 12:18:54 -07:00
ljedrz
4591a0eb04 refactor: use &Path instead of (&)PathBuf in tests 2020-10-16 17:23:22 +02:00
ljedrz
d662b9a236 perf: use Cow to avoid some PathBuf allocations
Signed-off-by: ljedrz <ljedrz@gmail.com>
2020-10-16 16:51:58 +02:00
ljedrz
f59416be1b refactor: pass &Path instead of &PathBuf as arguments
Signed-off-by: ljedrz <ljedrz@gmail.com>
2020-10-16 16:18:46 +02:00
ljedrz
790f1c472a perf: don't allocate PathBufs for the purposes of PathBuf::push
Signed-off-by: ljedrz <ljedrz@gmail.com>
2020-10-16 15:52:45 +02:00
ljedrz
69d35063f2 perf: use .to_string() instead of single-param format!
Signed-off-by: ljedrz <ljedrz@gmail.com>
2020-10-16 15:52:45 +02:00
ljedrz
98baae93c1 clippy: assorted fixes to tests and benches
Signed-off-by: ljedrz <ljedrz@gmail.com>
2020-10-06 15:09:03 +02:00
ljedrz
300666827e fmt: run cargo +nightly fmt on the changes
Signed-off-by: ljedrz <ljedrz@gmail.com>
2020-10-06 13:07:30 +02:00
ljedrz
70b87d331f fix: replace deprecated functions
Signed-off-by: ljedrz <ljedrz@gmail.com>
2020-10-06 12:50:43 +02:00
ljedrz
a872db5ca6 clippy: fix useless_conversion
Signed-off-by: ljedrz <ljedrz@gmail.com>
2020-10-06 12:50:43 +02:00
ljedrz
a4891c6f00 clippy: fix len_zero
Signed-off-by: ljedrz <ljedrz@gmail.com>
2020-10-06 12:50:43 +02:00
ljedrz
7c15eabd5e clippy: fix or_fun_call
Signed-off-by: ljedrz <ljedrz@gmail.com>
2020-10-06 12:50:43 +02:00
ljedrz
ffef5089f7 clippy: fix new_without_default
Signed-off-by: ljedrz <ljedrz@gmail.com>
2020-10-06 12:50:43 +02:00
ljedrz
80bb3033fd clippy: fix single_char_pattern
Signed-off-by: ljedrz <ljedrz@gmail.com>
2020-10-06 12:50:43 +02:00
ljedrz
c21b5ad2f3 clippy: fix useless_format
Signed-off-by: ljedrz <ljedrz@gmail.com>
2020-10-06 12:12:35 +02:00
ljedrz
0cf7a247cc clippy: fix needless_return
Signed-off-by: ljedrz <ljedrz@gmail.com>
2020-10-05 17:16:44 +02:00
collin
692417a952 add license header check and missing licenses 2020-09-20 15:27:02 -07:00
raychu86
ec9daf62e6 Implement package tests 2020-09-13 21:53:09 -07:00
raychu86
a036dc8ac3 Fix manifest update logic 2020-09-13 18:49:45 -07:00
raychu86
beb4ed420f Refactor feature names 2020-09-13 18:23:17 -07:00
raychu86
5f5c887846 Separate the update_manifest feature into remote and package features 2020-09-13 18:12:19 -07:00
raychu86
515dc8204b Add feature flag for updating the manifest 2020-09-13 18:02:47 -07:00
raychu86
d36d6b64ba Update [package] to [project] in manifest file 2020-09-13 17:09:56 -07:00
collin
db3eeddbbb update default input file 2020-09-03 16:16:12 -07:00
howardwu
2620ae7bc2 chore(leo): bump version for new release 2020-09-03 03:08:33 -07:00
collin
340e633470 fix state file errors 2020-09-02 23:05:03 -07:00
collin
0bb8c42731 fix input file errors 2020-09-02 22:59:54 -07:00
Howard Wu
965e54ae38
Merge pull request #340 from AleoHQ/feature/leo-remove
Implement `leo remove`
2020-09-02 20:32:56 -07:00
Howard Wu
b0c088d978
Merge pull request #320 from AleoHQ/refactor/packages
Refactor file system operations into `leo-package`
2020-09-02 20:32:17 -07:00
raychu86
f7466f4264 Implement leo remove functionality 2020-09-02 19:23:34 -07:00
raychu86
1ab7c49e72 Implement remove imported package 2020-09-02 18:58:04 -07:00
collin
4b14d108b7 update default input file and examples 2020-09-02 12:01:35 -07:00
raychu86
db997ac90a Add check that package has been initialized correctly 2020-08-29 18:08:05 -07:00
raychu86
848660cc01 Separate can_initialize and is_initialized in Package 2020-08-29 18:04:51 -07:00
raychu86
10a03aefa0 Create tests for package initialization 2020-08-29 17:58:36 -07:00
raychu86
bcb78bce9c Create initial package test structure 2020-08-29 17:29:51 -07:00
raychu86
8d50a75854 Update error outputs for package initialization 2020-08-29 16:05:38 -07:00
raychu86
ac49c01c84 Implement is_initialized check for package 2020-08-29 15:01:02 -07:00
howardwu
0c82495ee6 Rename FILE_NAME -> FILENAME 2020-08-29 00:28:24 -07:00
howardwu
d3e7e610b8 Rename lib -> library 2020-08-29 00:27:00 -07:00
howardwu
d67b5109d4 Update initialize to verify first, then initialize package 2020-08-29 00:24:13 -07:00
howardwu
9884320dd6 Merge branch 'master' of https://github.com/AleoHQ/leo into refactor/packages 2020-08-28 23:55:49 -07:00
howardwu
bf82bf4d1b chore(leo): bump version for new release 2020-08-28 23:26:19 -07:00
raychu86
920214e5cf Genericize LeoPackage interface 2020-08-28 23:14:22 -07:00
raychu86
75ebf0cef5 Add PackageError 2020-08-28 22:54:36 -07:00
raychu86
ee308530f5 Update package declaration 2020-08-28 22:54:15 -07:00
raychu86
34fa444a06 Update package manifest use of remote 2020-08-28 22:38:31 -07:00
raychu86
d69343f14a Add impl to replace old remote format 2020-08-28 21:45:08 -07:00
raychu86
f5aba15d35 Update the remote convention in leo.toml 2020-08-28 20:15:08 -07:00
raychu86
d90df8ef16 Fix default license to MIT 2020-08-28 18:58:37 -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
55fdb24bfb add tracing spans to commands. fix clean command 2020-08-21 19:22:01 -07:00
collin
3f1b1e857c use tracing in package and leo cli 2020-08-21 16:06:48 -07:00
howardwu
4da4fc4344 Update cargo.toml 2020-08-21 02:54:04 -07:00
raychu86
7110b5b67b Restrict included package files 2020-08-20 00:22:23 -07:00
howardwu
0405ff4f89 Bump version and repair Leo update description 2020-08-19 03:00:30 -07:00
collin
c3a89764bf fix example naming and manifest files 2020-08-18 22:58:14 -07:00
raychu86
ae10a78eb5 Add license header 2020-08-18 03:50:26 -07:00
Howard Wu
5a33c34c5e
Merge pull request #250 from AleoHQ/feature/update-publish
Implement leo publish
2020-08-17 01:40:36 -07:00
raychu86
9428a6a41a Add README.md generation to leo init 2020-08-16 19:48:25 -07:00
collin
5efa131c65 impl test context with test inputs 2020-08-15 22:09:22 -07:00
collin
fcd8de4a9d impl input state file pairs 2020-08-15 20:40:56 -07:00
howardwu
cb26b6b798 Cleans up login command 2020-08-15 01:38:20 -07:00
Howard Wu
5d743f8d2c
Merge pull request #226 from AleoHQ/fix/state-file
update state template
2020-08-14 21:01:07 -07:00
Howard Wu
b84e910c0c
Merge pull request #196 from AleoHQ/feature/serialize-circuit
Feature/serialize circuit
2020-08-14 20:53:08 -07:00
Howard Wu
fac3c4df08
Merge pull request #195 from AleoHQ/fix/zip
Fix zip package
2020-08-14 20:49:49 -07:00
collin
42cc522d73 update state template 2020-08-13 11:13:35 -07:00
Sergey Isaev
cde9c0ef40 Add publish an package to the package manager 2020-08-12 02:33:32 +03:00
collin
a96eb5ad19 serialize circuit to json 2020-08-10 11:46:45 -07:00
Sergey Isaev
35a8fb11a7 Fix zip package 2020-08-10 19:03:34 +03:00
collin
22fcd9e007 add serialized circuit file 2020-08-08 18:19:55 -07:00
Sergey Isaev
4186a3a955 Remove unnecessary logical statement 2020-08-05 20:20:53 +03:00
collin
2757c44253 fix leo new and leo init to generate state files 2020-08-03 19:20:46 -07:00
collin
589988b76a rename input -> inputs 2020-08-03 12:50:02 -07:00
collin
1e56b3a5f6 fix all examples. change outputs -> output 2020-08-03 12:46:47 -07:00
howardwu
a5377da73f Fix gitignore 2020-08-03 12:21:25 -07:00
howardwu
3ab5de0b22 Add root directory to package 2020-08-02 23:10:02 -07:00
howardwu
1ac233b598 Add source directory in package 2020-08-02 23:05:03 -07:00
howardwu
0ab32c89e3 Moves imports in package 2020-08-02 22:59:10 -07:00
howardwu
b58ee7233a Update outputs directory 2020-08-02 22:51:48 -07:00
howardwu
cfb627d468 Migrate files to an inputs directory in package 2020-08-02 22:18:03 -07:00
howardwu
8b435130d2 Adds leo-package module 2020-08-02 21:52:55 -07:00