[package] name = "ros_pointcloud2" version = "0.4.0" edition = "2021" authors = ["Christopher Sieh "] description = "Customizable conversions for working with sensor_msgs/PointCloud2." repository = "https://github.com/stelzo/ros_pointcloud2" license = "MIT" keywords = ["ros", "pointcloud2", "pointcloud", "message"] categories = [ "science::robotics", "encoding", "data-structures", "api-bindings", ] readme = "README.md" documentation = "https://docs.rs/ros_pointcloud2" homepage = "https://github.com/stelzo/ros_pointcloud2" exclude = [ "**/tests/**", "**/examples/**", "**/benches/**", "**/target/**", "**/build/**", "**/dist/**", "**/docs/**", "**/doc/**", ] [dependencies] rosrust_msg = { version = "0.1", optional = true } rosrust = { version = "0.9.11", optional = true } r2r = { version = "0.8.4", optional = true } rayon = { version = "1", optional = true } nalgebra = { version = "0", optional = true } rpcl2_derive = { path = "./rpcl2_derive", optional = true } type-layout = { version = "0.2", optional = true } [dev-dependencies] rand = "0.8" criterion = { version = "0.4", features = ["html_reports"] } [[bench]] name = "roundtrip" harness = false [features] rosrust_msg = ["dep:rosrust_msg", "dep:rosrust"] r2r_msg = ["dep:r2r"] rayon = ["dep:rayon"] derive = ["dep:rpcl2_derive", "dep:type-layout"] nalgebra = ["dep:nalgebra"] default = ["rayon", "derive", "nalgebra"]