2020-03-10 06:55:41 +03:00
|
|
|
[package]
|
2020-08-21 14:41:13 +03:00
|
|
|
name = "leo-lang"
|
2024-09-19 03:00:35 +03:00
|
|
|
version = "2.3.0"
|
2024-09-04 21:46:50 +03:00
|
|
|
authors = [ "The Leo Team <leo@provable.com>" ]
|
2020-08-21 12:54:04 +03:00
|
|
|
description = "The Leo programming language"
|
2024-09-04 21:46:50 +03:00
|
|
|
homepage = "https://leo-lang.org"
|
|
|
|
repository = "https://github.com/ProvableHQ/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/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/src/main.leo",
|
2023-08-16 00:14:26 +03:00
|
|
|
"examples/tictactoe/run.sh",
|
|
|
|
"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",
|
2023-10-19 21:55:59 +03:00
|
|
|
"tests/test-framework",
|
2023-11-03 19:49:16 +03:00
|
|
|
"utils/disassembler",
|
|
|
|
"utils/retriever"
|
2020-08-29 09:26:19 +03:00
|
|
|
]
|
|
|
|
|
2024-10-05 05:32:39 +03:00
|
|
|
[workspace.dependencies.leo-ast]
|
|
|
|
path = "./compiler/ast"
|
|
|
|
version = "2.3.0"
|
|
|
|
|
|
|
|
[workspace.dependencies.leo-compiler]
|
|
|
|
path = "./compiler/compiler"
|
|
|
|
version = "2.3.0"
|
|
|
|
|
|
|
|
[workspace.dependencies.leo-disassembler]
|
|
|
|
path = "./utils/disassembler"
|
|
|
|
version = "2.3.0"
|
|
|
|
|
|
|
|
[workspace.dependencies.leo-errors]
|
|
|
|
path = "./errors"
|
|
|
|
version = "2.3.0"
|
|
|
|
|
|
|
|
[workspace.dependencies.leo-package]
|
|
|
|
path = "./leo/package"
|
|
|
|
version = "2.3.0"
|
|
|
|
|
|
|
|
[workspace.dependencies.leo-parser]
|
|
|
|
path = "./compiler/parser"
|
|
|
|
version = "2.3.0"
|
|
|
|
|
|
|
|
[workspace.dependencies.leo-passes]
|
|
|
|
path = "./compiler/passes"
|
|
|
|
version = "2.3.0"
|
|
|
|
|
|
|
|
[workspace.dependencies.leo-span]
|
|
|
|
path = "./compiler/span"
|
|
|
|
version = "2.3.0"
|
|
|
|
|
|
|
|
[workspace.dependencies.leo-retriever]
|
|
|
|
path = "./utils/retriever"
|
|
|
|
version = "2.3.0"
|
|
|
|
|
|
|
|
[workspace.dependencies.aleo-std]
|
|
|
|
version = "0.1.24"
|
|
|
|
default-features = false
|
|
|
|
|
|
|
|
[workspace.dependencies.indexmap]
|
|
|
|
version = "2.6"
|
|
|
|
features = [ "serde" ]
|
|
|
|
|
|
|
|
[workspace.dependencies.itertools]
|
|
|
|
version = "0.13.0"
|
|
|
|
|
|
|
|
[workspace.dependencies.rand]
|
|
|
|
version = "0.8"
|
|
|
|
default-features = false
|
|
|
|
|
|
|
|
[workspace.dependencies.regex]
|
|
|
|
version = "1.11.0"
|
|
|
|
|
2022-12-01 00:40:52 +03:00
|
|
|
[workspace.dependencies.snarkvm]
|
2024-09-18 16:47:37 +03:00
|
|
|
version = "1.0.0"
|
2022-12-01 00:40:52 +03:00
|
|
|
|
2024-10-05 05:32:39 +03:00
|
|
|
[workspace.dependencies.serde]
|
|
|
|
version = "1.0.210"
|
|
|
|
features = [ "derive", "rc" ]
|
|
|
|
|
|
|
|
[workspace.dependencies.serde_json]
|
|
|
|
version = "1.0"
|
|
|
|
features = [ "preserve_order" ]
|
|
|
|
|
|
|
|
[workspace.dependencies.tracing]
|
|
|
|
version = "0.1"
|
|
|
|
|
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 = [ ]
|
2024-10-15 23:59:33 +03:00
|
|
|
# TODO: Consider refactoring to `testnet`, `mainnet`, and `canary` features, with all three being the default.
|
2024-10-13 04:28:27 +03:00
|
|
|
only_testnet = [ ]
|
2022-12-01 00:31:33 +03:00
|
|
|
|
2024-05-07 00:46:13 +03:00
|
|
|
[dependencies]
|
2024-06-12 23:45:57 +03:00
|
|
|
dialoguer = "0.11.0"
|
2024-06-08 02:15:19 +03:00
|
|
|
num-format = "0.4.4"
|
2024-06-06 03:40:05 +03:00
|
|
|
text-tables = "0.3.1"
|
2024-08-09 13:12:30 +03:00
|
|
|
ureq = "2.10.1"
|
2024-05-07 00:46:13 +03:00
|
|
|
|
2024-09-05 01:18:01 +03:00
|
|
|
[dependencies.leo-ast]
|
2024-10-05 05:32:39 +03:00
|
|
|
workspace = true
|
2022-07-21 01:02:33 +03:00
|
|
|
|
2024-09-05 01:18:01 +03:00
|
|
|
[dependencies.leo-compiler]
|
2024-10-05 05:32:39 +03:00
|
|
|
workspace = true
|
2020-10-30 21:48:40 +03:00
|
|
|
|
2024-09-05 01:18:01 +03:00
|
|
|
[dependencies.leo-errors]
|
2024-10-05 05:32:39 +03:00
|
|
|
workspace = true
|
2021-08-04 10:42:48 +03:00
|
|
|
|
2024-09-05 01:18:01 +03:00
|
|
|
[dependencies.leo-package]
|
2024-10-05 05:32:39 +03:00
|
|
|
workspace = true
|
2021-07-01 23:59:56 +03:00
|
|
|
|
2024-09-05 01:18:01 +03:00
|
|
|
[dependencies.leo-parser]
|
2024-10-05 05:32:39 +03:00
|
|
|
workspace = true
|
2022-07-15 04:08:06 +03:00
|
|
|
|
2024-09-05 01:18:01 +03:00
|
|
|
[dependencies.leo-span]
|
2024-10-05 05:32:39 +03:00
|
|
|
workspace = true
|
2022-04-27 21:44:05 +03:00
|
|
|
|
2024-09-05 01:18:01 +03:00
|
|
|
[dependencies.leo-retriever]
|
2024-10-05 05:32:39 +03:00
|
|
|
workspace = true
|
2023-11-03 19:49:16 +03:00
|
|
|
|
2024-09-05 01:18:01 +03:00
|
|
|
[dependencies.aleo-std]
|
2024-10-05 05:32:39 +03:00
|
|
|
workspace = true
|
2024-03-16 02:26:09 +03:00
|
|
|
|
2024-09-05 01:18:01 +03:00
|
|
|
[dependencies.backtrace]
|
2024-09-09 13:32:44 +03:00
|
|
|
version = "0.3.74"
|
2022-04-29 23:09:27 +03:00
|
|
|
|
2024-09-05 01:18:01 +03:00
|
|
|
[dependencies.clap]
|
|
|
|
version = "4.5"
|
|
|
|
features = [ "derive", "env", "color", "unstable-styles" ]
|
2020-08-29 09:26:19 +03:00
|
|
|
|
2024-09-05 01:18:01 +03:00
|
|
|
[dependencies.color-backtrace]
|
|
|
|
version = "0.6.1"
|
2021-08-05 00:19:19 +03:00
|
|
|
|
2024-09-05 01:18:01 +03:00
|
|
|
[dependencies.colored]
|
|
|
|
version = "2.0"
|
2020-08-29 09:26:19 +03:00
|
|
|
|
2024-09-05 01:18:01 +03:00
|
|
|
[dependencies.dotenvy]
|
|
|
|
version = "0.15.7"
|
2023-08-08 02:01:33 +03:00
|
|
|
|
2024-09-05 01:18:01 +03:00
|
|
|
[dependencies.indexmap]
|
2024-10-05 05:32:39 +03:00
|
|
|
workspace = true
|
2020-08-29 09:26:19 +03:00
|
|
|
|
2024-09-05 01:18:01 +03:00
|
|
|
[dependencies.rand]
|
2024-10-05 05:32:39 +03:00
|
|
|
workspace = true
|
2020-08-29 09:26:19 +03:00
|
|
|
|
2024-09-05 01:18:01 +03:00
|
|
|
[dependencies.rand_chacha]
|
|
|
|
version = "0.3.0"
|
|
|
|
default-features = false
|
2023-08-08 02:01:33 +03:00
|
|
|
|
2024-09-05 01:18:01 +03:00
|
|
|
[dependencies.self_update]
|
|
|
|
version = "0.41.0"
|
|
|
|
features = [ "archive-zip", "compression-zip-deflate" ]
|
2020-08-29 09:26:19 +03:00
|
|
|
|
2024-09-05 01:18:01 +03:00
|
|
|
[dependencies.serde]
|
2024-10-05 05:32:39 +03:00
|
|
|
workspace = true
|
2020-08-29 09:26:19 +03:00
|
|
|
|
2024-09-05 01:18:01 +03:00
|
|
|
[dependencies.serde_json]
|
2024-10-05 05:32:39 +03:00
|
|
|
workspace = true
|
2020-08-29 09:26:19 +03:00
|
|
|
|
2024-09-05 01:18:01 +03:00
|
|
|
[dependencies.serial_test]
|
|
|
|
version = "3.1.1"
|
2023-12-19 01:47:49 +03:00
|
|
|
|
2024-09-05 01:18:01 +03:00
|
|
|
[dependencies.snarkvm]
|
|
|
|
workspace = true
|
|
|
|
features = [ "circuit", "console" ]
|
2022-12-01 00:31:33 +03:00
|
|
|
|
2024-09-05 01:18:01 +03:00
|
|
|
[dependencies.sys-info]
|
|
|
|
version = "0.9.1"
|
2022-04-29 23:09:27 +03:00
|
|
|
|
2024-09-05 01:18:01 +03:00
|
|
|
[dependencies.toml]
|
|
|
|
version = "0.8"
|
2020-08-29 09:26:19 +03:00
|
|
|
|
2024-09-05 01:18:01 +03:00
|
|
|
[dependencies.tracing]
|
|
|
|
version = "0.1"
|
2020-08-29 09:26:19 +03:00
|
|
|
|
2024-09-05 01:18:01 +03:00
|
|
|
[dependencies.tracing-subscriber]
|
|
|
|
version = "0.3.18"
|
|
|
|
features = [ "fmt" ]
|
2020-08-29 09:26:19 +03:00
|
|
|
|
2024-09-05 01:18:01 +03:00
|
|
|
[dependencies.crossterm]
|
|
|
|
version = "0.28.1"
|
2023-11-28 12:00:20 +03:00
|
|
|
|
2024-09-05 01:18:01 +03:00
|
|
|
[dependencies.rpassword]
|
|
|
|
version = "7.3.1"
|
2023-11-28 13:54:30 +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"
|
|
|
|
|
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
|
2024-10-13 02:39:07 +03:00
|
|
|
lto = "off"
|
2022-12-01 00:31:33 +03:00
|
|
|
incremental = true
|
2020-06-08 09:01:57 +03:00
|
|
|
|
|
|
|
[profile.test]
|
2022-12-01 00:31:33 +03:00
|
|
|
opt-level = 2
|
2024-10-13 02:39:07 +03:00
|
|
|
lto = "off"
|
2022-12-01 00:31:33 +03:00
|
|
|
incremental = true
|
2020-06-08 09:01:57 +03:00
|
|
|
debug = true
|
2022-12-01 00:40:52 +03:00
|
|
|
debug-assertions = true
|