# 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 = "2021"
name = "runar-compiler-rust"
version = "0.4.5"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust implementation of the Rúnar compiler (full pipeline: .runar.ts → Bitcoin Script)"
homepage = "https://github.com/icellan/runar"
readme = "README.md"
keywords = [
    "bitcoin",
    "smart-contracts",
    "bsv",
    "compiler",
]
categories = ["compilers"]
license = "MIT"
repository = "https://github.com/icellan/runar"

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

[[bin]]
name = "runar-compiler-rust"
path = "src/main.rs"

[[test]]
name = "compiler_tests"
path = "tests/compiler_tests.rs"

[[test]]
name = "ec_optimizer_tests"
path = "tests/ec_optimizer_tests.rs"

[[test]]
name = "frontend_tests"
path = "tests/frontend_tests.rs"

[[test]]
name = "multiformat_tests"
path = "tests/multiformat_tests.rs"

[[test]]
name = "optimizer_tests"
path = "tests/optimizer_tests.rs"

[dependencies.clap]
version = "4.5"
features = ["derive"]

[dependencies.hex]
version = "0.4"

[dependencies.serde]
version = "=1.0.203"
features = ["derive"]

[dependencies.serde_json]
version = "1.0"

[dependencies.sha2]
version = "0.10"

[dependencies.swc_common]
version = "0.37"

[dependencies.swc_ecma_ast]
version = "0.118"

[dependencies.swc_ecma_parser]
version = "0.149"
