vpp-plugin 0.2.2

A framework for writing high-performance, reliable VPP plugins in Rust.
Documentation
[package]
name = "vpp-plugin"
version = "0.2.2"
edition = "2024"
description = """
A framework for writing high-performance, reliable VPP plugins in Rust.
"""
repository = "https://github.com/rshearman/vpp-plugin-rs"
license = "Apache-2.0"
keywords = ["vpp"]
categories = ["api-bindings", "network-programming"]

[features]
experimental = []
process-node = ["dep:futures", "dep:futures-task", "dep:pin-project-lite"]

[build-dependencies]
bindgen = "0.72.0"
cc = "1"

[dependencies]
arrayvec = "0.7.6"
bitflags = "2.9.4"
ctor = "0.5.0"
foreign-types = "0.5"
futures = { version = "0.3.32", optional = true, default-features = false, features = ["alloc", "std"] }
futures-task = { version = "0.3.32", optional = true }
pin-project-lite = {version = "0.2.17", optional = true }
slab = "0.4.12"
# In lieu of https://github.com/rust-lang/rust/issues/44930
va_list = "0.2.1"
vpp-plugin-macros = { version = "0.2.1", path = "../vpp-plugin-macros" }

[dev-dependencies]
criterion = "0.8.1"
paste = "1.0"

[[bench]]
name = "tw_timer"
harness = false

[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]