zplugin 0.3.1

Project Z native plugin ABI and optional fuel-metered WebAssembly sandbox
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.95"
name = "zplugin"
version = "0.3.1"
build = false
include = [
    "src/**",
    "README.md",
    "LICENSE-*",
    "docs/abi.md",
    "docs/extensions.md",
    "docs/wasm.md",
    "Cargo.toml",
    "Cargo.lock",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Project Z native plugin ABI and optional fuel-metered WebAssembly sandbox"
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"

[package.metadata.docs.rs]
all-features = true

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

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

[dependencies.wasmi]
version = "=2.0.0"
features = [
    "stable",
    "validate",
    "portable-dispatch",
    "libm",
]
optional = true
default-features = false

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

[dependencies.zsys]
version = "=0.1.1"
features = ["dylib"]
default-features = false

[lints.rust]
unsafe_op_in_unsafe_fn = "deny"

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

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