mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-09-11 05:45:30 +03:00
chore(leo): bump version for new release
This commit is contained in:
parent
3548158d2f
commit
eb12c7e475
@ -1 +1 @@
|
||||
v1.9.4
|
||||
v1.10.0
|
20
Cargo.lock
generated
20
Cargo.lock
generated
@ -1277,7 +1277,7 @@ checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646"
|
||||
|
||||
[[package]]
|
||||
name = "leo-abnf"
|
||||
version = "1.9.4"
|
||||
version = "1.10.0"
|
||||
dependencies = [
|
||||
"abnf",
|
||||
"anyhow",
|
||||
@ -1285,7 +1285,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "leo-ast"
|
||||
version = "1.9.4"
|
||||
version = "1.10.0"
|
||||
dependencies = [
|
||||
"criterion",
|
||||
"indexmap 1.9.3",
|
||||
@ -1299,7 +1299,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "leo-compiler"
|
||||
version = "1.9.4"
|
||||
version = "1.10.0"
|
||||
dependencies = [
|
||||
"dotenvy",
|
||||
"leo-ast",
|
||||
@ -1320,7 +1320,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "leo-errors"
|
||||
version = "1.9.4"
|
||||
version = "1.10.0"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"backtrace",
|
||||
@ -1334,7 +1334,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "leo-lang"
|
||||
version = "1.9.4"
|
||||
version = "1.10.0"
|
||||
dependencies = [
|
||||
"ansi_term",
|
||||
"assert_cmd",
|
||||
@ -1373,7 +1373,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "leo-package"
|
||||
version = "1.9.4"
|
||||
version = "1.10.0"
|
||||
dependencies = [
|
||||
"indexmap 1.9.3",
|
||||
"lazy_static",
|
||||
@ -1388,7 +1388,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "leo-parser"
|
||||
version = "1.9.4"
|
||||
version = "1.10.0"
|
||||
dependencies = [
|
||||
"clap",
|
||||
"indexmap 1.9.3",
|
||||
@ -1407,7 +1407,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "leo-passes"
|
||||
version = "1.9.4"
|
||||
version = "1.10.0"
|
||||
dependencies = [
|
||||
"indexmap 1.9.3",
|
||||
"itertools 0.11.0",
|
||||
@ -1423,7 +1423,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "leo-span"
|
||||
version = "1.9.4"
|
||||
version = "1.10.0"
|
||||
dependencies = [
|
||||
"fxhash",
|
||||
"indexmap 1.9.3",
|
||||
@ -1433,7 +1433,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "leo-test-framework"
|
||||
version = "1.9.4"
|
||||
version = "1.10.0"
|
||||
dependencies = [
|
||||
"backtrace",
|
||||
"clap",
|
||||
|
15
Cargo.toml
15
Cargo.toml
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "leo-lang"
|
||||
version = "1.9.4"
|
||||
version = "1.10.0"
|
||||
authors = [ "The Aleo Team <hello@aleo.org>" ]
|
||||
description = "The Leo programming language"
|
||||
homepage = "https://aleo.org"
|
||||
@ -47,7 +47,6 @@ members = [
|
||||
[workspace.dependencies.snarkvm]
|
||||
version = "0.16.1"
|
||||
|
||||
|
||||
[workspace.dependencies.snarkvm-console]
|
||||
version = "0.16.1"
|
||||
|
||||
@ -65,27 +64,27 @@ noconfig = [ ]
|
||||
|
||||
[dependencies.leo-ast]
|
||||
path = "./compiler/ast"
|
||||
version = "=1.9.4"
|
||||
version = "=1.10.0"
|
||||
|
||||
[dependencies.leo-compiler]
|
||||
path = "./compiler/compiler"
|
||||
version = "=1.9.4"
|
||||
version = "=1.10.0"
|
||||
|
||||
[dependencies.leo-errors]
|
||||
path = "./errors"
|
||||
version = "=1.9.4"
|
||||
version = "=1.10.0"
|
||||
|
||||
[dependencies.leo-package]
|
||||
path = "./leo/package"
|
||||
version = "=1.9.4"
|
||||
version = "=1.10.0"
|
||||
|
||||
[dependencies.leo-parser]
|
||||
path = "./compiler/parser"
|
||||
version = "=1.9.4"
|
||||
version = "=1.10.0"
|
||||
|
||||
[dependencies.leo-span]
|
||||
path = "./compiler/span"
|
||||
version = "=1.9.4"
|
||||
version = "=1.10.0"
|
||||
|
||||
[dependencies.backtrace]
|
||||
version = "0.3.68"
|
||||
|
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "leo-ast"
|
||||
version = "1.9.4"
|
||||
version = "1.10.0"
|
||||
authors = [ "The Aleo Team <hello@aleo.org>" ]
|
||||
description = "Abstract syntax tree (AST) for the Leo programming language"
|
||||
homepage = "https://aleo.org"
|
||||
@ -20,11 +20,11 @@ rust-version = "1.69"
|
||||
|
||||
[dependencies.leo-errors]
|
||||
path = "../../errors"
|
||||
version = "=1.9.4"
|
||||
version = "=1.10.0"
|
||||
|
||||
[dependencies.leo-span]
|
||||
path = "../span"
|
||||
version = "=1.9.4"
|
||||
version = "=1.10.0"
|
||||
|
||||
[dependencies.indexmap]
|
||||
version = "1.9"
|
||||
|
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "leo-compiler"
|
||||
version = "1.9.4"
|
||||
version = "1.10.0"
|
||||
authors = [ "The Aleo Team <hello@aleo.org>" ]
|
||||
description = "Compiler for Leo programming language"
|
||||
homepage = "https://aleo.org"
|
||||
@ -20,23 +20,23 @@ rust-version = "1.69"
|
||||
|
||||
[dependencies.leo-ast]
|
||||
path = "../ast"
|
||||
version = "=1.9.4"
|
||||
version = "=1.10.0"
|
||||
|
||||
[dependencies.leo-errors]
|
||||
path = "../../errors"
|
||||
version = "=1.9.4"
|
||||
version = "=1.10.0"
|
||||
|
||||
[dependencies.leo-passes]
|
||||
path = "../passes"
|
||||
version = "=1.9.4"
|
||||
version = "=1.10.0"
|
||||
|
||||
[dependencies.leo-parser]
|
||||
path = "../parser"
|
||||
version = "=1.9.4"
|
||||
version = "=1.10.0"
|
||||
|
||||
[dependencies.leo-span]
|
||||
path = "../span"
|
||||
version = "=1.9.4"
|
||||
version = "=1.10.0"
|
||||
|
||||
[dependencies.sha2]
|
||||
version = "0.10"
|
||||
|
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "leo-parser"
|
||||
version = "1.9.4"
|
||||
version = "1.10.0"
|
||||
authors = [ "The Aleo Team <hello@aleo.org>" ]
|
||||
description = "Parser for the Leo programming language"
|
||||
homepage = "https://aleo.org"
|
||||
@ -20,15 +20,15 @@ rust-version = "1.69"
|
||||
|
||||
[dependencies.leo-ast]
|
||||
path = "../ast"
|
||||
version = "=1.9.4"
|
||||
version = "=1.10.0"
|
||||
|
||||
[dependencies.leo-errors]
|
||||
path = "../../errors"
|
||||
version = "=1.9.4"
|
||||
version = "=1.10.0"
|
||||
|
||||
[dependencies.leo-span]
|
||||
path = "../span"
|
||||
version = "=1.9.4"
|
||||
version = "=1.10.0"
|
||||
|
||||
[dependencies.snarkvm-console]
|
||||
workspace = true
|
||||
|
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "leo-passes"
|
||||
version = "1.9.4"
|
||||
version = "1.10.0"
|
||||
authors = [ "The Aleo Team <hello@aleo.org>" ]
|
||||
description = "Compiler passes for the Leo programming language"
|
||||
homepage = "https://aleo.org"
|
||||
@ -27,19 +27,19 @@ features = [ "network" ]
|
||||
|
||||
[dependencies.leo-ast]
|
||||
path = "../ast"
|
||||
version = "=1.9.4"
|
||||
version = "=1.10.0"
|
||||
|
||||
[dependencies.leo-errors]
|
||||
path = "../../errors"
|
||||
version = "=1.9.4"
|
||||
version = "=1.10.0"
|
||||
|
||||
[dependencies.leo-parser]
|
||||
path = "../parser"
|
||||
version = "=1.9.4"
|
||||
version = "=1.10.0"
|
||||
|
||||
[dependencies.leo-span]
|
||||
path = "../span"
|
||||
version = "=1.9.4"
|
||||
version = "=1.10.0"
|
||||
|
||||
[dependencies.indexmap]
|
||||
version = "1.9"
|
||||
|
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "leo-span"
|
||||
version = "1.9.4"
|
||||
version = "1.10.0"
|
||||
authors = [ "The Aleo Team <hello@aleo.org>" ]
|
||||
description = "Span handling for the Leo programming language"
|
||||
homepage = "https://aleo.org"
|
||||
|
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "leo-abnf"
|
||||
version = "1.9.4"
|
||||
version = "1.10.0"
|
||||
authors = [ "The Aleo Team <hello@aleo.org>" ]
|
||||
description = "ABNF to Markdown converter for the Leo programming language"
|
||||
homepage = "https://aleo.org"
|
||||
|
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "leo-errors"
|
||||
version = "1.9.4"
|
||||
version = "1.10.0"
|
||||
authors = [ "The Aleo Team <hello@aleo.org>" ]
|
||||
description = "Errors for the Leo programming language"
|
||||
homepage = "https://aleo.org"
|
||||
@ -20,7 +20,7 @@ rust-version = "1.69"
|
||||
|
||||
[dependencies.leo-span]
|
||||
path = "../compiler/span"
|
||||
version = "=1.9.4"
|
||||
version = "=1.10.0"
|
||||
|
||||
[dependencies.anyhow]
|
||||
version = "1.0"
|
||||
|
5
examples/helloworld/hello/.gitignore
vendored
Normal file
5
examples/helloworld/hello/.gitignore
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
.env
|
||||
*.avm
|
||||
*.prover
|
||||
*.verifier
|
||||
outputs/
|
13
examples/helloworld/hello/README.md
Normal file
13
examples/helloworld/hello/README.md
Normal file
@ -0,0 +1,13 @@
|
||||
# hello.aleo
|
||||
|
||||
## Build Guide
|
||||
|
||||
To compile this Aleo program, run:
|
||||
```bash
|
||||
snarkvm build
|
||||
```
|
||||
|
||||
To execute this Aleo program, run:
|
||||
```bash
|
||||
snarkvm run hello
|
||||
```
|
9
examples/helloworld/hello/build/main.aleo
Normal file
9
examples/helloworld/hello/build/main.aleo
Normal file
@ -0,0 +1,9 @@
|
||||
program hello.aleo;
|
||||
|
||||
|
||||
|
||||
function main:
|
||||
input r0 as u32.public;
|
||||
input r1 as u32.private;
|
||||
add r0 r1 into r2;
|
||||
output r2 as u32.private;
|
6
examples/helloworld/hello/build/program.json
Normal file
6
examples/helloworld/hello/build/program.json
Normal file
@ -0,0 +1,6 @@
|
||||
{
|
||||
"program": "hello.aleo",
|
||||
"version": "0.0.0",
|
||||
"description": "",
|
||||
"license": "MIT"
|
||||
}
|
4
examples/helloworld/hello/inputs/hello.in
Normal file
4
examples/helloworld/hello/inputs/hello.in
Normal file
@ -0,0 +1,4 @@
|
||||
// The program input for hello/src/main.leo
|
||||
[main]
|
||||
public a: u32 = 1u32;
|
||||
b: u32 = 2u32;
|
6
examples/helloworld/hello/program.json
Normal file
6
examples/helloworld/hello/program.json
Normal file
@ -0,0 +1,6 @@
|
||||
{
|
||||
"program": "hello.aleo",
|
||||
"version": "0.0.0",
|
||||
"description": "",
|
||||
"license": "MIT"
|
||||
}
|
7
examples/helloworld/hello/src/main.leo
Normal file
7
examples/helloworld/hello/src/main.leo
Normal file
@ -0,0 +1,7 @@
|
||||
// The 'hello' program.
|
||||
program hello.aleo {
|
||||
transition main(public a: u32, b: u32) -> u32 {
|
||||
let c: u32 = a + b;
|
||||
return c;
|
||||
}
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "leo-package"
|
||||
version = "1.9.4"
|
||||
version = "1.10.0"
|
||||
authors = [ "The Aleo Team <hello@aleo.org>" ]
|
||||
description = "Package parser for the Leo programming language"
|
||||
homepage = "https://aleo.org"
|
||||
@ -24,7 +24,7 @@ features = [ "account" ]
|
||||
|
||||
[dependencies.leo-errors]
|
||||
path = "../../errors"
|
||||
version = "=1.9.4"
|
||||
version = "=1.10.0"
|
||||
|
||||
[dependencies.indexmap]
|
||||
version = "1.9"
|
||||
|
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "leo-test-framework"
|
||||
version = "1.9.4"
|
||||
version = "1.10.0"
|
||||
authors = [ "The Aleo Team <hello@aleo.org>" ]
|
||||
description = "The testing framework for the Leo programming language"
|
||||
homepage = "https://aleo.org"
|
||||
@ -24,7 +24,7 @@ harness = false
|
||||
|
||||
[dependencies.leo-errors]
|
||||
path = "../../errors"
|
||||
version = "=1.9.4"
|
||||
version = "=1.10.0"
|
||||
|
||||
[dependencies.backtrace]
|
||||
version = "0.3.68"
|
||||
|
Loading…
Reference in New Issue
Block a user