[package]
edition = "2024"
rust-version = "1.88"
name = "composure_macros"
version = "0.1.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Procedural macros for Composure Discord bots: #[command], #[app], #[view] and rsx! markup"
homepage = "https://github.com/BlueFrog130/composure-rs"
readme = "README.md"
keywords = [
"discord",
"bot",
"macros",
"slash-commands",
"jsx",
]
categories = [
"api-bindings",
"development-tools",
]
license = "Apache-2.0"
repository = "https://github.com/BlueFrog130/composure-rs"
[lib]
name = "composure_macros"
path = "src/lib.rs"
proc-macro = true
[[test]]
name = "apps"
path = "tests/apps.rs"
[[test]]
name = "autocomplete"
path = "tests/autocomplete.rs"
[[test]]
name = "commands"
path = "tests/commands.rs"
[[test]]
name = "handlers"
path = "tests/handlers.rs"
[[test]]
name = "modals"
path = "tests/modals.rs"
[[test]]
name = "theme"
path = "tests/theme.rs"
[[test]]
name = "views"
path = "tests/views.rs"
[dependencies.proc-macro2]
version = "1"
[dependencies.quote]
version = "1"
[dependencies.rstml]
version = "0.13.1"
default-features = false
[dependencies.syn]
version = "3"
features = [
"full",
"visit-mut",
]
[dev-dependencies.futures]
version = "0.3.34"
features = ["executor"]
default-features = false
[dev-dependencies.serde]
version = "1.0.229"
features = ["derive"]
[dev-dependencies.serde_json]
version = "1.0.154"
[dev-dependencies.trybuild]
version = "1"