2020-03-10 06:55:41 +03:00
|
|
|
[package]
|
2020-08-21 14:41:13 +03:00
|
|
|
name = "leo-lang"
|
2023-10-20 07:02:05 +03:00
|
|
|
version = "1.10.0"
|
2020-08-29 09:26:19 +03:00
|
|
|
authors = [ "The Aleo Team <hello@aleo.org>" ]
|
2020-08-21 12:54:04 +03:00
|
|
|
description = "The Leo programming language"
|
|
|
|
homepage = "https://aleo.org"
|
|
|
|
repository = "https://github.com/AleoHQ/leo"
|
2020-08-29 09:26:19 +03:00
|
|
|
keywords = [
|
|
|
|
"aleo",
|
|
|
|
"cryptography",
|
|
|
|
"leo",
|
|
|
|
"programming-language",
|
|
|
|
"zero-knowledge"
|
|
|
|
]
|
2022-12-01 00:31:33 +03:00
|
|
|
categories = [ "compilers", "cryptography", "web-programming" ]
|
2023-08-08 21:02:42 +03:00
|
|
|
include = [
|
|
|
|
"Cargo.toml",
|
|
|
|
"leo",
|
|
|
|
"README.md",
|
|
|
|
"LICENSE.md",
|
|
|
|
"examples/lottery/inputs/lottery.in",
|
|
|
|
"examples/lottery/src/main.leo",
|
2023-08-16 00:14:26 +03:00
|
|
|
"examples/lottery/run.sh",
|
2023-08-08 21:02:42 +03:00
|
|
|
"examples/tictactoe/inputs/tictactoe.in",
|
|
|
|
"examples/tictactoe/src/main.leo",
|
2023-08-16 00:14:26 +03:00
|
|
|
"examples/tictactoe/run.sh",
|
2023-08-08 21:02:42 +03:00
|
|
|
"examples/token/inputs/token.in",
|
2023-08-16 00:14:26 +03:00
|
|
|
"examples/token/src/main.leo",
|
2023-09-08 20:18:21 +03:00
|
|
|
"examples/token/run.sh"
|
2023-08-08 21:02:42 +03:00
|
|
|
]
|
2020-08-21 12:54:04 +03:00
|
|
|
license = "GPL-3.0"
|
2022-01-21 23:04:37 +03:00
|
|
|
edition = "2021"
|
2020-04-24 04:33:43 +03:00
|
|
|
|
|
|
|
[workspace]
|
2020-08-29 09:26:19 +03:00
|
|
|
members = [
|
2022-07-21 01:02:33 +03:00
|
|
|
"compiler/ast",
|
2022-02-23 02:12:52 +03:00
|
|
|
"compiler/compiler",
|
2022-07-15 04:08:06 +03:00
|
|
|
"compiler/parser",
|
2022-09-16 18:11:59 +03:00
|
|
|
"compiler/passes",
|
|
|
|
"compiler/span",
|
2022-02-23 02:12:52 +03:00
|
|
|
"docs/grammar",
|
2022-07-13 02:41:42 +03:00
|
|
|
"errors",
|
2022-02-23 02:12:52 +03:00
|
|
|
"leo/package",
|
2022-11-15 05:56:09 +03:00
|
|
|
"tests/test-framework"
|
2020-08-29 09:26:19 +03:00
|
|
|
]
|
|
|
|
|
2022-12-01 00:40:52 +03:00
|
|
|
[workspace.dependencies.snarkvm]
|
2023-11-27 13:43:15 +03:00
|
|
|
version = "0.16.12"
|
2022-12-01 00:40:52 +03:00
|
|
|
|
2022-12-01 00:31:33 +03:00
|
|
|
[lib]
|
|
|
|
path = "leo/lib.rs"
|
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
name = "leo"
|
2023-06-13 00:39:02 +03:00
|
|
|
path = "leo/cli/main.rs"
|
2022-12-01 00:31:33 +03:00
|
|
|
|
|
|
|
[features]
|
|
|
|
default = [ ]
|
|
|
|
ci_skip = [ "leo-compiler/ci_skip" ]
|
|
|
|
noconfig = [ ]
|
|
|
|
|
2022-07-21 01:02:33 +03:00
|
|
|
[dependencies.leo-ast]
|
|
|
|
path = "./compiler/ast"
|
2023-10-20 07:02:05 +03:00
|
|
|
version = "=1.10.0"
|
2022-07-21 01:02:33 +03:00
|
|
|
|
2020-10-31 03:31:09 +03:00
|
|
|
[dependencies.leo-compiler]
|
2022-02-23 02:12:52 +03:00
|
|
|
path = "./compiler/compiler"
|
2023-10-20 07:02:05 +03:00
|
|
|
version = "=1.10.0"
|
2020-10-30 21:48:40 +03:00
|
|
|
|
2021-08-04 10:42:48 +03:00
|
|
|
[dependencies.leo-errors]
|
2022-07-13 02:41:42 +03:00
|
|
|
path = "./errors"
|
2023-10-20 07:02:05 +03:00
|
|
|
version = "=1.10.0"
|
2021-08-04 10:42:48 +03:00
|
|
|
|
2020-08-29 09:26:19 +03:00
|
|
|
[dependencies.leo-package]
|
2022-02-23 02:12:52 +03:00
|
|
|
path = "./leo/package"
|
2023-10-20 07:02:05 +03:00
|
|
|
version = "=1.10.0"
|
2021-07-01 23:59:56 +03:00
|
|
|
|
2022-07-15 04:08:06 +03:00
|
|
|
[dependencies.leo-parser]
|
|
|
|
path = "./compiler/parser"
|
2023-10-20 07:02:05 +03:00
|
|
|
version = "=1.10.0"
|
2022-07-15 04:08:06 +03:00
|
|
|
|
2022-04-27 21:44:05 +03:00
|
|
|
[dependencies.leo-span]
|
2022-07-13 02:37:10 +03:00
|
|
|
path = "./compiler/span"
|
2023-10-20 07:02:05 +03:00
|
|
|
version = "=1.10.0"
|
2022-04-27 21:44:05 +03:00
|
|
|
|
2022-04-29 23:09:27 +03:00
|
|
|
[dependencies.backtrace]
|
2023-07-06 04:06:21 +03:00
|
|
|
version = "0.3.68"
|
2022-04-29 23:09:27 +03:00
|
|
|
|
2020-08-29 09:26:19 +03:00
|
|
|
[dependencies.clap]
|
2023-09-08 20:09:25 +03:00
|
|
|
version = "4.4"
|
2023-06-01 06:37:17 +03:00
|
|
|
features = [ "derive", "env", "color", "unstable-styles" ]
|
2020-08-29 09:26:19 +03:00
|
|
|
|
2022-01-21 23:04:37 +03:00
|
|
|
[dependencies.color-backtrace]
|
2023-10-23 13:05:01 +03:00
|
|
|
version = "0.6.1"
|
2021-08-05 00:19:19 +03:00
|
|
|
|
2020-08-29 09:26:19 +03:00
|
|
|
[dependencies.colored]
|
|
|
|
version = "2.0"
|
|
|
|
|
2022-04-29 23:09:27 +03:00
|
|
|
[dependencies.console]
|
2023-05-23 21:36:04 +03:00
|
|
|
version = "0.15.7"
|
2022-04-21 01:46:41 +03:00
|
|
|
|
2020-08-29 09:26:19 +03:00
|
|
|
[dependencies.dirs]
|
2023-03-20 14:00:42 +03:00
|
|
|
version = "5.0.0"
|
2020-08-29 09:26:19 +03:00
|
|
|
|
2023-08-08 02:01:33 +03:00
|
|
|
[dependencies.dotenvy]
|
|
|
|
version = "0.15.7"
|
|
|
|
|
2021-07-12 21:45:26 +03:00
|
|
|
[dependencies.indexmap]
|
2022-06-17 13:24:48 +03:00
|
|
|
version = "1.9"
|
2022-11-15 05:56:09 +03:00
|
|
|
features = [ "serde" ]
|
2021-07-12 21:45:26 +03:00
|
|
|
|
2020-08-29 09:26:19 +03:00
|
|
|
[dependencies.lazy_static]
|
|
|
|
version = "1.4.0"
|
|
|
|
|
|
|
|
[dependencies.rand]
|
2021-02-25 19:56:20 +03:00
|
|
|
version = "0.8"
|
2020-08-29 09:26:19 +03:00
|
|
|
|
2023-08-08 02:01:33 +03:00
|
|
|
[dependencies.rand_chacha]
|
|
|
|
version = "0.3.0"
|
|
|
|
default-features = false
|
|
|
|
|
2020-08-29 09:26:19 +03:00
|
|
|
[dependencies.rand_core]
|
2022-09-16 13:27:42 +03:00
|
|
|
version = "0.6.4"
|
2020-08-29 09:26:19 +03:00
|
|
|
|
|
|
|
[dependencies.reqwest]
|
2023-10-04 13:29:32 +03:00
|
|
|
version = "0.11.22"
|
2021-01-11 22:43:08 +03:00
|
|
|
features = [ "blocking", "json", "multipart" ]
|
2020-08-29 09:26:19 +03:00
|
|
|
|
|
|
|
[dependencies.self_update]
|
2023-10-23 13:05:40 +03:00
|
|
|
version = "0.39.0"
|
2020-08-29 09:26:19 +03:00
|
|
|
features = [ "archive-zip" ]
|
|
|
|
|
|
|
|
[dependencies.serde]
|
|
|
|
version = "1.0"
|
|
|
|
features = [ "derive" ]
|
|
|
|
|
|
|
|
[dependencies.serde_json]
|
|
|
|
version = "1.0"
|
|
|
|
|
2022-12-01 00:31:33 +03:00
|
|
|
[dependencies.snarkvm]
|
|
|
|
workspace = true
|
2023-04-15 22:28:20 +03:00
|
|
|
features = [ "circuit", "console" ]
|
2022-12-01 00:31:33 +03:00
|
|
|
|
2022-04-29 23:09:27 +03:00
|
|
|
[dependencies.sys-info]
|
|
|
|
version = "0.9.1"
|
|
|
|
|
2020-08-29 09:26:19 +03:00
|
|
|
[dependencies.toml]
|
2023-09-13 13:16:02 +03:00
|
|
|
version = "0.8"
|
2020-08-29 09:26:19 +03:00
|
|
|
|
|
|
|
[dependencies.tracing]
|
|
|
|
version = "0.1"
|
|
|
|
|
|
|
|
[dependencies.tracing-subscriber]
|
2023-11-14 13:08:21 +03:00
|
|
|
version = "0.3.18"
|
2020-08-29 09:26:19 +03:00
|
|
|
features = [ "fmt" ]
|
|
|
|
|
|
|
|
[dependencies.zip]
|
2022-10-06 21:31:58 +03:00
|
|
|
version = "^0.6"
|
2020-08-29 09:26:19 +03:00
|
|
|
|
2021-04-15 23:49:42 +03:00
|
|
|
[target."cfg(windows)".dependencies.ansi_term]
|
2021-04-13 19:16:04 +03:00
|
|
|
version = "0.12.1"
|
|
|
|
|
2021-04-21 13:01:11 +03:00
|
|
|
[dev-dependencies.assert_cmd]
|
2023-07-17 19:56:08 +03:00
|
|
|
version = "2.0.12"
|
2021-04-21 13:01:11 +03:00
|
|
|
|
2022-01-27 23:57:52 +03:00
|
|
|
[dev-dependencies.rusty-hook]
|
|
|
|
version = "0.11.2"
|
|
|
|
|
2021-04-26 12:24:56 +03:00
|
|
|
[dev-dependencies.test_dir]
|
2022-04-05 13:18:31 +03:00
|
|
|
version = "0.2.0"
|
2021-04-21 13:01:11 +03:00
|
|
|
|
2022-06-30 10:50:25 +03:00
|
|
|
[build-dependencies.walkdir]
|
|
|
|
version = "2"
|
|
|
|
|
2020-06-08 09:01:57 +03:00
|
|
|
[profile.release]
|
|
|
|
opt-level = 3
|
|
|
|
lto = "thin"
|
|
|
|
incremental = true
|
|
|
|
|
|
|
|
[profile.bench]
|
|
|
|
opt-level = 3
|
|
|
|
debug = false
|
|
|
|
rpath = false
|
|
|
|
lto = "thin"
|
|
|
|
incremental = true
|
|
|
|
debug-assertions = false
|
|
|
|
|
|
|
|
[profile.dev]
|
2022-12-01 00:31:33 +03:00
|
|
|
opt-level = 2
|
|
|
|
lto = "thin"
|
|
|
|
incremental = true
|
2020-06-08 09:01:57 +03:00
|
|
|
|
|
|
|
[profile.test]
|
2022-12-01 00:31:33 +03:00
|
|
|
opt-level = 2
|
|
|
|
lto = "thin"
|
|
|
|
incremental = true
|
2020-06-08 09:01:57 +03:00
|
|
|
debug = true
|
2022-12-01 00:40:52 +03:00
|
|
|
debug-assertions = true
|