[package]
edition = "2024"
rust-version = "1.88"
name = "rust-samp-sdk"
version = "3.0.0"
authors = [
"ZOTTCE <zottce@gmail.com>",
"NullSablex <https://github.com/NullSablex>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Low-level FFI bindings for the SA-MP AMX virtual machine and open.mp native component ABI. Used internally by `rust-samp`; depend on it directly only if you need raw access without the higher-level macros and lifecycle."
homepage = "https://github.com/NullSablex/rust-samp"
documentation = "https://nullsablex.github.io/rust-samp/"
readme = "README.md"
keywords = [
"samp",
"open-mp",
"amx",
"pawn",
"ffi",
]
categories = [
"external-ffi-bindings",
"game-development",
]
license = "MIT"
repository = "https://github.com/NullSablex/rust-samp"
[package.metadata.docs.rs]
features = ["encoding"]
default-target = "i686-pc-windows-msvc"
[features]
default = []
encoding = ["encoding_rs"]
samp-only = []
[lib]
name = "samp_sdk"
path = "src/lib.rs"
bench = false
[[bench]]
name = "buffer_bench"
path = "benches/buffer_bench.rs"
harness = false
[[bench]]
name = "string_bench"
path = "benches/string_bench.rs"
harness = false
[dependencies.bitflags]
version = "2.10"
[dependencies.encoding_rs]
version = "0.8"
optional = true
[dev-dependencies.criterion]
version = "0.8"
features = ["html_reports"]