# 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"
rust-version = "1.93"
name = "sails-macros"
version = "2.0.0"
authors = ["Gear Technologies"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Procedural macros for the Sails framework"
documentation = "https://docs.rs/sails-macros"
readme = false
license = "GPL-3.0"
repository = "https://github.com/gear-tech/sails"

[features]
ethexe = ["sails-macros-core/ethexe"]

[lib]
name = "sails_macros"
path = "src/lib.rs"
proc-macro = true

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

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

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

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

[dependencies.proc-macro-error]
version = "1.0"

[dependencies.sails-macros-core]
version = "=2.0.0"

[dev-dependencies.parity-scale-codec]
version = "=3.7.5"
features = ["derive"]
default-features = false

[dev-dependencies.sails-type-registry]
version = "=2.0.0"
features = ["derive"]

[dev-dependencies.tokio]
version = "1.52"
features = ["full"]

[dev-dependencies.trybuild]
version = "1"
