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