[package]
edition = "2024"
rust-version = "1.89"
name = "rustorb-rtps"
version = "0.4.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "DDSI-RTPS wire protocol (messages, discovery, writers and readers) for rustorb-dds"
homepage = "https://github.com/rustorb/rustorb-dds"
readme = "README.md"
keywords = [
"dds",
"rtps",
"ddsi",
"pubsub",
"ros2",
]
categories = ["network-programming"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/rustorb/rustorb-dds"
[features]
default = ["shm"]
shm = ["dep:memmap2"]
[lib]
name = "rustorb_rtps"
path = "src/lib.rs"
[[test]]
name = "messages"
path = "tests/messages.rs"
[[test]]
name = "sedp_udp"
path = "tests/sedp_udp.rs"
[[test]]
name = "spdp_udp"
path = "tests/spdp_udp.rs"
[[test]]
name = "udp"
path = "tests/udp.rs"
[dependencies.memmap2]
version = "0.9"
optional = true
[dependencies.rustorb-cdr]
version = "0.6.0"
[dependencies.rustorb-typesupport]
version = "0.6.0"
[dependencies.rustorb-xtypes]
version = "0.4.0"
[dependencies.socket2]
version = "0.6"
features = ["all"]
[target."cfg(unix)".dependencies.libc]
version = "0.2"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.rust]
missing_debug_implementations = "warn"
missing_docs = "warn"
unsafe_op_in_unsafe_fn = "deny"