zplugin 0.2.0

Zero-dependency no_std native plugin ABI, loader, and generated Rust interfaces
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.85.0"
name = "zplugin"
version = "0.2.0"
build = false
include = [
    "src/**",
    "README.md",
    "LICENSE-*",
    "docs/abi.md",
    "docs/extensions.md",
    "Cargo.toml",
    "Cargo.lock",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Zero-dependency no_std native plugin ABI, loader, and generated Rust interfaces"
readme = "README.md"
keywords = [
    "plugin",
    "ffi",
    "no-std",
    "dynamic",
    "hot-reload",
]
categories = [
    "no-std",
    "api-bindings",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/LIghtJUNction/zplugin"
resolver = "2"

[features]
alloc = []
default = []
hot-reload = ["alloc"]
macros = ["dep:zplugin-macros"]
std = ["alloc"]

[lib]
name = "zplugin"
path = "src/lib.rs"

[dependencies.zplugin-macros]
version = "=0.2.0"
optional = true

[lints.rust]
unsafe_op_in_unsafe_fn = "deny"

[profile.bench]
lto = "thin"
codegen-units = 1

[profile.release]
lto = "thin"
codegen-units = 1