[build-dependencies.build-target]
version = "0.8"
[build-dependencies.cargo-emit]
version = "0.2"
[build-dependencies.rustc_version]
version = "0.4"
[dependencies.cfg-tt]
version = "0.3"
[dependencies.ffi-opaque]
version = "2.0"
[dependencies.konst]
version = "0.4"
[dev-dependencies.static_assertions]
version = "1.1"
[features]
abi_vectorcall = ["nightly"]
default = []
max-arity-12 = []
nightly = []
stable = []
[lib]
name = "fn_ptr"
path = "src/lib.rs"
[lints.rust.unexpected_cfgs]
check-cfg = ["cfg(nightly_build)", "cfg(has_abi_cdecl)", "cfg(has_abi_stdcall)", "cfg(has_abi_fastcall)", "cfg(has_abi_thiscall)", "cfg(has_abi_vectorcall)", "cfg(has_abi_win64)", "cfg(has_abi_sysv64)", "cfg(has_abi_aapcs)"]
level = "warn"
priority = 0
[package]
authors = ["OpenByte <development.openbyte@gmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = "build.rs"
categories = ["no-std", "no-std::no-alloc", "rust-patterns"]
description = "A crate providing function pointer traits."
documentation = "https://docs.rs/fn-ptr"
edition = "2024"
keywords = ["fn", "function", "fn_traits"]
license = "MIT"
name = "fn-ptr"
readme = "README.md"
repository = "https://github.com/OpenByteDev/fn-ptr"
version = "0.8.0"
[[test]]
name = "basic"
path = "tests/basic.rs"
[[test]]
name = "extern"
path = "tests/extern.rs"
[[test]]
name = "safety"
path = "tests/safety.rs"