[package]
edition = "2024"
rust-version = "1.88"
name = "rust-samp-codegen"
version = "1.3.0"
authors = [
"ZOTTCE <zottce@gmail.com>",
"NullSablex <https://github.com/NullSablex>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Proc macros (`#[native]`, `initialize_plugin!`, `#[derive(SampPlugin)]`) for the `rust-samp` SDK. Generates the FFI boilerplate that turns Rust methods into Pawn-callable natives and the entry points required by SA-MP and open.mp."
homepage = "https://github.com/NullSablex/rust-samp"
documentation = "https://nullsablex.github.io/rust-samp/"
readme = "README.md"
keywords = [
"samp",
"open-mp",
"pawn",
"proc-macro",
"codegen",
]
categories = [
"development-tools::procedural-macro-helpers",
"game-development",
]
license = "MIT"
repository = "https://github.com/NullSablex/rust-samp"
[lib]
name = "samp_codegen"
path = "src/lib.rs"
proc-macro = true
[dependencies.proc-macro2]
version = "1.0"
[dependencies.quote]
version = "1.0"
[dependencies.syn]
version = "2.0"
features = [
"full",
"fold",
]