[package]
edition = "2024"
name = "hiroz"
version = "0.2.0"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Native Rust ROS 2 implementation using Zenoh"
homepage = "https://github.com/ZettaScaleLabs/hiroz"
readme = "README.md"
keywords = [
"ros2",
"zenoh",
"robotics",
"middleware",
"rclrs",
]
categories = [
"network-programming",
"science::robotics",
]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/ZettaScaleLabs/hiroz"
resolver = "2"
[package.metadata.docs.rs]
features = [
"jazzy",
"rmw-zenoh",
"dynamic-schema-loader",
]
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
config-builders = []
default = [
"config-builders",
"jazzy",
"rmw-zenoh",
]
dynamic-schema-loader = ["hiroz-codegen"]
ffi = []
flatbuffers = []
generate-configs = []
humble = [
"no-type-hash",
"no-jazzy",
"no-rolling",
"no-kilted",
"no-lyrical",
]
humble-compat = []
jazzy = [
"type-hash",
"no-humble",
"no-rolling",
"no-kilted",
"no-lyrical",
]
kilted = [
"type-hash",
"no-humble",
"no-jazzy",
"no-rolling",
"no-lyrical",
]
lyrical = [
"type-hash",
"no-humble",
"no-jazzy",
"no-rolling",
"no-kilted",
]
no-humble = []
no-jazzy = []
no-kilted = []
no-lyrical = []
no-rolling = []
no-type-hash = ["hiroz-protocol/no-type-hash"]
protobuf = [
"prost",
"prost-build",
]
python = ["pyo3"]
rcl-z = []
rmw = []
rmw-zenoh = ["hiroz-protocol/rmw-zenoh"]
rolling = [
"type-hash",
"no-humble",
"no-jazzy",
"no-kilted",
"no-lyrical",
]
type-hash = []
[lib]
name = "hiroz"
crate-type = [
"lib",
"staticlib",
]
path = "src/lib.rs"
[[example]]
name = "battery_state_sub"
path = "examples/battery_state_sub.rs"
required-features = []
[[example]]
name = "demo_nodes_add_two_ints_client"
path = "examples/demo_nodes/add_two_ints_client.rs"
[[example]]
name = "demo_nodes_add_two_ints_server"
path = "examples/demo_nodes/add_two_ints_server.rs"
[[example]]
name = "demo_nodes_fibonacci_action_client"
path = "examples/demo_nodes/fibonacci_action_client.rs"
[[example]]
name = "demo_nodes_fibonacci_action_server"
path = "examples/demo_nodes/fibonacci_action_server.rs"
[[example]]
name = "demo_nodes_listener"
path = "examples/demo_nodes/listener.rs"
required-features = []
[[example]]
name = "demo_nodes_talker"
path = "examples/demo_nodes/talker.rs"
required-features = []
[[example]]
name = "dynamic_message_basic"
path = "examples/dynamic_message/basic.rs"
required-features = []
[[example]]
name = "dynamic_message_interop"
path = "examples/dynamic_message/interop.rs"
required-features = []
[[example]]
name = "dynamic_message_serialization"
path = "examples/dynamic_message/serialization.rs"
required-features = []
[[example]]
name = "encoding_demo"
path = "examples/encoding_demo.rs"
required-features = []
[[example]]
name = "laser_scan"
path = "examples/laser_scan.rs"
required-features = []
[[example]]
name = "lifecycle_bringup"
path = "examples/lifecycle/bringup.rs"
required-features = []
[[example]]
name = "lifecycle_talker"
path = "examples/lifecycle/talker.rs"
required-features = []
[[example]]
name = "protobuf_interop"
path = "examples/protobuf_interop.rs"
required-features = []
[[example]]
name = "shm_pointcloud2"
path = "examples/shm_pointcloud2.rs"
required-features = []
[[example]]
name = "twist_pub"
path = "examples/twist_pub.rs"
required-features = []
[[example]]
name = "z_cache_app_stamp"
path = "examples/z_cache/app_stamp.rs"
required-features = []
[[example]]
name = "z_cache_talker"
path = "examples/z_cache/talker.rs"
required-features = []
[[example]]
name = "z_cache_zenoh_stamp"
path = "examples/z_cache/zenoh_stamp.rs"
required-features = []
[[example]]
name = "z_custom_message"
path = "examples/z_custom_message.rs"
required-features = []
[[example]]
name = "z_parameter_callback"
path = "examples/parameters/callback.rs"
required-features = []
[[example]]
name = "z_parameter_client"
path = "examples/parameters/client.rs"
required-features = []
[[example]]
name = "z_parameter_declare"
path = "examples/parameters/declare.rs"
required-features = []
[[example]]
name = "z_parameter_yaml"
path = "examples/parameters/yaml.rs"
required-features = []
[[example]]
name = "z_pingpong"
path = "examples/z_pingpong.rs"
required-features = []
[[example]]
name = "z_pubsub"
path = "examples/z_pubsub.rs"
required-features = []
[[example]]
name = "z_srvcli"
path = "examples/z_srvcli.rs"
[[example]]
name = "zenoh_router"
path = "examples/zenoh_router.rs"
required-features = []
[[test]]
name = "action"
path = "tests/action.rs"
[[test]]
name = "graph"
path = "tests/graph.rs"
[[test]]
name = "message_type_info_derive"
path = "tests/message_type_info_derive.rs"
[[test]]
name = "pubsub"
path = "tests/pubsub.rs"
[[test]]
name = "pubsub_qos"
path = "tests/pubsub_qos.rs"
[[test]]
name = "queue"
path = "tests/queue.rs"
[[test]]
name = "service"
path = "tests/service.rs"
[[test]]
name = "shm"
path = "tests/shm.rs"
[[test]]
name = "type_info_test"
path = "tests/type_info_test.rs"
[dependencies.byteorder]
version = "1.3"
[dependencies.clap]
version = "4.5.45"
features = ["derive"]
[dependencies.csv]
version = "1.3.1"
[dependencies.dashmap]
version = "5.5"
[dependencies.event-listener]
version = "5"
[dependencies.flume]
version = "0.11.1"
[dependencies.hiroz-cdr]
version = "0.2.0"
[dependencies.hiroz-codegen]
version = "0.2.0"
optional = true
[dependencies.hiroz-derive]
version = "0.2.0"
[dependencies.hiroz-protocol]
version = "0.2.0"
features = ["std"]
default-features = false
[dependencies.hiroz-schema]
version = "0.2.0"
[dependencies.json5]
version = "0.4.1"
[dependencies.parking_lot]
version = "0.12.4"
[dependencies.paste]
version = "1.0"
[dependencies.prost]
version = "0.14"
optional = true
[dependencies.pyo3]
version = "0.22"
features = [
"extension-module",
"abi3-py311",
]
optional = true
[dependencies.serde]
version = "1.0.219"
features = ["serde_derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.serde_yaml]
version = "0.9"
[dependencies.sha2]
version = "0.10.9"
[dependencies.slab]
version = "0.4.11"
[dependencies.strum]
version = "0.27.2"
features = ["derive"]
[dependencies.thiserror]
version = "2.0"
[dependencies.tokio]
version = "1.47.1"
features = [
"rt-multi-thread",
"signal",
]
[dependencies.tokio-util]
version = "0.7"
[dependencies.tracing]
version = "0.1.41"
[dependencies.uuid]
version = "1.0"
features = ["v4"]
[dependencies.zenoh]
version = "1.9.0"
features = [
"transport_tcp",
"transport_serial",
"transport_tcp",
"unstable",
"internal",
"shared-memory",
]
default-features = false
[dependencies.zenoh-buffers]
version = "1.9.0"
[dependencies.zenoh-ext]
version = "1.9.0"
features = ["unstable"]
[dev-dependencies.serial_test]
version = "3.0"
[build-dependencies.prost-build]
version = "0.14"
optional = true
[build-dependencies.serde]
version = "1.0.219"
features = ["serde_derive"]
[build-dependencies.serde_json]
version = "1.0"
[build-dependencies.zenoh]
version = "1.9.0"
features = [
"transport_tcp",
"transport_serial",
"transport_tcp",
"unstable",
"internal",
"shared-memory",
]
default-features = false