polyplug_native 0.1.1

Native loader for polyplug - loads C ABI plugins (.so/.dll/.dylib)
# 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"
name = "polyplug_native"
version = "0.1.1"
authors = ["Islam Nofl (corrm) <islamnofl.official@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Native loader for polyplug - loads C ABI plugins (.so/.dll/.dylib)"
homepage = "https://github.com/polyplug/polyplug"
readme = false
keywords = [
    "plugin",
    "runtime",
    "ffi",
    "cross-language",
    "abi",
]
categories = [
    "development-tools",
    "api-bindings",
]
license = "MIT"
repository = "https://github.com/polyplug/polyplug"
resolver = "2"

[lib]
name = "polyplug_native"
crate-type = [
    "rlib",
    "cdylib",
]
path = "src/lib.rs"

[[test]]
name = "native_loader"
path = "tests/native_loader.rs"

[dependencies.crossbeam-epoch]
version = "0.9"

[dependencies.libloading]
version = "0.9"

[dependencies.polyplug]
version = "0.1.1"

[dependencies.polyplug_abi]
version = "0.1.1"

[dependencies.polyplug_utils]
version = "0.1.1"

[lints.clippy]
clone_on_ref_ptr = "warn"
expect_used = "warn"
std_instead_of_core = "warn"
undocumented_unsafe_blocks = "warn"
unwrap_used = "deny"

[lints.rust]
improper_ctypes_definitions = "deny"
unsafe_op_in_unsafe_fn = "warn"