[package]
name = "polyplug_python"
description = "Python loader for polyplug - loads Python plugins via PyO3"
version.workspace = true
edition.workspace = true
license.workspace = true
rust-version.workspace = true
authors.workspace = true
repository.workspace = true
homepage.workspace = true
keywords.workspace = true
categories.workspace = true
[lib]
name = "polyplug_python"
path = "src/lib.rs"
crate-type = ["rlib", "cdylib"]
[dependencies]
polyplug = { workspace = true }
polyplug_abi = { workspace = true }
polyplug_utils = { workspace = true }
pyo3 = { workspace = true }
[target.'cfg(unix)'.dependencies]
libloading = { workspace = true }
[build-dependencies]
pyo3-build-config = { workspace = true }
[dev-dependencies]
polyplug = { workspace = true }
polyplug_abi = { workspace = true }
polyplug_utils = { workspace = true }
tempfile = { workspace = true }
criterion = { workspace = true }
[[test]]
name = "python_loader"
path = "tests/python_loader.rs"
[[bench]]
name = "dispatch_benchmark"
harness = false
[lints]
workspace = true