# 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-ast"
version = "4.0.2"
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 = "Abstract syntax tree (AST) for the 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 = []
default = []

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

[dependencies.anyhow]
version = "1.0"

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

[dependencies.itertools]
version = "0.14"

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

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

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

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

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