[package]
edition = "2024"
name = "velomorph"
version = "1.0.0"
authors = ["Magnus Karlsson <makarlsso@ioop.se"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "High-performance zero-copy struct transformation for Rust with asynchronous background deallocation."
documentation = "https://docs.rs/velomorph"
readme = "README.md"
keywords = [
"zero-copy",
"transformation",
"tokio",
"derive",
"latency",
]
categories = [
"memory-management",
"asynchronous",
"development-tools",
"network-programming",
"rust-patterns",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/makarlsso/velomorph"
resolver = "2"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
default = []
janitor = ["dep:tokio"]
[lib]
name = "velomorph"
path = "src/lib.rs"
[[test]]
name = "morph_integration"
path = "tests/morph_integration.rs"
[[bench]]
name = "morph_bench"
path = "benches/morph_bench.rs"
harness = false
[dependencies.thiserror]
version = "2.0"
[dependencies.tokio]
version = "1.50"
features = [
"rt",
"rt-multi-thread",
"sync",
]
optional = true
[dependencies.velomorph-derive]
version = "1.0.0"
[dev-dependencies.criterion]
version = "0.8"
features = ["html_reports"]
[dev-dependencies.tokio]
version = "1.50"
features = [
"rt",
"rt-multi-thread",
"sync",
"full",
]