diff --git a/.resources/license_header b/.resources/license_header
new file mode 100644
index 0000000000..6de9f3a6f4
--- /dev/null
+++ b/.resources/license_header
@@ -0,0 +1,15 @@
+// Copyright (C) 2019-2020 Aleo Systems Inc.
+// This file is part of the Leo library.
+
+// The Leo library is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// The Leo library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with the Leo library. If not, see .
\ No newline at end of file
diff --git a/.rustfmt.toml b/.rustfmt.toml
index 18930656a9..e86fa4f991 100644
--- a/.rustfmt.toml
+++ b/.rustfmt.toml
@@ -9,6 +9,7 @@ use_try_shorthand = true
# Nightly configurations
imports_layout = "HorizontalVertical"
+license_template_path = ".resources/license_header"
merge_imports = true
overflow_delimited_expr = true
reorder_impl_items = true
diff --git a/Cargo.lock b/Cargo.lock
index 252f2c788a..5189b77b29 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -2,9 +2,9 @@
# It is not intended for manual editing.
[[package]]
name = "addr2line"
-version = "0.13.0"
+version = "0.14.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1b6a2d3371669ab3ca9797670853d61402b03d0b4b9ebf33d677dfa720203072"
+checksum = "7c0929d69e78dd9bf5408269919fcbcaeb2e35e5d43e5815517cdc6a8e11a423"
dependencies = [
"gimli",
]
@@ -23,9 +23,9 @@ checksum = "aae1277d39aeec15cb388266ecc24b11c80469deae6067e17a1a7aa9e5c1f234"
[[package]]
name = "aho-corasick"
-version = "0.7.13"
+version = "0.7.15"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "043164d8ba5c4c3035fec9bbee8647c0261d788f3474306f93bb65901cae0e86"
+checksum = "7404febffaa47dac81aa44dba71523c9d069b1bdc50a77db41195149e17f68e5"
dependencies = [
"memchr",
]
@@ -56,9 +56,9 @@ checksum = "a4c527152e37cf757a3f78aae5a06fbeefdb07ccc535c980a3208ee3060dd544"
[[package]]
name = "arrayvec"
-version = "0.5.1"
+version = "0.5.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cff77d8686867eceff3105329d4698d96c2391c176d5d03adc90c7389162b5b8"
+checksum = "23b62fc65de8e4e7f52534fb52b0f3ed04746ae267519eef2a83941e8085068b"
[[package]]
name = "atty"
@@ -79,14 +79,14 @@ checksum = "cdb031dd78e28731d87d56cc8ffef4a8f36ca26c38fe2de700543e627f8a464a"
[[package]]
name = "backtrace"
-version = "0.3.50"
+version = "0.3.54"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "46254cf2fdcdf1badb5934448c1bcbe046a56537b3987d96c51a7afc5d03f293"
+checksum = "2baad346b2d4e94a24347adeee9c7a93f412ee94b9cc26e5b59dea23848e9f28"
dependencies = [
"addr2line",
- "cfg-if",
+ "cfg-if 1.0.0",
"libc",
- "miniz_oxide 0.4.1",
+ "miniz_oxide 0.4.3",
"object",
"rustc-demangle",
]
@@ -137,7 +137,7 @@ checksum = "66c0bb6167449588ff70803f4127f0684f9063097eca5016f37eb52b92c2cf36"
dependencies = [
"bitflags",
"cexpr",
- "cfg-if",
+ "cfg-if 0.1.10",
"clang-sys",
"clap",
"env_logger 0.7.1",
@@ -145,7 +145,7 @@ dependencies = [
"lazycell",
"log",
"peeking_take_while",
- "proc-macro2 1.0.19",
+ "proc-macro2 1.0.24",
"quote 1.0.7",
"regex",
"rustc-hash",
@@ -173,9 +173,9 @@ dependencies = [
[[package]]
name = "blake2b_simd"
-version = "0.5.10"
+version = "0.5.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d8fb2d74254a3a0b5cac33ac9f8ed0e44aa50378d9dbb2e5d83bd21ed1dc2c8a"
+checksum = "afa748e348ad3be8263be728124b24a24f268266f6f5d58af9d75f6a40b5c587"
dependencies = [
"arrayref",
"arrayvec",
@@ -214,9 +214,9 @@ dependencies = [
[[package]]
name = "bstr"
-version = "0.2.13"
+version = "0.2.14"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "31accafdb70df7871592c058eca3985b71104e15ac32f64706022c58867da931"
+checksum = "473fc6b38233f9af7baa94fb5852dca389e3d95b8e21c8e3719301462c5d9faf"
dependencies = [
"lazy_static",
"memchr",
@@ -290,9 +290,9 @@ dependencies = [
[[package]]
name = "cc"
-version = "1.0.59"
+version = "1.0.62"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "66120af515773fb005778dc07c261bd201ec8ce50bd6e7144c927753fe013381"
+checksum = "f1770ced377336a88a67c473594ccc14eca6f4559217c34f64aac8f83d641b40"
dependencies = [
"jobserver",
]
@@ -313,15 +313,23 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822"
[[package]]
-name = "chrono"
-version = "0.4.15"
+name = "cfg-if"
+version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "942f72db697d8767c22d46a598e01f2d3b475501ea43d0db4f16d90259182d0b"
+checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
+
+[[package]]
+name = "chrono"
+version = "0.4.19"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "670ad68c9088c2a963aaa298cb369688cf3f9465ce5e2d4ca10e6e0098a1ce73"
dependencies = [
+ "libc",
"num-integer",
"num-traits",
"serde",
"time",
+ "winapi 0.3.9",
]
[[package]]
@@ -395,6 +403,12 @@ dependencies = [
"winapi-util",
]
+[[package]]
+name = "const_fn"
+version = "0.4.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c478836e029dcef17fb47c89023448c64f781a046e0300e257ad8225ae59afab"
+
[[package]]
name = "constant_time_eq"
version = "0.1.5"
@@ -403,9 +417,9 @@ checksum = "245097e9a4535ee1e3e3931fcfcd55a796a44c643e8596ff6566d68f09b87bbc"
[[package]]
name = "core-foundation"
-version = "0.7.0"
+version = "0.9.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "57d24c7a13c43e870e37c1556b74555437870a04514f7685f5b354e090567171"
+checksum = "0a89e2ae426ea83155dccf10c0fa6b1463ef6d5fcb44cee0b224a408fa640a62"
dependencies = [
"core-foundation-sys",
"libc",
@@ -413,9 +427,9 @@ dependencies = [
[[package]]
name = "core-foundation-sys"
-version = "0.7.0"
+version = "0.8.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b3a71ab494c0b5b860bdc8407ae08978052417070c2ced38573a9157ad75b8ac"
+checksum = "ea221b5284a47e40033bf9b66f35f984ec0ea2931eb03505246cd27a963f981b"
[[package]]
name = "cpuid-bool"
@@ -425,11 +439,11 @@ checksum = "8aebca1129a03dc6dc2b127edd729435bbc4a37e1d5f4d7513165089ceb02634"
[[package]]
name = "crc32fast"
-version = "1.2.0"
+version = "1.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ba125de2af0df55319f41944744ad91c71113bf74a4646efff39afe1f6842db1"
+checksum = "81156fece84ab6a9f2afdb109ce3ae577e42b1228441eded99bd77f627953b1a"
dependencies = [
- "cfg-if",
+ "cfg-if 1.0.0",
]
[[package]]
@@ -470,36 +484,35 @@ dependencies = [
[[package]]
name = "crossbeam-channel"
-version = "0.4.3"
+version = "0.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "09ee0cc8804d5393478d743b035099520087a5186f3b93fa58cec08fa62407b6"
+checksum = "dca26ee1f8d361640700bde38b2c37d8c22b3ce2d360e1fc1c74ea4b0aa7d775"
dependencies = [
- "cfg-if",
- "crossbeam-utils",
+ "cfg-if 1.0.0",
+ "crossbeam-utils 0.8.0",
]
[[package]]
name = "crossbeam-deque"
-version = "0.7.3"
+version = "0.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9f02af974daeee82218205558e51ec8768b48cf524bd01d550abe5573a608285"
+checksum = "94af6efb46fef72616855b036a624cf27ba656ffc9be1b9a3c931cfc7749a9a9"
dependencies = [
+ "cfg-if 1.0.0",
"crossbeam-epoch",
- "crossbeam-utils",
- "maybe-uninit",
+ "crossbeam-utils 0.8.0",
]
[[package]]
name = "crossbeam-epoch"
-version = "0.8.2"
+version = "0.9.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "058ed274caafc1f60c4997b5fc07bf7dc7cca454af7c6e81edffe5f33f70dace"
+checksum = "ec0f606a85340376eef0d6d8fec399e6d4a544d648386c6645eb6d0653b27d9f"
dependencies = [
- "autocfg",
- "cfg-if",
- "crossbeam-utils",
+ "cfg-if 1.0.0",
+ "const_fn",
+ "crossbeam-utils 0.8.0",
"lazy_static",
- "maybe-uninit",
"memoffset",
"scopeguard",
]
@@ -511,7 +524,19 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c3c7c73a2d1e9fc0886a08b93e98eb643461230d5f1925e4036204d5f2e261a8"
dependencies = [
"autocfg",
- "cfg-if",
+ "cfg-if 0.1.10",
+ "lazy_static",
+]
+
+[[package]]
+name = "crossbeam-utils"
+version = "0.8.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ec91540d98355f690a86367e566ecad2e9e579f230230eb7c21398372be73ea5"
+dependencies = [
+ "autocfg",
+ "cfg-if 1.0.0",
+ "const_fn",
"lazy_static",
]
@@ -527,9 +552,9 @@ dependencies = [
[[package]]
name = "csv"
-version = "1.1.3"
+version = "1.1.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "00affe7f6ab566df61b4be3ce8cf16bc2576bca0963ceb0955e45d514bf9a279"
+checksum = "fc4666154fd004af3fd6f1da2e81a96fd5a81927fe8ddb6ecc79e2aa6e138b54"
dependencies = [
"bstr",
"csv-core",
@@ -549,9 +574,9 @@ dependencies = [
[[package]]
name = "curl"
-version = "0.4.33"
+version = "0.4.34"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "78baca05127a115136a9898e266988fc49ca7ea2c839f60fc6e1fc9df1599168"
+checksum = "e268162af1a5fe89917ae25ba3b0a77c8da752bdc58e7dbb4f15b91fbd33756e"
dependencies = [
"curl-sys",
"libc",
@@ -564,9 +589,9 @@ dependencies = [
[[package]]
name = "curl-sys"
-version = "0.4.36+curl-7.71.1"
+version = "0.4.38+curl-7.73.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "68cad94adeb0c16558429c3c34a607acc9ea58e09a7b66310aabc9788fc5d721"
+checksum = "498ecfb4f59997fd40023d62a9f1e506e768b2baeb59a1d311eb9751cdcd7e3f"
dependencies = [
"cc",
"libc",
@@ -583,9 +608,9 @@ version = "2.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cb582b60359da160a9477ee80f15c8d784c477e69c217ef2cdd4169c24ea380f"
dependencies = [
- "proc-macro2 1.0.19",
+ "proc-macro2 1.0.24",
"quote 1.0.7",
- "syn 1.0.39",
+ "syn 1.0.48",
]
[[package]]
@@ -640,9 +665,9 @@ checksum = "134951f4028bdadb9b84baf4232681efbf277da25144b9b0ad65df75946c422b"
[[package]]
name = "either"
-version = "1.6.0"
+version = "1.6.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cd56b59865bce947ac5958779cfa508f6c3b9497cc762b7e24a12d11ccde2c4f"
+checksum = "e78d4f1cc4ae33bbfc157ed5d5a5ef3bc29227303d595861deb238fcec4e9457"
[[package]]
name = "encode_unicode"
@@ -652,11 +677,11 @@ checksum = "a357d28ed41a50f9c765dbfe56cbc04a64e53e5fc58ba79fbc34c10ef3df831f"
[[package]]
name = "encoding_rs"
-version = "0.8.24"
+version = "0.8.26"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a51b8cf747471cb9499b6d59e59b0444f4c90eba8968c4e44874e92b5b64ace2"
+checksum = "801bbab217d7f79c0062f4f7205b5d4427c6d1a7bd7aafdd1475f7c59d62b283"
dependencies = [
- "cfg-if",
+ "cfg-if 1.0.0",
]
[[package]]
@@ -711,9 +736,9 @@ version = "0.1.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "aa4da3c766cd7a0db8242e326e9e4e081edd567072893ed320008189715366a4"
dependencies = [
- "proc-macro2 1.0.19",
+ "proc-macro2 1.0.24",
"quote 1.0.7",
- "syn 1.0.39",
+ "syn 1.0.48",
"synstructure",
]
@@ -725,11 +750,11 @@ checksum = "e88a8acf291dafb59c2d96e8f59828f3838bb1a70398823ade51a84de6a6deed"
[[package]]
name = "filetime"
-version = "0.2.12"
+version = "0.2.13"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3ed85775dcc68644b5c950ac06a2b23768d3bc9390464151aaf27136998dcf9e"
+checksum = "0c122a393ea57648015bf06fbd3d372378992e86b9ff5a7a497b076a28c79efe"
dependencies = [
- "cfg-if",
+ "cfg-if 1.0.0",
"libc",
"redox_syscall",
"winapi 0.3.9",
@@ -741,7 +766,7 @@ version = "1.0.14"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2cfff41391129e0a856d6d822600b8d71179d46879e310417eb9c762eb178b42"
dependencies = [
- "cfg-if",
+ "cfg-if 0.1.10",
"crc32fast",
"libc",
"miniz_oxide 0.3.7",
@@ -768,6 +793,16 @@ version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b"
+[[package]]
+name = "form_urlencoded"
+version = "1.0.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ece68d15c92e84fa4f19d3780f1294e5ca82a78a6d515f1efaabcc144688be00"
+dependencies = [
+ "matches",
+ "percent-encoding 2.1.0",
+]
+
[[package]]
name = "from-pest"
version = "0.3.1"
@@ -821,61 +856,74 @@ checksum = "3dcaa9ae7725d12cdb85b3ad99a434db70b468c09ded17e012d86b5c1010f7a7"
[[package]]
name = "futures"
-version = "0.1.29"
+version = "0.1.30"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1b980f2816d6ee8673b6517b52cb0e808a180efc92e5c19d02cdda79066703ef"
+checksum = "4c7e4c2612746b0df8fed4ce0c69156021b704c9aefa360311c04e6e9e002eed"
[[package]]
name = "futures-channel"
-version = "0.3.5"
+version = "0.3.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f366ad74c28cca6ba456d95e6422883cfb4b252a83bed929c83abfdbbf2967d5"
+checksum = "4b7109687aa4e177ef6fe84553af6280ef2778bdb7783ba44c9dc3399110fe64"
dependencies = [
"futures-core",
]
[[package]]
name = "futures-core"
-version = "0.3.5"
+version = "0.3.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "59f5fff90fd5d971f936ad674802482ba441b6f09ba5e15fd8b39145582ca399"
+checksum = "847ce131b72ffb13b6109a221da9ad97a64cbe48feb1028356b836b47b8f1748"
[[package]]
name = "futures-io"
-version = "0.3.5"
+version = "0.3.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "de27142b013a8e869c14957e6d2edeef89e97c289e69d042ee3a49acd8b51789"
+checksum = "611834ce18aaa1bd13c4b374f5d653e1027cf99b6b502584ff8c9a64413b30bb"
[[package]]
name = "futures-sink"
-version = "0.3.5"
+version = "0.3.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3f2032893cb734c7a05d85ce0cc8b8c4075278e93b24b66f9de99d6eb0fa8acc"
+checksum = "f878195a49cee50e006b02b93cf7e0a95a38ac7b776b4c4d9cc1207cd20fcb3d"
[[package]]
name = "futures-task"
-version = "0.3.5"
+version = "0.3.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bdb66b5f09e22019b1ab0830f7785bcea8e7a42148683f99214f73f8ec21a626"
+checksum = "7c554eb5bf48b2426c4771ab68c6b14468b6e76cc90996f528c3338d761a4d0d"
dependencies = [
"once_cell",
]
[[package]]
name = "futures-util"
-version = "0.3.5"
+version = "0.3.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8764574ff08b701a084482c3c7031349104b07ac897393010494beaa18ce32c6"
+checksum = "d304cff4a7b99cfb7986f7d43fbe93d175e72e704a8860787cc95e9ffd85cbd2"
dependencies = [
"futures-core",
"futures-io",
"futures-task",
"memchr",
- "pin-project",
+ "pin-project 1.0.1",
"pin-utils",
"slab",
]
+[[package]]
+name = "generator"
+version = "0.6.23"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8cdc09201b2e8ca1b19290cf7e65de2246b8e91fb6874279722189c4de7b94dc"
+dependencies = [
+ "cc",
+ "libc",
+ "log",
+ "rustc_version",
+ "winapi 0.3.9",
+]
+
[[package]]
name = "generic-array"
version = "0.12.3"
@@ -906,20 +954,20 @@ dependencies = [
[[package]]
name = "getrandom"
-version = "0.1.14"
+version = "0.1.15"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7abc8dd8451921606d809ba32e95b6111925cd2906060d2dcc29c070220503eb"
+checksum = "fc587bc0ec293155d5bfa6b9891ec18a1e330c234f896ea47fbada4cadbe47e6"
dependencies = [
- "cfg-if",
+ "cfg-if 0.1.10",
"libc",
"wasi 0.9.0+wasi-snapshot-preview1",
]
[[package]]
name = "gimli"
-version = "0.22.0"
+version = "0.23.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "aaf91faf136cb47367fa430cd46e37a788775e7fa104f8b4bcb3861dc389b724"
+checksum = "f6503fe142514ca4799d4c26297c4248239fe8838d827db6bd6065c6ed29a6ce"
[[package]]
name = "glob"
@@ -929,9 +977,9 @@ checksum = "9b919933a397b79c37e33b77bb2aa3dc8eb6e165ad809e58ff75bc7db2e34574"
[[package]]
name = "h2"
-version = "0.2.6"
+version = "0.2.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "993f9e0baeed60001cf565546b0d3dbe6a6ad23f2bd31644a133c641eccf6d53"
+checksum = "5e4728fd124914ad25e99e3d15a9361a879f6620f63cb56bbb08f95abb97a535"
dependencies = [
"bytes 0.5.6",
"fnv",
@@ -944,6 +992,7 @@ dependencies = [
"tokio",
"tokio-util",
"tracing",
+ "tracing-futures",
]
[[package]]
@@ -954,18 +1003,15 @@ checksum = "d36fab90f82edc3c747f9d438e06cf0a491055896f2a279638bb5beed6c40177"
[[package]]
name = "hashbrown"
-version = "0.8.2"
+version = "0.9.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e91b62f79061a0bc2e046024cb7ba44b08419ed238ecbd9adbd787434b9e8c25"
-dependencies = [
- "autocfg",
-]
+checksum = "d7afe4a420e3fe79967a00898cc1f4db7c8a49a9333a29f8a4bd76a253d5cd04"
[[package]]
name = "hermit-abi"
-version = "0.1.15"
+version = "0.1.17"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3deed196b6e7f9e44a2ae8d94225d80302d81208b1bb673fd21fe634645c85a9"
+checksum = "5aca5565f760fb5b220e499d72710ed156fdb74e631659e99377d9ebfbd13ae8"
dependencies = [
"libc",
]
@@ -1003,6 +1049,12 @@ version = "1.3.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cd179ae861f0c2e53da70d892f5f3029f9594be0c41dc5269cd371691b1dc2f9"
+[[package]]
+name = "httpdate"
+version = "0.3.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "494b4d60369511e7dea41cf646832512a94e542f68bb9c49e54518e0f468eb47"
+
[[package]]
name = "humantime"
version = "1.3.0"
@@ -1020,9 +1072,9 @@ checksum = "3c1ad908cc71012b7bea4d0c53ba96a8cba9962f048fa68d143376143d863b7a"
[[package]]
name = "hyper"
-version = "0.13.7"
+version = "0.13.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3e68a8dd9716185d9e64ea473ea6ef63529252e3e27623295a0378a19665d5eb"
+checksum = "f6ad767baac13b44d4529fcf58ba2cd0995e36e7b435bc5b039de6f47e880dbf"
dependencies = [
"bytes 0.5.6",
"futures-channel",
@@ -1032,10 +1084,10 @@ dependencies = [
"http",
"http-body",
"httparse",
+ "httpdate",
"itoa",
- "pin-project",
+ "pin-project 1.0.1",
"socket2",
- "time",
"tokio",
"tower-service",
"tracing",
@@ -1085,9 +1137,9 @@ dependencies = [
[[package]]
name = "indexmap"
-version = "1.5.1"
+version = "1.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "86b45e59b16c76b11bf9738fd5d38879d3bd28ad292d7b313608becb17ae2df9"
+checksum = "55e2e4c765aa53a0424761bf9f41aa7a6ac1efa87238f59560640e27fca028f2"
dependencies = [
"autocfg",
"hashbrown",
@@ -1118,18 +1170,21 @@ dependencies = [
[[package]]
name = "inotify-sys"
-version = "0.1.3"
+version = "0.1.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e74a1aa87c59aeff6ef2cc2fa62d41bc43f54952f55652656b18a02fd5e356c0"
+checksum = "c4563555856585ab3180a5bf0b2f9f8d301a728462afffc8195b3f5394229c55"
dependencies = [
"libc",
]
[[package]]
name = "instant"
-version = "0.1.6"
+version = "0.1.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5b141fdc7836c525d4d594027d318c84161ca17aaf8113ab1f81ab93ae897485"
+checksum = "cb1fc4429a33e1f80d41dc9fea4d108a88bec1de8053878898ae448a0b52f613"
+dependencies = [
+ "cfg-if 1.0.0",
+]
[[package]]
name = "iovec"
@@ -1181,9 +1236,9 @@ dependencies = [
[[package]]
name = "js-sys"
-version = "0.3.44"
+version = "0.3.45"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "85a7e2c92a4804dd459b86c339278d0fe87cf93757fae222c3fa3ae75458bc73"
+checksum = "ca059e81d9486668f12d455a4ea6daa600bd408134cd17e3d3fb5a32d1f016f8"
dependencies = [
"wasm-bindgen",
]
@@ -1231,7 +1286,7 @@ checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55"
[[package]]
name = "leo-ast"
-version = "1.0.3"
+version = "1.0.4"
dependencies = [
"criterion",
"leo-grammar",
@@ -1245,7 +1300,7 @@ dependencies = [
[[package]]
name = "leo-compiler"
-version = "1.0.3"
+version = "1.0.4"
dependencies = [
"bincode",
"hex",
@@ -1280,7 +1335,7 @@ dependencies = [
[[package]]
name = "leo-core"
-version = "1.0.3"
+version = "1.0.4"
dependencies = [
"leo-ast",
"leo-gadgets",
@@ -1296,7 +1351,7 @@ dependencies = [
[[package]]
name = "leo-gadgets"
-version = "1.0.3"
+version = "1.0.4"
dependencies = [
"criterion",
"rand",
@@ -1309,7 +1364,7 @@ dependencies = [
[[package]]
name = "leo-grammar"
-version = "1.0.3"
+version = "1.0.4"
dependencies = [
"criterion",
"from-pest",
@@ -1325,7 +1380,7 @@ dependencies = [
[[package]]
name = "leo-imports"
-version = "1.0.3"
+version = "1.0.4"
dependencies = [
"leo-ast",
"leo-grammar",
@@ -1335,7 +1390,7 @@ dependencies = [
[[package]]
name = "leo-input"
-version = "1.0.3"
+version = "1.0.4"
dependencies = [
"from-pest",
"pest",
@@ -1352,7 +1407,7 @@ dependencies = [
[[package]]
name = "leo-lang"
-version = "1.0.3"
+version = "1.0.4"
dependencies = [
"clap",
"colored",
@@ -1394,11 +1449,11 @@ dependencies = [
[[package]]
name = "leo-linter"
-version = "1.0.3"
+version = "1.0.4"
[[package]]
name = "leo-package"
-version = "1.0.3"
+version = "1.0.4"
dependencies = [
"lazy_static",
"serde",
@@ -1412,7 +1467,7 @@ dependencies = [
[[package]]
name = "leo-state"
-version = "1.0.3"
+version = "1.0.4"
dependencies = [
"leo-ast",
"leo-input",
@@ -1431,7 +1486,7 @@ dependencies = [
[[package]]
name = "leo-symbol-table"
-version = "1.0.3"
+version = "1.0.4"
dependencies = [
"leo-ast",
"leo-core",
@@ -1443,7 +1498,7 @@ dependencies = [
[[package]]
name = "leo-type-inference"
-version = "1.0.3"
+version = "1.0.4"
dependencies = [
"leo-ast",
"leo-grammar",
@@ -1456,9 +1511,9 @@ dependencies = [
[[package]]
name = "libc"
-version = "0.2.76"
+version = "0.2.80"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "755456fae044e6fa1ebbbd1b3e902ae19e73097ed4ed87bb79934a867c007bc3"
+checksum = "4d58d1b70b004888f764dfbf6a26a3b0342a1632d33968e4a179d8011c760614"
[[package]]
name = "libloading"
@@ -1484,9 +1539,9 @@ dependencies = [
[[package]]
name = "libz-sys"
-version = "1.1.1"
+version = "1.1.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "23b34178653005c1181711c333f0e5604a14a1b5115c814fd42304bdd16245e0"
+checksum = "602113192b08db8f38796c4e85c39e960c145965140e918018bcde1952429655"
dependencies = [
"cc",
"libc",
@@ -1509,7 +1564,20 @@ version = "0.4.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4fabed175da42fed1fa0746b0ea71f412aa9d35e76e95e59b192c64b9dc2bf8b"
dependencies = [
- "cfg-if",
+ "cfg-if 0.1.10",
+]
+
+[[package]]
+name = "loom"
+version = "0.3.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a0e8460f2f2121162705187214720353c517b97bdfb3494c0b1e33d83ebe4bed"
+dependencies = [
+ "cfg-if 0.1.10",
+ "generator",
+ "scoped-tls",
+ "serde",
+ "serde_json",
]
[[package]]
@@ -1533,23 +1601,17 @@ version = "0.1.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7ffc5c5338469d4d3ea17d269fa8ea3512ad247247c30bd2df69e68309ed0a08"
-[[package]]
-name = "maybe-uninit"
-version = "2.0.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "60302e4db3a61da70c0cb7991976248362f30319e88850c487b9b95bbf059e00"
-
[[package]]
name = "memchr"
-version = "2.3.3"
+version = "2.3.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3728d817d99e5ac407411fa471ff9800a778d88a24685968b36824eaf4bee400"
+checksum = "0ee1c47aaa256ecabcaea351eae4a9b01ef39ed810004e298d2511ed284b1525"
[[package]]
name = "memoffset"
-version = "0.5.5"
+version = "0.5.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c198b026e1bbf08a937e94c6c60f9ec4a2267f5b0d2eec9c1b21b061ce2be55f"
+checksum = "043175f069eda7b85febe4a74abbaeff828d9f8b448515d3151a14a3542811aa"
dependencies = [
"autocfg",
]
@@ -1581,11 +1643,12 @@ dependencies = [
[[package]]
name = "miniz_oxide"
-version = "0.4.1"
+version = "0.4.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4d7559a8a40d0f97e1edea3220f698f78b1c5ab67532e49f68fde3910323b722"
+checksum = "0f2d26ec3309788e423cfbf68ad1800f061638098d76a83681af979dc4eda19d"
dependencies = [
"adler",
+ "autocfg",
]
[[package]]
@@ -1594,7 +1657,7 @@ version = "0.6.22"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fce347092656428bc8eaf6201042cb551b8d67855af7374542a92a0fbfcac430"
dependencies = [
- "cfg-if",
+ "cfg-if 0.1.10",
"fuchsia-zircon",
"fuchsia-zircon-sys",
"iovec",
@@ -1633,9 +1696,9 @@ dependencies = [
[[package]]
name = "native-tls"
-version = "0.2.4"
+version = "0.2.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2b0d88c06fe90d5ee94048ba40409ef1d9315d86f6f38c2efdaad4fb50c58b2d"
+checksum = "6fcc7939b5edc4e4f86b1b4a04bb1498afaaf871b1a6691838ed06fcb48d3a3f"
dependencies = [
"lazy_static",
"libc",
@@ -1651,11 +1714,11 @@ dependencies = [
[[package]]
name = "net2"
-version = "0.2.34"
+version = "0.2.35"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2ba7c918ac76704fb42afcbbb43891e72731f3dcca3bef2a19786297baf14af7"
+checksum = "3ebc3ec692ed7c9a255596c67808dee269f64655d8baf7b4f0638e51ba1d6853"
dependencies = [
- "cfg-if",
+ "cfg-if 0.1.10",
"libc",
"winapi 0.3.9",
]
@@ -1696,9 +1759,9 @@ dependencies = [
[[package]]
name = "num-bigint"
-version = "0.3.0"
+version = "0.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b7f3fc75e3697059fb1bc465e3d8cca6cf92f56854f201158b3f9c77d5a3cfa0"
+checksum = "5e9a41747ae4633fce5adffb4d2e81ffc5e89593cb19917f8fb2cc5ff76507bf"
dependencies = [
"autocfg",
"num-integer",
@@ -1707,9 +1770,9 @@ dependencies = [
[[package]]
name = "num-integer"
-version = "0.1.43"
+version = "0.1.44"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8d59457e662d541ba17869cf51cf177c0b5f0cbf476c66bdc90bf1edac4f875b"
+checksum = "d2cc698a63b549a70bc047073d2949cce27cd1c7b0a4a862d08a8031bc2801db"
dependencies = [
"autocfg",
"num-traits",
@@ -1717,9 +1780,9 @@ dependencies = [
[[package]]
name = "num-traits"
-version = "0.2.12"
+version = "0.2.14"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ac267bcc07f48ee5f8935ab0d24f316fb722d7a1292e2913f0cc196b29ffd611"
+checksum = "9a64b1ec5cda2586e284722486d802acf1f7dbdc623e2bfc57e65ca1cd099290"
dependencies = [
"autocfg",
]
@@ -1742,15 +1805,15 @@ checksum = "17b02fc0ff9a9e4b35b3342880f48e896ebf69f2967921fe8646bf5b7125956a"
[[package]]
name = "object"
-version = "0.20.0"
+version = "0.22.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1ab52be62400ca80aa00285d25253d7f7c437b7375c4de678f5405d3afe82ca5"
+checksum = "8d3b63360ec3cb337817c2dbd47ab4a0f170d285d8e5a2064600f3def1402397"
[[package]]
name = "once_cell"
-version = "1.4.1"
+version = "1.5.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "260e51e7efe62b592207e9e13a68e43692a7a279171d6ba57abd208bf23645ad"
+checksum = "f53cef67919d7d247eb9a2f128ca9e522789967ef1eb4ccd8c71a95a8aedf596"
[[package]]
name = "oorandom"
@@ -1777,7 +1840,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8d575eff3665419f9b83678ff2815858ad9d11567e082f5ac1814baba4e2bcb4"
dependencies = [
"bitflags",
- "cfg-if",
+ "cfg-if 0.1.10",
"foreign-types",
"lazy_static",
"libc",
@@ -1820,7 +1883,7 @@ version = "0.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c361aa727dd08437f2f1447be8b59a33b0edd15e0fcee698f935613d9efbca9b"
dependencies = [
- "cfg-if",
+ "cfg-if 0.1.10",
"cloudabi",
"instant",
"libc",
@@ -1887,9 +1950,9 @@ checksum = "99b8db626e31e5b81787b9783425769681b347011cc59471e33ea46d2ea0cf55"
dependencies = [
"pest",
"pest_meta",
- "proc-macro2 1.0.19",
+ "proc-macro2 1.0.24",
"quote 1.0.7",
- "syn 1.0.39",
+ "syn 1.0.48",
]
[[package]]
@@ -1905,29 +1968,49 @@ dependencies = [
[[package]]
name = "pin-project"
-version = "0.4.23"
+version = "0.4.27"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ca4433fff2ae79342e497d9f8ee990d174071408f28f726d6d83af93e58e48aa"
+checksum = "2ffbc8e94b38ea3d2d8ba92aea2983b503cd75d0888d75b86bb37970b5698e15"
dependencies = [
- "pin-project-internal",
+ "pin-project-internal 0.4.27",
+]
+
+[[package]]
+name = "pin-project"
+version = "1.0.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ee41d838744f60d959d7074e3afb6b35c7456d0f61cad38a24e35e6553f73841"
+dependencies = [
+ "pin-project-internal 1.0.1",
]
[[package]]
name = "pin-project-internal"
-version = "0.4.23"
+version = "0.4.27"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2c0e815c3ee9a031fdf5af21c10aa17c573c9c6a566328d99e3936c34e36461f"
+checksum = "65ad2ae56b6abe3a1ee25f15ee605bacadb9a764edaba9c2bf4103800d4a1895"
dependencies = [
- "proc-macro2 1.0.19",
+ "proc-macro2 1.0.24",
"quote 1.0.7",
- "syn 1.0.39",
+ "syn 1.0.48",
+]
+
+[[package]]
+name = "pin-project-internal"
+version = "1.0.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "81a4ffa594b66bff340084d4081df649a7dc049ac8d7fc458d8e628bfbbb2f86"
+dependencies = [
+ "proc-macro2 1.0.24",
+ "quote 1.0.7",
+ "syn 1.0.48",
]
[[package]]
name = "pin-project-lite"
-version = "0.1.7"
+version = "0.1.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "282adbf10f2698a7a77f8e983a74b2d18176c19a7fd32a45446139ae7b02b715"
+checksum = "c917123afa01924fc84bb20c4c03f004d9c38e5127e3c039bbf7f4b9c76a2f6b"
[[package]]
name = "pin-utils"
@@ -1937,9 +2020,9 @@ checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184"
[[package]]
name = "pkg-config"
-version = "0.3.18"
+version = "0.3.19"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d36492546b6af1463394d46f0c834346f31548646f6ba10849802c9c9a27ac33"
+checksum = "3831453b3449ceb48b6d9c7ad7c96d5ea673e9b470a1dc578c2ce6521230884c"
[[package]]
name = "plotters"
@@ -1955,9 +2038,9 @@ dependencies = [
[[package]]
name = "ppv-lite86"
-version = "0.2.9"
+version = "0.2.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c36fa947111f5c62a733b652544dd0016a43ce89619538a8ef92724a6f501a20"
+checksum = "ac74c624d6b2d21f425f752262f42188365d7b8ff1aff74c82e45136510a4857"
[[package]]
name = "proc-macro2"
@@ -1970,9 +2053,9 @@ dependencies = [
[[package]]
name = "proc-macro2"
-version = "1.0.19"
+version = "1.0.24"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "04f5f085b5d71e2188cb8271e5da0161ad52c3f227a661a3c135fdf28e258b12"
+checksum = "1e0704ee1a7e00d7bb417d0770ea303c1bccbabf0ef1667dae92b5967f5f8a71"
dependencies = [
"unicode-xid 0.2.1",
]
@@ -2007,7 +2090,7 @@ version = "1.0.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "aa563d17ecb180e500da1cfd2b028310ac758de548efdd203e18f283af693f37"
dependencies = [
- "proc-macro2 1.0.19",
+ "proc-macro2 1.0.24",
]
[[package]]
@@ -2062,9 +2145,9 @@ dependencies = [
[[package]]
name = "rayon"
-version = "1.4.0"
+version = "1.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cfd016f0c045ad38b5251be2c9c0ab806917f82da4d36b2a327e5166adad9270"
+checksum = "8b0d8e0819fadc20c74ea8373106ead0600e3a67ef1fe8da56e39b9ae7275674"
dependencies = [
"autocfg",
"crossbeam-deque",
@@ -2074,13 +2157,13 @@ dependencies = [
[[package]]
name = "rayon-core"
-version = "1.8.0"
+version = "1.9.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "91739a34c4355b5434ce54c9086c5895604a9c278586d1f1aa95e04f66b525a0"
+checksum = "9ab346ac5921dc62ffa9f89b7a773907511cdfa5490c572ae9be1be33e8afa4a"
dependencies = [
"crossbeam-channel",
"crossbeam-deque",
- "crossbeam-utils",
+ "crossbeam-utils 0.8.0",
"lazy_static",
"num_cpus",
]
@@ -2104,9 +2187,9 @@ dependencies = [
[[package]]
name = "regex"
-version = "1.3.9"
+version = "1.4.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9c3780fcf44b193bc4d09f36d2a3c87b251da4a046c87795a0d35f4f927ad8e6"
+checksum = "38cf2c13ed4745de91a5eb834e11c00bcc3709e773173b2ce4c56c9fbde04b9c"
dependencies = [
"aho-corasick",
"memchr",
@@ -2126,9 +2209,9 @@ dependencies = [
[[package]]
name = "regex-syntax"
-version = "0.6.18"
+version = "0.6.21"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "26412eb97c6b088a6997e05f69403a802a92d520de2f8e63c2b65f9e0f47c4e8"
+checksum = "3b181ba2dcf07aaccad5448e8ead58db5b742cf85dfe035e2227f137a539a189"
[[package]]
name = "remove_dir_all"
@@ -2194,14 +2277,14 @@ dependencies = [
"base64 0.12.3",
"blake2b_simd",
"constant_time_eq",
- "crossbeam-utils",
+ "crossbeam-utils 0.7.2",
]
[[package]]
name = "rustc-demangle"
-version = "0.1.16"
+version = "0.1.18"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4c691c0e608126e00913e33f0ccf3727d5fc84573623b8d65b2df340b5201783"
+checksum = "6e3bad0ee36814ca07d7968269dd4b7ec89ec2da10c4bb613928d3077083c232"
[[package]]
name = "rustc-hash"
@@ -2261,6 +2344,12 @@ dependencies = [
"winapi 0.3.9",
]
+[[package]]
+name = "scoped-tls"
+version = "1.0.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ea6a9290e3c9cf0f18145ef7ffa62d68ee0bf5fcd651017e586dc7fd5da448c2"
+
[[package]]
name = "scopeguard"
version = "1.1.0"
@@ -2269,9 +2358,9 @@ checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd"
[[package]]
name = "security-framework"
-version = "0.4.4"
+version = "2.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "64808902d7d99f78eaddd2b4e2509713babc3dc3c85ad6f4c447680f3c01e535"
+checksum = "c1759c2e3c8580017a484a7ac56d3abc5a6c1feadf88db2f3633f12ae4268c69"
dependencies = [
"bitflags",
"core-foundation",
@@ -2282,9 +2371,9 @@ dependencies = [
[[package]]
name = "security-framework-sys"
-version = "0.4.3"
+version = "2.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "17bf11d99252f512695eb468de5516e5cf75455521e69dfe343f3b74e4748405"
+checksum = "f99b9d5e26d2a71633cc4f2ebae7cc9f874044e0c351a27e17892d76dce5678b"
dependencies = [
"core-foundation-sys",
"libc",
@@ -2348,9 +2437,9 @@ version = "1.0.117"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cbd1ae72adb44aab48f325a02444a5fc079349a8d804c1fc922aed3f7454c74e"
dependencies = [
- "proc-macro2 1.0.19",
+ "proc-macro2 1.0.24",
"quote 1.0.7",
- "syn 1.0.39",
+ "syn 1.0.48",
]
[[package]]
@@ -2390,12 +2479,12 @@ dependencies = [
[[package]]
name = "sha2"
-version = "0.9.1"
+version = "0.9.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2933378ddfeda7ea26f48c555bdad8bb446bf8a3d17832dc83e380d444cfb8c1"
+checksum = "6e7aab86fe2149bad8c507606bdb3f4ef5e7b2380eb92350f56122cca72a42a8"
dependencies = [
"block-buffer 0.9.0",
- "cfg-if",
+ "cfg-if 1.0.0",
"cpuid-bool",
"digest 0.9.0",
"opaque-debug 0.3.0",
@@ -2403,11 +2492,12 @@ dependencies = [
[[package]]
name = "sharded-slab"
-version = "0.0.9"
+version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "06d5a3f5166fb5b42a5439f2eee8b9de149e235961e3eb21c5808fc3ea17ff3e"
+checksum = "7b4921be914e16899a80adefb821f8ddb7974e3f1250223575a44ed994882127"
dependencies = [
"lazy_static",
+ "loom",
]
[[package]]
@@ -2480,9 +2570,9 @@ version = "1.1.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a8f6ce35f9f73c13e5381c6938747935ca105e22717998489c3e5ddb8c13120d"
dependencies = [
- "proc-macro2 1.0.19",
+ "proc-macro2 1.0.24",
"quote 1.0.7",
- "syn 1.0.39",
+ "syn 1.0.48",
]
[[package]]
@@ -2633,11 +2723,11 @@ dependencies = [
[[package]]
name = "socket2"
-version = "0.3.12"
+version = "0.3.16"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "03088793f677dce356f3ccc2edb1b314ad191ab702a5de3faf49304f7e104918"
+checksum = "7fd8b795c389288baa5f355489c65e71fd48a02104600d15c4cfbc561e9e429d"
dependencies = [
- "cfg-if",
+ "cfg-if 0.1.10",
"libc",
"redox_syscall",
"winapi 0.3.9",
@@ -2668,11 +2758,11 @@ dependencies = [
[[package]]
name = "syn"
-version = "1.0.39"
+version = "1.0.48"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "891d8d6567fe7c7f8835a3a98af4208f3846fba258c1bc3c31d6e506239f11f9"
+checksum = "cc371affeffc477f42a221a1e4297aedcea33d47d19b61455588bd9d8f6b19ac"
dependencies = [
- "proc-macro2 1.0.19",
+ "proc-macro2 1.0.24",
"quote 1.0.7",
"unicode-xid 0.2.1",
]
@@ -2683,9 +2773,9 @@ version = "0.12.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b834f2d66f734cb897113e34aaff2f1ab4719ca946f9a7358dba8f8064148701"
dependencies = [
- "proc-macro2 1.0.19",
+ "proc-macro2 1.0.24",
"quote 1.0.7",
- "syn 1.0.39",
+ "syn 1.0.48",
"unicode-xid 0.2.1",
]
@@ -2695,7 +2785,7 @@ version = "3.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7a6e24d9338a0a5be79593e2fa15a648add6138caa803e2d5bc782c371732ca9"
dependencies = [
- "cfg-if",
+ "cfg-if 0.1.10",
"libc",
"rand",
"redox_syscall",
@@ -2733,22 +2823,22 @@ dependencies = [
[[package]]
name = "thiserror"
-version = "1.0.21"
+version = "1.0.22"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "318234ffa22e0920fe9a40d7b8369b5f649d490980cf7aadcf1eb91594869b42"
+checksum = "0e9ae34b84616eedaaf1e9dd6026dbe00dcafa92aa0c8077cb69df1fcfe5e53e"
dependencies = [
"thiserror-impl",
]
[[package]]
name = "thiserror-impl"
-version = "1.0.21"
+version = "1.0.22"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cae2447b6282786c3493999f40a9be2a6ad20cb8bd268b0a0dbf5a065535c0ab"
+checksum = "9ba20f23e85b10754cd195504aebf6a27e2e6cbe28c17778a0c930724628dd56"
dependencies = [
- "proc-macro2 1.0.19",
+ "proc-macro2 1.0.24",
"quote 1.0.7",
- "syn 1.0.39",
+ "syn 1.0.48",
]
[[package]]
@@ -2783,9 +2873,18 @@ dependencies = [
[[package]]
name = "tinyvec"
-version = "0.3.4"
+version = "1.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "238ce071d267c5710f9d31451efec16c5ee22de34df17cc05e56cbc92e967117"
+checksum = "b78a366903f506d2ad52ca8dc552102ffdd3e937ba8a227f024dc1d1eae28575"
+dependencies = [
+ "tinyvec_macros",
+]
+
+[[package]]
+name = "tinyvec_macros"
+version = "0.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "cda74da7e1a664f795bb1f8a87ec406fb89a02522cf6e50620d016add6dbbf5c"
[[package]]
name = "tokio"
@@ -2850,7 +2949,7 @@ version = "0.1.21"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b0987850db3733619253fe60e17cb59b82d37c7e6c0236bb81e4d6b87c879f27"
dependencies = [
- "cfg-if",
+ "cfg-if 0.1.10",
"log",
"pin-project-lite",
"tracing-attributes",
@@ -2863,9 +2962,9 @@ version = "0.1.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "80e0ccfc3378da0cce270c946b676a376943f5cd16aeba64568e7939806f4ada"
dependencies = [
- "proc-macro2 1.0.19",
+ "proc-macro2 1.0.24",
"quote 1.0.7",
- "syn 1.0.39",
+ "syn 1.0.48",
]
[[package]]
@@ -2877,6 +2976,16 @@ dependencies = [
"lazy_static",
]
+[[package]]
+name = "tracing-futures"
+version = "0.2.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ab7bb6f14721aa00656086e9335d363c5c8747bae02ebe32ea2c7dece5689b4c"
+dependencies = [
+ "pin-project 0.4.27",
+ "tracing",
+]
+
[[package]]
name = "tracing-log"
version = "0.1.1"
@@ -2900,9 +3009,9 @@ dependencies = [
[[package]]
name = "tracing-subscriber"
-version = "0.2.13"
+version = "0.2.15"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4ef0a5e15477aa303afbfac3a44cba9b6430fdaad52423b1e6c0dbbe28c3eedd"
+checksum = "a1fa8f0c8f4c594e4fc9debc1990deab13238077271ba84dd853d54902ee3401"
dependencies = [
"ansi_term 0.12.1",
"chrono",
@@ -2958,9 +3067,9 @@ dependencies = [
[[package]]
name = "unicode-normalization"
-version = "0.1.13"
+version = "0.1.14"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6fb19cf769fa8c6a80a162df694621ebeb4dafb606470b2b2fce0be40a98a977"
+checksum = "b7f98e67a4d84f730d343392f9bfff7d21e3fca562b9cb7a43b768350beeddc6"
dependencies = [
"tinyvec",
]
@@ -2985,10 +3094,11 @@ checksum = "f7fe0bb3479651439c9112f72b6c505038574c9fbb575ed1bf3b797fa39dd564"
[[package]]
name = "url"
-version = "2.1.1"
+version = "2.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "829d4a8476c35c9bf0bbce5a3b23f4106f79728039b726d292bb93bc106787cb"
+checksum = "5909f2b0817350449ed73e8bcd81c8c3c8d9a7a5d8acba4b27db277f1868976e"
dependencies = [
+ "form_urlencoded",
"idna",
"matches",
"percent-encoding 2.1.0",
@@ -3053,11 +3163,11 @@ checksum = "1a143597ca7c7793eff794def352d41792a93c481eb1042423ff7ff72ba2c31f"
[[package]]
name = "wasm-bindgen"
-version = "0.2.67"
+version = "0.2.68"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f0563a9a4b071746dd5aedbc3a28c6fe9be4586fb3fbadb67c400d4f53c6b16c"
+checksum = "1ac64ead5ea5f05873d7c12b545865ca2b8d28adfc50a49b84770a3a97265d42"
dependencies = [
- "cfg-if",
+ "cfg-if 0.1.10",
"serde",
"serde_json",
"wasm-bindgen-macro",
@@ -3065,26 +3175,26 @@ dependencies = [
[[package]]
name = "wasm-bindgen-backend"
-version = "0.2.67"
+version = "0.2.68"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bc71e4c5efa60fb9e74160e89b93353bc24059999c0ae0fb03affc39770310b0"
+checksum = "f22b422e2a757c35a73774860af8e112bff612ce6cb604224e8e47641a9e4f68"
dependencies = [
"bumpalo",
"lazy_static",
"log",
- "proc-macro2 1.0.19",
+ "proc-macro2 1.0.24",
"quote 1.0.7",
- "syn 1.0.39",
+ "syn 1.0.48",
"wasm-bindgen-shared",
]
[[package]]
name = "wasm-bindgen-futures"
-version = "0.4.17"
+version = "0.4.18"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "95f8d235a77f880bcef268d379810ea6c0af2eacfa90b1ad5af731776e0c4699"
+checksum = "b7866cab0aa01de1edf8b5d7936938a7e397ee50ce24119aef3e1eaa3b6171da"
dependencies = [
- "cfg-if",
+ "cfg-if 0.1.10",
"js-sys",
"wasm-bindgen",
"web-sys",
@@ -3092,9 +3202,9 @@ dependencies = [
[[package]]
name = "wasm-bindgen-macro"
-version = "0.2.67"
+version = "0.2.68"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "97c57cefa5fa80e2ba15641578b44d36e7a64279bc5ed43c6dbaf329457a2ed2"
+checksum = "6b13312a745c08c469f0b292dd2fcd6411dba5f7160f593da6ef69b64e407038"
dependencies = [
"quote 1.0.7",
"wasm-bindgen-macro-support",
@@ -3102,28 +3212,28 @@ dependencies = [
[[package]]
name = "wasm-bindgen-macro-support"
-version = "0.2.67"
+version = "0.2.68"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "841a6d1c35c6f596ccea1f82504a192a60378f64b3bb0261904ad8f2f5657556"
+checksum = "f249f06ef7ee334cc3b8ff031bfc11ec99d00f34d86da7498396dc1e3b1498fe"
dependencies = [
- "proc-macro2 1.0.19",
+ "proc-macro2 1.0.24",
"quote 1.0.7",
- "syn 1.0.39",
+ "syn 1.0.48",
"wasm-bindgen-backend",
"wasm-bindgen-shared",
]
[[package]]
name = "wasm-bindgen-shared"
-version = "0.2.67"
+version = "0.2.68"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "93b162580e34310e5931c4b792560108b10fd14d64915d7fff8ff00180e70092"
+checksum = "1d649a3145108d7d3fbcde896a468d1bd636791823c9921135218ad89be08307"
[[package]]
name = "web-sys"
-version = "0.3.44"
+version = "0.3.45"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "dda38f4e5ca63eda02c059d243aa25b5f35ab98451e518c51612cd0f1bd19a47"
+checksum = "4bf6ef87ad7ae8008e15a355ce696bed26012b7caa21605188cfd8214ab51e2d"
dependencies = [
"js-sys",
"wasm-bindgen",
diff --git a/Cargo.toml b/Cargo.toml
index b979e3411a..25bac29d5d 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "leo-lang"
-version = "1.0.3"
+version = "1.0.4"
authors = [ "The Aleo Team " ]
description = "The Leo programming language"
homepage = "https://aleo.org"
@@ -42,35 +42,35 @@ members = [
[dependencies.leo-ast]
path = "./ast"
-version = "1.0.3"
+version = "1.0.4"
[dependencies.leo-compiler]
path = "./compiler"
-version = "1.0.3"
+version = "1.0.4"
[dependencies.leo-gadgets]
path = "./gadgets"
-version = "1.0.3"
+version = "1.0.4"
[dependencies.leo-imports]
path = "./imports"
-version = "1.0.3"
+version = "1.0.4"
[dependencies.leo-input]
path = "./input"
-version = "1.0.3"
+version = "1.0.4"
[dependencies.leo-package]
path = "./package"
-version = "1.0.3"
+version = "1.0.4"
[dependencies.leo-state]
path = "./state"
-version = "1.0.3"
+version = "1.0.4"
[dependencies.leo-symbol-table]
path = "./symbol-table"
-version = "1.0.3"
+version = "1.0.4"
[dependencies.snarkos-algorithms]
version = "1.1.3"
diff --git a/ast/Cargo.toml b/ast/Cargo.toml
index 47cf163d38..49cc0ae71e 100644
--- a/ast/Cargo.toml
+++ b/ast/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "leo-ast"
-version = "1.0.3"
+version = "1.0.4"
authors = [ "The Aleo Team " ]
description = "Core AST of the Leo programming language"
homepage = "https://aleo.org"
@@ -28,11 +28,11 @@ harness = false
[dependencies.leo-grammar]
path = "../grammar"
-version = "1.0.3"
+version = "1.0.4"
[dependencies.leo-input]
path = "../input"
-version = "1.0.3"
+version = "1.0.4"
[dependencies.snarkos-errors]
version = "1.1.3"
diff --git a/compiler/Cargo.toml b/compiler/Cargo.toml
index 3ad46da62e..7cb81be57c 100644
--- a/compiler/Cargo.toml
+++ b/compiler/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "leo-compiler"
-version = "1.0.3"
+version = "1.0.4"
authors = [ "The Aleo Team " ]
description = "Compiler of the Leo programming language"
homepage = "https://aleo.org"
@@ -19,43 +19,43 @@ edition = "2018"
[dependencies.leo-ast]
path = "../ast"
-version = "1.0.3"
+version = "1.0.4"
[dependencies.leo-core]
path = "../core"
-version = "1.0.3"
+version = "1.0.4"
[dependencies.leo-gadgets]
path = "../gadgets"
-version = "1.0.3"
+version = "1.0.4"
[dependencies.leo-grammar]
path = "../grammar"
-version = "1.0.3"
+version = "1.0.4"
[dependencies.leo-imports]
path = "../imports"
-version = "1.0.3"
+version = "1.0.4"
[dependencies.leo-input]
path = "../input"
-version = "1.0.3"
+version = "1.0.4"
[dependencies.leo-package]
path = "../package"
-version = "1.0.3"
+version = "1.0.4"
[dependencies.leo-state]
path = "../state"
-version = "1.0.3"
+version = "1.0.4"
[dependencies.leo-symbol-table]
path = "../symbol-table"
-version = "1.0.3"
+version = "1.0.4"
[dependencies.leo-type-inference]
path = "../type-inference"
-version = "1.0.3"
+version = "1.0.4"
[dependencies.snarkos-curves]
version = "1.1.3"
diff --git a/core/Cargo.toml b/core/Cargo.toml
index 52b2364671..f62744892d 100644
--- a/core/Cargo.toml
+++ b/core/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "leo-core"
-version = "1.0.3"
+version = "1.0.4"
authors = [ "The Aleo Team " ]
description = "Core package dependencies of the Leo programming language"
homepage = "https://aleo.org"
@@ -19,11 +19,11 @@ edition = "2018"
[dependencies.leo-ast]
path = "../ast"
-version = "1.0.3"
+version = "1.0.4"
[dependencies.leo-gadgets]
path = "../gadgets"
-version = "1.0.3"
+version = "1.0.4"
[dependencies.snarkos-errors]
version = "1.1.3"
diff --git a/examples/fibonacci/.gitignore b/examples/fibonacci/.gitignore
deleted file mode 100644
index ef3a390676..0000000000
--- a/examples/fibonacci/.gitignore
+++ /dev/null
@@ -1,2 +0,0 @@
-outputs/
-/.leo
diff --git a/examples/fibonacci/Leo.toml b/examples/fibonacci/Leo.toml
deleted file mode 100644
index 74409f8b14..0000000000
--- a/examples/fibonacci/Leo.toml
+++ /dev/null
@@ -1,8 +0,0 @@
-[project]
-name = "fibonacci"
-version = "0.1.0"
-description = "Returns a fibonnaci sequence"
-license = "LICENSE-MIT"
-
-[remote]
-author = "aleo"
diff --git a/examples/fibonacci/README.md b/examples/fibonacci/README.md
deleted file mode 100644
index be8c859831..0000000000
--- a/examples/fibonacci/README.md
+++ /dev/null
@@ -1 +0,0 @@
-# fibonacci
diff --git a/examples/fibonacci/inputs/fibonacci.in b/examples/fibonacci/inputs/fibonacci.in
deleted file mode 100644
index 494a224d5d..0000000000
--- a/examples/fibonacci/inputs/fibonacci.in
+++ /dev/null
@@ -1,2 +0,0 @@
-[registers]
-r0: u32 = 0;
\ No newline at end of file
diff --git a/examples/fibonacci/inputs/fibonacci.state b/examples/fibonacci/inputs/fibonacci.state
deleted file mode 100644
index e69de29bb2..0000000000
diff --git a/examples/fibonacci/src/main.leo b/examples/fibonacci/src/main.leo
deleted file mode 100644
index a759e3d010..0000000000
--- a/examples/fibonacci/src/main.leo
+++ /dev/null
@@ -1,16 +0,0 @@
-function fibonacci() -> u32 {
- let mut a = 0u32;
- let mut b = 1u32;
-
- for i in 0..10 {
- a = b;
- b = a + b;
- }
-
- return a
-}
-
-// The 'fibonacci' main function.
-function main() -> u32 {
- return fibonacci()
-}
\ No newline at end of file
diff --git a/examples/square-root/.gitignore b/examples/square-root/.gitignore
deleted file mode 100644
index ad22736663..0000000000
--- a/examples/square-root/.gitignore
+++ /dev/null
@@ -1,2 +0,0 @@
-outputs/
-/.leo
\ No newline at end of file
diff --git a/examples/square-root/Leo.toml b/examples/square-root/Leo.toml
deleted file mode 100644
index 9717d86062..0000000000
--- a/examples/square-root/Leo.toml
+++ /dev/null
@@ -1,8 +0,0 @@
-[project]
-name = "square-root"
-version = "0.1.0"
-description = "prove knowledge of the square root `a` of a number `b`"
-license = "LICENSE-MIT"
-
-[remote]
-author = "aleo"
diff --git a/examples/square-root/README.md b/examples/square-root/README.md
deleted file mode 100644
index 8536c68b02..0000000000
--- a/examples/square-root/README.md
+++ /dev/null
@@ -1 +0,0 @@
-# square-root
diff --git a/examples/square-root/inputs/square-root.in b/examples/square-root/inputs/square-root.in
deleted file mode 100644
index 1d6a8cf5d3..0000000000
--- a/examples/square-root/inputs/square-root.in
+++ /dev/null
@@ -1,7 +0,0 @@
-// The program input for square_root/src/main.leo
-[main]
-a: u32 = 337;
-b: u32 = 113569;
-
-[registers]
-r0: bool = false;
\ No newline at end of file
diff --git a/examples/square-root/inputs/square-root.state b/examples/square-root/inputs/square-root.state
deleted file mode 100644
index e69de29bb2..0000000000
diff --git a/examples/square-root/src/main.leo b/examples/square-root/src/main.leo
deleted file mode 100644
index 5d69e2e375..0000000000
--- a/examples/square-root/src/main.leo
+++ /dev/null
@@ -1,5 +0,0 @@
-// The 'square-root' main function.
-// prove knowledge of the square root `a` of a number `b`
-function main(a: u32, b: u32) -> bool {
- return a * a == b
-}
diff --git a/gadgets/Cargo.toml b/gadgets/Cargo.toml
index 823847acae..de97fc34d0 100644
--- a/gadgets/Cargo.toml
+++ b/gadgets/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "leo-gadgets"
-version = "1.0.3"
+version = "1.0.4"
authors = [ "The Aleo Team " ]
description = "Gadgets of the Leo programming language"
homepage = "https://aleo.org"
diff --git a/grammar/Cargo.toml b/grammar/Cargo.toml
index f435e29b46..c33d877dba 100644
--- a/grammar/Cargo.toml
+++ b/grammar/Cargo.toml
@@ -1,8 +1,8 @@
[package]
name = "leo-grammar"
-version = "1.0.3"
+version = "1.0.4"
authors = [ "The Aleo Team " ]
-description = "AST of the Leo programming language"
+description = "AST generated by pest from the Leo grammar rules"
homepage = "https://aleo.org"
repository = "https://github.com/AleoHQ/leo"
keywords = [
diff --git a/grammar/src/leo.pest b/grammar/src/leo.pest
index 71024b6439..e695e3bb9f 100644
--- a/grammar/src/leo.pest
+++ b/grammar/src/leo.pest
@@ -114,7 +114,7 @@ operation_gt = { ">" }
operation_le = { "<=" }
operation_lt = { "<" }
operation_add = { "+" }
-operation_sub = { "- " }
+operation_sub = { "-" }
operation_mul = { "*" }
operation_div = { "/" }
operation_pow = { "**" }
diff --git a/grammar/tests/expression.rs b/grammar/tests/expression.rs
index cc9bc472e5..f05aa7fb27 100644
--- a/grammar/tests/expression.rs
+++ b/grammar/tests/expression.rs
@@ -1,3 +1,19 @@
+// Copyright (C) 2019-2020 Aleo Systems Inc.
+// This file is part of the Leo library.
+
+// The Leo library is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// The Leo library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with the Leo library. If not, see .
+
use leo_grammar::ast::{LanguageParser, Rule};
use pest::*;
diff --git a/grammar/tests/function.rs b/grammar/tests/function.rs
index 984d8a3ac8..f2b4fa3629 100644
--- a/grammar/tests/function.rs
+++ b/grammar/tests/function.rs
@@ -1,3 +1,19 @@
+// Copyright (C) 2019-2020 Aleo Systems Inc.
+// This file is part of the Leo library.
+
+// The Leo library is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// The Leo library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with the Leo library. If not, see .
+
use leo_grammar::ast::{LanguageParser, Rule};
use pest::*;
diff --git a/grammar/tests/tuple.rs b/grammar/tests/tuple.rs
index 8f39444c0d..201ac1b1da 100644
--- a/grammar/tests/tuple.rs
+++ b/grammar/tests/tuple.rs
@@ -1,3 +1,19 @@
+// Copyright (C) 2019-2020 Aleo Systems Inc.
+// This file is part of the Leo library.
+
+// The Leo library is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// The Leo library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with the Leo library. If not, see .
+
use leo_grammar::ast::{LanguageParser, Rule};
use pest::*;
diff --git a/imports/Cargo.toml b/imports/Cargo.toml
index 6990d086c4..691215fec6 100644
--- a/imports/Cargo.toml
+++ b/imports/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "leo-imports"
-version = "1.0.3"
+version = "1.0.4"
authors = [ "The Aleo Team "]
description = "Import parser for Leo program package dependencies"
homepage = "https://aleo.org"
@@ -19,11 +19,11 @@ edition = "2018"
[dependencies.leo-ast]
path = "../ast"
-version = "1.0.3"
+version = "1.0.4"
[dependencies.leo-grammar]
path = "../grammar"
-version = "1.0.3"
+version = "1.0.4"
[dependencies.thiserror]
version = "1.0"
diff --git a/input/Cargo.toml b/input/Cargo.toml
index fe7f3e205f..20003c5fb2 100644
--- a/input/Cargo.toml
+++ b/input/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "leo-input"
-version = "1.0.3"
+version = "1.0.4"
authors = [ "The Aleo Team " ]
description = "Input parser of the Leo programming language"
homepage = "https://aleo.org"
diff --git a/leo/leo-version b/leo/leo-version
index 13637f44ae..3b9e5dbc90 100644
--- a/leo/leo-version
+++ b/leo/leo-version
@@ -1 +1 @@
-v1.0.3
\ No newline at end of file
+v1.0.4
\ No newline at end of file
diff --git a/leo/updater.rs b/leo/updater.rs
index ec730963fa..84f088f68f 100644
--- a/leo/updater.rs
+++ b/leo/updater.rs
@@ -1,3 +1,18 @@
+// Copyright (C) 2019-2020 Aleo Systems Inc.
+// This file is part of the Leo library.
+
+// The Leo library is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// The Leo library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with the Leo library. If not, see .
use crate::config::Config;
use colored::Colorize;
diff --git a/linter/Cargo.toml b/linter/Cargo.toml
index 58fe5b6fbc..8fafd81540 100644
--- a/linter/Cargo.toml
+++ b/linter/Cargo.toml
@@ -2,7 +2,7 @@ dependencies = { }
[package]
name = "leo-linter"
-version = "1.0.3"
+version = "1.0.4"
authors = [ "The Aleo Team " ]
description = "Linter of the Leo programming language"
homepage = "https://aleo.org"
diff --git a/package/Cargo.toml b/package/Cargo.toml
index 54804fb86b..dbe41fadbb 100644
--- a/package/Cargo.toml
+++ b/package/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "leo-package"
-version = "1.0.3"
+version = "1.0.4"
authors = [ "The Aleo Team " ]
description = "Package parser of the Leo programming language"
homepage = "https://aleo.org"
diff --git a/package/src/errors/package.rs b/package/src/errors/package.rs
index c2d89f0219..73694d3259 100644
--- a/package/src/errors/package.rs
+++ b/package/src/errors/package.rs
@@ -1,3 +1,18 @@
+// Copyright (C) 2019-2020 Aleo Systems Inc.
+// This file is part of the Leo library.
+
+// The Leo library is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// The Leo library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with the Leo library. If not, see .
use std::{ffi::OsString, io};
#[derive(Debug, Error)]
diff --git a/state/Cargo.toml b/state/Cargo.toml
index d49bc194d2..6f8b9063b7 100644
--- a/state/Cargo.toml
+++ b/state/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "leo-state"
-version = "1.0.3"
+version = "1.0.4"
authors = [ "The Aleo Team " ]
description = "State parser of the Leo programming language"
homepage = "https://aleo.org"
@@ -19,11 +19,11 @@ edition = "2018"
[dependencies.leo-input]
path = "../input"
-version = "1.0.3"
+version = "1.0.4"
[dependencies.leo-ast]
path = "../ast"
-version = "1.0.3"
+version = "1.0.4"
[dependencies.snarkos-algorithms]
version = "1.1.3"
diff --git a/symbol-table/Cargo.toml b/symbol-table/Cargo.toml
index f8ada52ec1..0e821fd122 100644
--- a/symbol-table/Cargo.toml
+++ b/symbol-table/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "leo-symbol-table"
-version = "1.0.3"
+version = "1.0.4"
authors = [ "The Aleo Team " ]
description = "Stores user-defined variables during type resolution"
homepage = "https://aleo.org"
@@ -19,19 +19,19 @@ edition = "2018"
[dependencies.leo-ast]
path = "../ast"
-version = "1.0.3"
+version = "1.0.4"
[dependencies.leo-core]
path = "../core"
-version = "1.0.3"
+version = "1.0.4"
[dependencies.leo-grammar]
path = "../grammar"
-version = "1.0.3"
+version = "1.0.4"
[dependencies.leo-imports]
path = "../imports"
-version = "1.0.3"
+version = "1.0.4"
[dependencies.serde]
version = "1.0"
diff --git a/type-inference/Cargo.toml b/type-inference/Cargo.toml
index b8dee93e48..a0f38f7418 100644
--- a/type-inference/Cargo.toml
+++ b/type-inference/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "leo-type-inference"
-version = "1.0.3"
+version = "1.0.4"
authors = [ "The Aleo Team " ]
description = "Checks that a program is correct using type inference"
homepage = "https://aleo.org"
@@ -19,19 +19,19 @@ edition = "2018"
[dependencies.leo-ast]
path = "../ast"
-version = "1.0.3"
+version = "1.0.4"
[dependencies.leo-imports]
path = "../imports"
-version = "1.0.3"
+version = "1.0.4"
[dependencies.leo-grammar]
path = "../grammar"
-version = "1.0.3"
+version = "1.0.4"
[dependencies.leo-symbol-table]
path = "../symbol-table"
-version = "1.0.3"
+version = "1.0.4"
[dependencies.serde_json]
version = "1.0"