# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "leo-compiler"
version = "3.5.0"
authors = ["The Leo Team <leo@provable.com>"]
build = false
include = [
    "Cargo.toml",
    "src",
    "README.md",
    "LICENSE.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Compiler for Leo programming language"
homepage = "https://leo-lang.org"
readme = "README.md"
keywords = [
    "aleo",
    "cryptography",
    "leo",
    "programming-language",
    "zero-knowledge",
]
categories = [
    "compilers",
    "cryptography",
    "web-programming",
]
license = "GPL-3.0"
repository = "https://github.com/ProvableHQ/leo"

[features]
ci_skip = ["leo-ast/ci_skip"]
default = []

[lib]
name = "leo_compiler"
path = "src/lib.rs"

[dependencies.aleo-std]
version = "1.0.3"

[dependencies.aleo-std-storage]
version = "1.0.3"
default-features = false

[dependencies.anyhow]
version = "1.0"

[dependencies.indexmap]
version = "2.6"
features = ["serde"]

[dependencies.leo-abi]
version = "=3.5.0"

[dependencies.leo-ast]
version = "=3.5.0"

[dependencies.leo-errors]
version = "=3.5.0"

[dependencies.leo-parser]
version = "=3.5.0"

[dependencies.leo-passes]
version = "=3.5.0"

[dependencies.leo-span]
version = "=3.5.0"

[dependencies.rand_chacha]
version = "0.3"
default-features = false

[dependencies.rayon]
version = "1.11"

[dependencies.serde_json]
version = "1.0"
features = ["preserve_order"]

[dependencies.snarkvm]
version = "4.5.0"
features = [
    "test_consensus_heights",
    "dev_skip_checks",
    "test_targets",
]

[dependencies.walkdir]
version = "2.5"

[dev-dependencies.itertools]
version = "0.14"

[dev-dependencies.leo-disassembler]
version = "=3.5.0"

[dev-dependencies.leo-test-framework]
version = "=3.5.0"

[dev-dependencies.regex]
version = "1.11"

[dev-dependencies.serde]
version = "1.0"
features = [
    "derive",
    "rc",
]

[dev-dependencies.serial_test]
version = "3.1"

[dev-dependencies.snarkvm]
version = "4.5.0"
features = [
    "test_consensus_heights",
    "dev_skip_checks",
    "test_targets",
]

[build-dependencies.walkdir]
version = "2.5"
