You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

Cargo.toml 6.3 kB

9 months ago
1 year ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203
  1. [workspace]
  2. members = [
  3. "apis/c/node",
  4. "apis/c/operator",
  5. "apis/c++/node",
  6. "apis/c++/operator",
  7. "apis/python/node",
  8. "apis/python/operator",
  9. "apis/rust/*",
  10. "apis/rust/operator/macros",
  11. "apis/rust/operator/types",
  12. "binaries/cli",
  13. "binaries/coordinator",
  14. "binaries/daemon",
  15. "binaries/runtime",
  16. "examples/rust-dataflow/node",
  17. "examples/rust-dataflow/status-node",
  18. "examples/rust-dataflow/sink",
  19. "examples/rust-dataflow/sink-dynamic",
  20. "examples/rust-ros2-dataflow/node",
  21. "examples/benchmark/node",
  22. "examples/benchmark/sink",
  23. "examples/multiple-daemons/node",
  24. "examples/multiple-daemons/operator",
  25. "examples/multiple-daemons/sink",
  26. "libraries/arrow-convert",
  27. "libraries/communication-layer/*",
  28. "libraries/core",
  29. "libraries/message",
  30. "libraries/shared-memory-server",
  31. "libraries/extensions/download",
  32. "libraries/extensions/telemetry/*",
  33. "node-hub/dora-record",
  34. "node-hub/dora-rerun",
  35. "node-hub/terminal-print",
  36. "node-hub/openai-proxy-server",
  37. "node-hub/dora-kit-car",
  38. "node-hub/dora-object-to-pose",
  39. "node-hub/dora-mistral-rs",
  40. "node-hub/dora-rav1e",
  41. "node-hub/dora-dav1d",
  42. "node-hub/dora-rustypot",
  43. "libraries/extensions/ros2-bridge",
  44. "libraries/extensions/ros2-bridge/msg-gen",
  45. "libraries/extensions/ros2-bridge/python",
  46. "tests/queue_size_latest_data_rust/receive_data",
  47. ]
  48. [workspace.package]
  49. edition = "2024"
  50. rust-version = "1.85.0"
  51. # Make sure to also bump `apis/node/python/__init__.py` version.
  52. version = "0.3.12"
  53. description = "`dora` goal is to be a low latency, composable, and distributed data flow."
  54. documentation = "https://dora-rs.ai"
  55. license = "Apache-2.0"
  56. repository = "https://github.com/dora-rs/dora/"
  57. [workspace.dependencies]
  58. dora-node-api = { version = "0.3.12", path = "apis/rust/node", default-features = false }
  59. dora-node-api-python = { version = "0.3.12", path = "apis/python/node", default-features = false }
  60. dora-operator-api = { version = "0.3.12", path = "apis/rust/operator", default-features = false }
  61. dora-operator-api-macros = { version = "0.3.12", path = "apis/rust/operator/macros" }
  62. dora-operator-api-types = { version = "0.3.12", path = "apis/rust/operator/types" }
  63. dora-operator-api-python = { version = "0.3.12", path = "apis/python/operator" }
  64. dora-operator-api-c = { version = "0.3.12", path = "apis/c/operator" }
  65. dora-node-api-c = { version = "0.3.12", path = "apis/c/node" }
  66. dora-core = { version = "0.3.12", path = "libraries/core" }
  67. dora-arrow-convert = { version = "0.3.12", path = "libraries/arrow-convert" }
  68. dora-tracing = { version = "0.3.12", path = "libraries/extensions/telemetry/tracing" }
  69. dora-metrics = { version = "0.3.12", path = "libraries/extensions/telemetry/metrics" }
  70. dora-download = { version = "0.3.12", path = "libraries/extensions/download" }
  71. shared-memory-server = { version = "0.3.12", path = "libraries/shared-memory-server" }
  72. communication-layer-request-reply = { version = "0.3.12", path = "libraries/communication-layer/request-reply" }
  73. dora-cli = { version = "0.3.12", path = "binaries/cli" }
  74. dora-runtime = { version = "0.3.12", path = "binaries/runtime" }
  75. dora-daemon = { version = "0.3.12", path = "binaries/daemon" }
  76. dora-coordinator = { version = "0.3.12", path = "binaries/coordinator" }
  77. dora-ros2-bridge = { version = "0.3.12", path = "libraries/extensions/ros2-bridge" }
  78. dora-ros2-bridge-msg-gen = { version = "0.3.12", path = "libraries/extensions/ros2-bridge/msg-gen" }
  79. dora-ros2-bridge-python = { path = "libraries/extensions/ros2-bridge/python" }
  80. # versioned independently from the other dora crates
  81. dora-message = { version = "0.5.0", path = "libraries/message" }
  82. arrow = { version = "54.2.1" }
  83. arrow-schema = { version = "54.2.1" }
  84. arrow-data = { version = "54.2.1" }
  85. arrow-array = { version = "54.2.1" }
  86. parquet = { version = "54.2.1" }
  87. pyo3 = { version = "0.23", features = [
  88. "eyre",
  89. "abi3-py37",
  90. "multiple-pymethods",
  91. ] }
  92. pythonize = "0.23"
  93. git2 = { version = "0.18.0", features = ["vendored-openssl"] }
  94. serde_yaml = "0.9.33"
  95. [package]
  96. name = "dora-examples"
  97. rust-version = "1.85.0"
  98. version = "0.0.0"
  99. edition.workspace = true
  100. license = "Apache-2.0"
  101. publish = false
  102. [features]
  103. # enables examples that depend on a sourced ROS2 installation
  104. ros2-examples = []
  105. [dev-dependencies]
  106. eyre = "0.6.8"
  107. tokio = "1.24.2"
  108. dora-cli = { workspace = true }
  109. dora-coordinator = { workspace = true }
  110. dora-core = { workspace = true }
  111. dora-message = { workspace = true }
  112. dora-tracing = { workspace = true }
  113. dora-download = { workspace = true }
  114. dunce = "1.0.2"
  115. serde_yaml = "0.8.23"
  116. uuid = { version = "1.7", features = ["v7", "serde"] }
  117. tracing = "0.1.36"
  118. futures = "0.3.25"
  119. tokio-stream = "0.1.11"
  120. [[example]]
  121. name = "c-dataflow"
  122. path = "examples/c-dataflow/run.rs"
  123. [[example]]
  124. name = "camera"
  125. path = "examples/camera/run.rs"
  126. [[example]]
  127. name = "vlm"
  128. path = "examples/vlm/run.rs"
  129. [[example]]
  130. name = "rust-dataflow"
  131. path = "examples/rust-dataflow/run.rs"
  132. [[example]]
  133. name = "rust-dataflow-git"
  134. path = "examples/rust-dataflow-git/run.rs"
  135. [[example]]
  136. name = "rust-ros2-dataflow"
  137. path = "examples/rust-ros2-dataflow/run.rs"
  138. required-features = ["ros2-examples"]
  139. # TODO: Fix example #192
  140. [[example]]
  141. name = "rust-dataflow-url"
  142. path = "examples/rust-dataflow-url/run.rs"
  143. [[example]]
  144. name = "cxx-dataflow"
  145. path = "examples/c++-dataflow/run.rs"
  146. [[example]]
  147. name = "cxx-arrow-dataflow"
  148. path = "examples/c++-arrow-dataflow/run.rs"
  149. [[example]]
  150. name = "python-dataflow"
  151. path = "examples/python-dataflow/run.rs"
  152. [[example]]
  153. name = "python-ros2-dataflow"
  154. path = "examples/python-ros2-dataflow/run.rs"
  155. required-features = ["ros2-examples"]
  156. [[example]]
  157. name = "python-operator-dataflow"
  158. path = "examples/python-operator-dataflow/run.rs"
  159. [[example]]
  160. name = "benchmark"
  161. path = "examples/benchmark/run.rs"
  162. [[example]]
  163. name = "multiple-daemons"
  164. path = "examples/multiple-daemons/run.rs"
  165. [[example]]
  166. name = "cmake-dataflow"
  167. path = "examples/cmake-dataflow/run.rs"
  168. [[example]]
  169. name = "cxx-ros2-dataflow"
  170. path = "examples/c++-ros2-dataflow/run.rs"
  171. required-features = ["ros2-examples"]
  172. [[example]]
  173. name = "rerun-viewer"
  174. path = "examples/rerun-viewer/run.rs"
  175. # The profile that 'dist' will build with
  176. [profile.dist]
  177. inherits = "release"
  178. lto = "thin"