[package]
edition = "2024"
name = "openvpn-mgmt-codec"
version = "0.5.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "OpenVPN management protocol codecs (tokio-util en/decoder implementations)."
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/barafael/openvpn-mgmt-codec"
[features]
conformance-tests = []
[lib]
name = "openvpn_mgmt_codec"
path = "src/lib.rs"
[[example]]
name = "server_mode"
path = "examples/server_mode.rs"
[[test]]
name = "adversarial_roundtrip"
path = "tests/adversarial_roundtrip.rs"
[[test]]
name = "boundary_conditions"
path = "tests/boundary_conditions.rs"
[[test]]
name = "conformance"
path = "tests/conformance.rs"
[[test]]
name = "conformance_server"
path = "tests/conformance_server.rs"
[[test]]
name = "decoder_recovery"
path = "tests/decoder_recovery.rs"
[[test]]
name = "defensive"
path = "tests/defensive/main.rs"
[[test]]
name = "framed_integration"
path = "tests/framed_integration.rs"
[[test]]
name = "notification_edge_cases"
path = "tests/notification_edge_cases.rs"
[[test]]
name = "proptest_roundtrip"
path = "tests/proptest_roundtrip.rs"
[[test]]
name = "protocol_test"
path = "tests/protocol_test.rs"
[[test]]
name = "stateful_sequences"
path = "tests/stateful_sequences.rs"
[dependencies.bytes]
version = "1"
[dependencies.derive_more]
version = "1"
features = [
"debug",
"display",
]
[dependencies.futures-core]
version = "0.3"
[dependencies.pin-project-lite]
version = "0.2"
[dependencies.strum]
version = "0.27"
features = ["derive"]
[dependencies.thiserror]
version = "2"
[dependencies.tokio-util]
version = "0.7"
features = ["codec"]
[dependencies.tracing]
version = "0.1"
[dev-dependencies.futures]
version = "0.3"
[dev-dependencies.proptest]
version = "1"
[dev-dependencies.tokio]
version = "1"
features = [
"macros",
"rt-multi-thread",
"net",
"time",
"io-util",
]
[dev-dependencies.tracing-test]
version = "0.2"