[package]
name = "sails-macros"
description = "Procedural macros for the Sails framework"
documentation = "https://docs.rs/sails-macros"
version.workspace = true
authors.workspace = true
edition.workspace = true
license.workspace = true
repository.workspace = true
rust-version.workspace = true

[lib]
proc-macro = true

[dependencies]
sails-macros-core.workspace = true
proc-macro-error.workspace = true

[dev-dependencies]
parity-scale-codec = { workspace = true, features = ["derive"] }
# use relative path for the publish workflow
sails-rs = { path = "..", features = ["std"] }
sails-type-registry = { workspace = true, features = ["derive"] }
tokio = { workspace = true, features = ["full"] }
trybuild.workspace = true

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