mirror of
https://github.com/AleoHQ/leo.git
synced 2024-11-11 04:49:15 +03:00
2ff2db2570
Features: - introduces new Command and Route traits for Leo commands and Aleo PM API - most of the CLI code replace with higher-level abstraction - StructOpt - anyhow used for error handling, no more custom error classes - improves API - now every status code has its business logic - adds global flags (e.g. --quiet to suppress output) - error messages improved for convenience and better user experience Closes: - #604 - #599 - #584 - #277 - #376
186 lines
2.9 KiB
TOML
186 lines
2.9 KiB
TOML
[package]
|
|
name = "leo-lang"
|
|
version = "1.2.2"
|
|
authors = [ "The Aleo Team <hello@aleo.org>" ]
|
|
description = "The Leo programming language"
|
|
homepage = "https://aleo.org"
|
|
repository = "https://github.com/AleoHQ/leo"
|
|
keywords = [
|
|
"aleo",
|
|
"cryptography",
|
|
"leo",
|
|
"programming-language",
|
|
"zero-knowledge"
|
|
]
|
|
categories = [ "cryptography::cryptocurrencies", "web-programming" ]
|
|
include = [ "Cargo.toml", "leo", "README.md", "LICENSE.md" ]
|
|
license = "GPL-3.0"
|
|
edition = "2018"
|
|
|
|
[lib]
|
|
path = "leo/lib.rs"
|
|
|
|
[[bin]]
|
|
name = "leo"
|
|
path = "leo/main.rs"
|
|
|
|
[workspace]
|
|
members = [
|
|
"asg",
|
|
"ast",
|
|
"compiler",
|
|
"gadgets",
|
|
"grammar",
|
|
"imports",
|
|
"input",
|
|
"linter",
|
|
"package",
|
|
"state"
|
|
]
|
|
|
|
[dependencies.leo-ast]
|
|
path = "./ast"
|
|
version = "1.2.2"
|
|
|
|
[dependencies.leo-compiler]
|
|
path = "./compiler"
|
|
version = "1.2.2"
|
|
|
|
[dependencies.leo-gadgets]
|
|
path = "./gadgets"
|
|
version = "1.2.2"
|
|
|
|
[dependencies.leo-imports]
|
|
path = "./imports"
|
|
version = "1.2.2"
|
|
|
|
[dependencies.leo-input]
|
|
path = "./input"
|
|
version = "1.2.2"
|
|
|
|
[dependencies.leo-package]
|
|
path = "./package"
|
|
version = "1.2.2"
|
|
|
|
[dependencies.leo-state]
|
|
path = "./state"
|
|
version = "1.2.2"
|
|
|
|
[dependencies.snarkvm-algorithms]
|
|
version = "0.0.3"
|
|
default-features = false
|
|
|
|
[dependencies.snarkvm-curves]
|
|
version = "0.0.3"
|
|
default-features = false
|
|
|
|
[dependencies.snarkvm-errors]
|
|
version = "0.0.3"
|
|
default-features = false
|
|
|
|
[dependencies.snarkvm-gadgets]
|
|
version = "0.0.3"
|
|
default-features = false
|
|
|
|
[dependencies.snarkvm-models]
|
|
version = "0.0.3"
|
|
default-features = false
|
|
|
|
[dependencies.snarkvm-utilities]
|
|
version = "0.0.3"
|
|
|
|
[dependencies.anyhow]
|
|
version = "1.0"
|
|
|
|
[dependencies.structopt]
|
|
version = "0.3"
|
|
|
|
[dependencies.clap]
|
|
version = "2.33.3"
|
|
|
|
[dependencies.colored]
|
|
version = "2.0"
|
|
|
|
[dependencies.dirs]
|
|
version = "3.0.1"
|
|
|
|
[dependencies.console]
|
|
version = "0.14.0"
|
|
|
|
[dependencies.from-pest]
|
|
version = "0.3.1"
|
|
|
|
[dependencies.lazy_static]
|
|
version = "1.4.0"
|
|
|
|
[dependencies.notify]
|
|
version = "4.0.15"
|
|
|
|
[dependencies.num-bigint]
|
|
version = "0.3"
|
|
|
|
[dependencies.rand]
|
|
version = "0.7"
|
|
|
|
[dependencies.rand_core]
|
|
version = "0.6.1"
|
|
|
|
[dependencies.reqwest]
|
|
version = "0.11.0"
|
|
features = [ "blocking", "json", "multipart" ]
|
|
|
|
[dependencies.self_update]
|
|
version = "0.23.0"
|
|
features = [ "archive-zip" ]
|
|
|
|
[dependencies.serde]
|
|
version = "1.0"
|
|
features = [ "derive" ]
|
|
|
|
[dependencies.serde_json]
|
|
version = "1.0"
|
|
|
|
[dependencies.thiserror]
|
|
version = "1.0"
|
|
|
|
[dependencies.toml]
|
|
version = "0.5"
|
|
|
|
[dependencies.tracing]
|
|
version = "0.1"
|
|
|
|
[dependencies.tracing-subscriber]
|
|
version = "0.2"
|
|
features = [ "fmt" ]
|
|
|
|
[dependencies.zip]
|
|
version = "0.5"
|
|
|
|
[dev-dependencies.rusty-hook]
|
|
version = "0.11.2"
|
|
|
|
[features]
|
|
default = [ ]
|
|
ci_skip = [ "leo-compiler/ci_skip" ]
|
|
|
|
[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]
|
|
opt-level = 0
|
|
|
|
[profile.test]
|
|
opt-level = 0
|
|
debug-assertions = true
|
|
debug = true
|