From ca614753a1257ef5dd5226569fc0ebb8a3b7b18c Mon Sep 17 00:00:00 2001 From: yjhmelody Date: Fri, 24 Jan 2025 12:14:50 +0800 Subject: [PATCH] chore: use workspace edition --- Cargo.toml | 3 ++- apis/c++/node/Cargo.toml | 2 +- apis/c++/operator/Cargo.toml | 2 +- apis/c/node/Cargo.toml | 2 +- apis/c/operator/Cargo.toml | 2 +- apis/python/node/Cargo.toml | 2 +- apis/python/operator/Cargo.toml | 2 +- apis/rust/node/Cargo.toml | 2 +- apis/rust/operator/Cargo.toml | 2 +- apis/rust/operator/macros/Cargo.toml | 2 +- apis/rust/operator/types/Cargo.toml | 2 +- binaries/cli/Cargo.toml | 2 +- binaries/coordinator/Cargo.toml | 2 +- binaries/daemon/Cargo.toml | 2 +- binaries/runtime/Cargo.toml | 2 +- examples/benchmark/node/Cargo.toml | 2 +- examples/benchmark/sink/Cargo.toml | 2 +- examples/multiple-daemons/node/Cargo.toml | 2 +- examples/multiple-daemons/operator/Cargo.toml | 2 +- examples/multiple-daemons/sink/Cargo.toml | 2 +- examples/rust-dataflow-url/sink/Cargo.toml | 2 +- examples/rust-dataflow/node/Cargo.toml | 2 +- examples/rust-dataflow/sink-dynamic/Cargo.toml | 2 +- examples/rust-dataflow/sink/Cargo.toml | 2 +- examples/rust-dataflow/status-node/Cargo.toml | 2 +- examples/rust-ros2-dataflow/node/Cargo.toml | 2 +- libraries/arrow-convert/Cargo.toml | 2 +- libraries/communication-layer/pub-sub/Cargo.toml | 2 +- libraries/communication-layer/request-reply/Cargo.toml | 2 +- libraries/core/Cargo.toml | 2 +- libraries/extensions/download/Cargo.toml | 2 +- libraries/extensions/ros2-bridge/Cargo.toml | 2 +- libraries/extensions/ros2-bridge/msg-gen/Cargo.toml | 2 +- libraries/extensions/ros2-bridge/python/Cargo.toml | 2 +- libraries/extensions/telemetry/metrics/Cargo.toml | 2 +- libraries/extensions/telemetry/tracing/Cargo.toml | 2 +- libraries/message/Cargo.toml | 2 +- libraries/shared-memory-server/Cargo.toml | 2 +- node-hub/dora-kit-car/Cargo.toml | 2 +- node-hub/dora-record/Cargo.toml | 2 +- node-hub/dora-rerun/Cargo.toml | 2 +- node-hub/openai-proxy-server/Cargo.toml | 2 +- node-hub/terminal-print/Cargo.toml | 2 +- tests/queue_size_latest_data_rust/receive_data/Cargo.toml | 2 +- 44 files changed, 45 insertions(+), 44 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 68f4051b..66bbe764 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -42,6 +42,7 @@ members = [ ] [workspace.package] +edition = "2021" # Make sure to also bump `apis/node/python/__init__.py` version. version = "0.3.8" description = "`dora` goal is to be a low latency, composable, and distributed data flow." @@ -87,7 +88,7 @@ pythonize = "0.22" [package] name = "dora-examples" version = "0.0.0" -edition = "2021" +edition.workspace = true license = "Apache-2.0" publish = false diff --git a/apis/c++/node/Cargo.toml b/apis/c++/node/Cargo.toml index dddf4f5b..562ffa37 100644 --- a/apis/c++/node/Cargo.toml +++ b/apis/c++/node/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "dora-node-api-cxx" version.workspace = true -edition = "2021" +edition.workspace = true documentation.workspace = true description.workspace = true license.workspace = true diff --git a/apis/c++/operator/Cargo.toml b/apis/c++/operator/Cargo.toml index b7fd32c6..ef5e3eda 100644 --- a/apis/c++/operator/Cargo.toml +++ b/apis/c++/operator/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "dora-operator-api-cxx" version.workspace = true -edition = "2021" +edition.workspace = true documentation.workspace = true description.workspace = true license.workspace = true diff --git a/apis/c/node/Cargo.toml b/apis/c/node/Cargo.toml index 14d42570..fb3055b8 100644 --- a/apis/c/node/Cargo.toml +++ b/apis/c/node/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "dora-node-api-c" version.workspace = true -edition = "2021" +edition.workspace = true documentation.workspace = true description.workspace = true diff --git a/apis/c/operator/Cargo.toml b/apis/c/operator/Cargo.toml index 6413b59f..002b9180 100644 --- a/apis/c/operator/Cargo.toml +++ b/apis/c/operator/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "dora-operator-api-c" version.workspace = true -edition = "2021" +edition.workspace = true description = "C API implementation for Dora Operator" documentation.workspace = true license.workspace = true diff --git a/apis/python/node/Cargo.toml b/apis/python/node/Cargo.toml index 9171ac2e..d80c0569 100644 --- a/apis/python/node/Cargo.toml +++ b/apis/python/node/Cargo.toml @@ -1,7 +1,7 @@ [package] version.workspace = true name = "dora-node-api-python" -edition = "2021" +edition.workspace = true documentation.workspace = true description.workspace = true license.workspace = true diff --git a/apis/python/operator/Cargo.toml b/apis/python/operator/Cargo.toml index 378af760..a96c5987 100644 --- a/apis/python/operator/Cargo.toml +++ b/apis/python/operator/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "dora-operator-api-python" version.workspace = true -edition = "2021" +edition.workspace = true documentation.workspace = true description.workspace = true diff --git a/apis/rust/node/Cargo.toml b/apis/rust/node/Cargo.toml index de4f21b2..bda62831 100644 --- a/apis/rust/node/Cargo.toml +++ b/apis/rust/node/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "dora-node-api" version.workspace = true -edition = "2021" +edition.workspace = true documentation.workspace = true description.workspace = true license.workspace = true diff --git a/apis/rust/operator/Cargo.toml b/apis/rust/operator/Cargo.toml index 0bdf5ce1..d09281ad 100644 --- a/apis/rust/operator/Cargo.toml +++ b/apis/rust/operator/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "dora-operator-api" version.workspace = true -edition = "2021" +edition.workspace = true documentation.workspace = true description.workspace = true license.workspace = true diff --git a/apis/rust/operator/macros/Cargo.toml b/apis/rust/operator/macros/Cargo.toml index 496cacf5..2ed58f76 100644 --- a/apis/rust/operator/macros/Cargo.toml +++ b/apis/rust/operator/macros/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "dora-operator-api-macros" version.workspace = true -edition = "2021" +edition.workspace = true description = "Rust API Macros for Dora Operator" documentation.workspace = true license.workspace = true diff --git a/apis/rust/operator/types/Cargo.toml b/apis/rust/operator/types/Cargo.toml index 8c0403d8..c52998c8 100644 --- a/apis/rust/operator/types/Cargo.toml +++ b/apis/rust/operator/types/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "dora-operator-api-types" version.workspace = true -edition = "2021" +edition.workspace = true documentation.workspace = true description.workspace = true license.workspace = true diff --git a/binaries/cli/Cargo.toml b/binaries/cli/Cargo.toml index aac648fe..bc87c7e8 100644 --- a/binaries/cli/Cargo.toml +++ b/binaries/cli/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "dora-cli" version.workspace = true -edition = "2021" +edition.workspace = true documentation.workspace = true description.workspace = true license.workspace = true diff --git a/binaries/coordinator/Cargo.toml b/binaries/coordinator/Cargo.toml index 8758abcb..02c72679 100644 --- a/binaries/coordinator/Cargo.toml +++ b/binaries/coordinator/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "dora-coordinator" version.workspace = true -edition = "2021" +edition.workspace = true documentation.workspace = true description.workspace = true license.workspace = true diff --git a/binaries/daemon/Cargo.toml b/binaries/daemon/Cargo.toml index ba395cc4..16866d5e 100644 --- a/binaries/daemon/Cargo.toml +++ b/binaries/daemon/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "dora-daemon" version.workspace = true -edition = "2021" +edition.workspace = true documentation.workspace = true description.workspace = true license.workspace = true diff --git a/binaries/runtime/Cargo.toml b/binaries/runtime/Cargo.toml index c47321c3..270ba264 100644 --- a/binaries/runtime/Cargo.toml +++ b/binaries/runtime/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "dora-runtime" version.workspace = true -edition = "2021" +edition.workspace = true documentation.workspace = true description.workspace = true license.workspace = true diff --git a/examples/benchmark/node/Cargo.toml b/examples/benchmark/node/Cargo.toml index f7d4bad7..5b616d8d 100644 --- a/examples/benchmark/node/Cargo.toml +++ b/examples/benchmark/node/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "benchmark-example-node" version.workspace = true -edition = "2021" +edition.workspace = true publish = false # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/examples/benchmark/sink/Cargo.toml b/examples/benchmark/sink/Cargo.toml index 89fbabc4..b354e45a 100644 --- a/examples/benchmark/sink/Cargo.toml +++ b/examples/benchmark/sink/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "benchmark-example-sink" version.workspace = true -edition = "2021" +edition.workspace = true publish = false # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/examples/multiple-daemons/node/Cargo.toml b/examples/multiple-daemons/node/Cargo.toml index 5e99addb..1eca10bf 100644 --- a/examples/multiple-daemons/node/Cargo.toml +++ b/examples/multiple-daemons/node/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "multiple-daemons-example-node" version.workspace = true -edition = "2021" +edition.workspace = true publish = false # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/examples/multiple-daemons/operator/Cargo.toml b/examples/multiple-daemons/operator/Cargo.toml index 41d149a1..393de57c 100644 --- a/examples/multiple-daemons/operator/Cargo.toml +++ b/examples/multiple-daemons/operator/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "multiple-daemons-example-operator" version.workspace = true -edition = "2021" +edition.workspace = true license.workspace = true publish = false diff --git a/examples/multiple-daemons/sink/Cargo.toml b/examples/multiple-daemons/sink/Cargo.toml index 326da95e..986819a7 100644 --- a/examples/multiple-daemons/sink/Cargo.toml +++ b/examples/multiple-daemons/sink/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "multiple-daemons-example-sink" version.workspace = true -edition = "2021" +edition.workspace = true publish = false # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/examples/rust-dataflow-url/sink/Cargo.toml b/examples/rust-dataflow-url/sink/Cargo.toml index 0661d92e..1e696d21 100644 --- a/examples/rust-dataflow-url/sink/Cargo.toml +++ b/examples/rust-dataflow-url/sink/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "rust-dataflow-url-example-sink" version.workspace = true -edition = "2021" +edition.workspace = true publish = false # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/examples/rust-dataflow/node/Cargo.toml b/examples/rust-dataflow/node/Cargo.toml index f1dbeab6..6a3f68bb 100644 --- a/examples/rust-dataflow/node/Cargo.toml +++ b/examples/rust-dataflow/node/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "rust-dataflow-example-node" version.workspace = true -edition = "2021" +edition.workspace = true publish = false # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/examples/rust-dataflow/sink-dynamic/Cargo.toml b/examples/rust-dataflow/sink-dynamic/Cargo.toml index 345c6b2d..a15a39a3 100644 --- a/examples/rust-dataflow/sink-dynamic/Cargo.toml +++ b/examples/rust-dataflow/sink-dynamic/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "rust-dataflow-example-sink-dynamic" version.workspace = true -edition = "2021" +edition.workspace = true publish = false # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/examples/rust-dataflow/sink/Cargo.toml b/examples/rust-dataflow/sink/Cargo.toml index a968490c..0b73e81b 100644 --- a/examples/rust-dataflow/sink/Cargo.toml +++ b/examples/rust-dataflow/sink/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "rust-dataflow-example-sink" version.workspace = true -edition = "2021" +edition.workspace = true publish = false # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/examples/rust-dataflow/status-node/Cargo.toml b/examples/rust-dataflow/status-node/Cargo.toml index 10d03c56..98e63802 100644 --- a/examples/rust-dataflow/status-node/Cargo.toml +++ b/examples/rust-dataflow/status-node/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "rust-dataflow-example-status-node" version.workspace = true -edition = "2021" +edition.workspace = true license.workspace = true publish = false diff --git a/examples/rust-ros2-dataflow/node/Cargo.toml b/examples/rust-ros2-dataflow/node/Cargo.toml index 990112e9..eb3fc1c4 100644 --- a/examples/rust-ros2-dataflow/node/Cargo.toml +++ b/examples/rust-ros2-dataflow/node/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "rust-ros2-dataflow-example-node" version.workspace = true -edition = "2021" +edition.workspace = true publish = false # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/libraries/arrow-convert/Cargo.toml b/libraries/arrow-convert/Cargo.toml index 9b5df975..2a577e78 100644 --- a/libraries/arrow-convert/Cargo.toml +++ b/libraries/arrow-convert/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "dora-arrow-convert" version.workspace = true -edition = "2021" +edition.workspace = true documentation.workspace = true description.workspace = true license.workspace = true diff --git a/libraries/communication-layer/pub-sub/Cargo.toml b/libraries/communication-layer/pub-sub/Cargo.toml index 00feea1e..69df1048 100644 --- a/libraries/communication-layer/pub-sub/Cargo.toml +++ b/libraries/communication-layer/pub-sub/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "communication-layer-pub-sub" version.workspace = true -edition = "2021" +edition.workspace = true documentation.workspace = true description.workspace = true license.workspace = true diff --git a/libraries/communication-layer/request-reply/Cargo.toml b/libraries/communication-layer/request-reply/Cargo.toml index 253e12a2..2edaf313 100644 --- a/libraries/communication-layer/request-reply/Cargo.toml +++ b/libraries/communication-layer/request-reply/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "communication-layer-request-reply" version.workspace = true -edition = "2021" +edition.workspace = true documentation.workspace = true description.workspace = true license.workspace = true diff --git a/libraries/core/Cargo.toml b/libraries/core/Cargo.toml index 9b321562..8ad7952a 100644 --- a/libraries/core/Cargo.toml +++ b/libraries/core/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "dora-core" version.workspace = true -edition = "2021" +edition.workspace = true documentation.workspace = true description.workspace = true license.workspace = true diff --git a/libraries/extensions/download/Cargo.toml b/libraries/extensions/download/Cargo.toml index e074d2c4..aafb22d1 100644 --- a/libraries/extensions/download/Cargo.toml +++ b/libraries/extensions/download/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "dora-download" version.workspace = true -edition = "2021" +edition.workspace = true documentation.workspace = true description.workspace = true license.workspace = true diff --git a/libraries/extensions/ros2-bridge/Cargo.toml b/libraries/extensions/ros2-bridge/Cargo.toml index 96a2ad86..1374e168 100644 --- a/libraries/extensions/ros2-bridge/Cargo.toml +++ b/libraries/extensions/ros2-bridge/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "dora-ros2-bridge" version = "0.1.0" -edition = "2021" +edition.workspace = true links = "dora-ros2-bridge" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/libraries/extensions/ros2-bridge/msg-gen/Cargo.toml b/libraries/extensions/ros2-bridge/msg-gen/Cargo.toml index 2bd92348..c823f547 100644 --- a/libraries/extensions/ros2-bridge/msg-gen/Cargo.toml +++ b/libraries/extensions/ros2-bridge/msg-gen/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "dora-ros2-bridge-msg-gen" version = "0.1.0" -edition = "2021" +edition.workspace = true authors = ["Yuma Hiramatsu "] license = "Apache-2.0" diff --git a/libraries/extensions/ros2-bridge/python/Cargo.toml b/libraries/extensions/ros2-bridge/python/Cargo.toml index f9c69a71..23c2f406 100644 --- a/libraries/extensions/ros2-bridge/python/Cargo.toml +++ b/libraries/extensions/ros2-bridge/python/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "dora-ros2-bridge-python" version = "0.1.0" -edition = "2021" +edition.workspace = true [dependencies] diff --git a/libraries/extensions/telemetry/metrics/Cargo.toml b/libraries/extensions/telemetry/metrics/Cargo.toml index 4863d474..ff7ba670 100644 --- a/libraries/extensions/telemetry/metrics/Cargo.toml +++ b/libraries/extensions/telemetry/metrics/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "dora-metrics" version.workspace = true -edition = "2021" +edition.workspace = true documentation.workspace = true description.workspace = true license.workspace = true diff --git a/libraries/extensions/telemetry/tracing/Cargo.toml b/libraries/extensions/telemetry/tracing/Cargo.toml index 0b92e641..9c795c8d 100644 --- a/libraries/extensions/telemetry/tracing/Cargo.toml +++ b/libraries/extensions/telemetry/tracing/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "dora-tracing" version.workspace = true -edition = "2021" +edition.workspace = true documentation.workspace = true description.workspace = true license.workspace = true diff --git a/libraries/message/Cargo.toml b/libraries/message/Cargo.toml index 284c4cfa..c83723e9 100644 --- a/libraries/message/Cargo.toml +++ b/libraries/message/Cargo.toml @@ -2,7 +2,7 @@ name = "dora-message" # versioned separately from the other dora crates version = "0.4.2" -edition = "2021" +edition.workspace = true documentation.workspace = true description.workspace = true license.workspace = true diff --git a/libraries/shared-memory-server/Cargo.toml b/libraries/shared-memory-server/Cargo.toml index 8a9d99e2..4ec3ce59 100644 --- a/libraries/shared-memory-server/Cargo.toml +++ b/libraries/shared-memory-server/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "shared-memory-server" version.workspace = true -edition = "2021" +edition.workspace = true documentation.workspace = true description.workspace = true license.workspace = true diff --git a/node-hub/dora-kit-car/Cargo.toml b/node-hub/dora-kit-car/Cargo.toml index 7be16a9b..20552528 100644 --- a/node-hub/dora-kit-car/Cargo.toml +++ b/node-hub/dora-kit-car/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dora-kit-car" -edition = "2021" +edition.workspace = true version.workspace = true description.workspace = true documentation.workspace = true diff --git a/node-hub/dora-record/Cargo.toml b/node-hub/dora-record/Cargo.toml index 4377b40a..3be061d1 100644 --- a/node-hub/dora-record/Cargo.toml +++ b/node-hub/dora-record/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "dora-record" version.workspace = true -edition = "2021" +edition.workspace = true documentation.workspace = true description.workspace = true license.workspace = true diff --git a/node-hub/dora-rerun/Cargo.toml b/node-hub/dora-rerun/Cargo.toml index cd0c48f0..2c751dd7 100644 --- a/node-hub/dora-rerun/Cargo.toml +++ b/node-hub/dora-rerun/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "dora-rerun" version.workspace = true -edition = "2021" +edition.workspace = true documentation.workspace = true description.workspace = true license.workspace = true diff --git a/node-hub/openai-proxy-server/Cargo.toml b/node-hub/openai-proxy-server/Cargo.toml index d600355f..a0c8330b 100644 --- a/node-hub/openai-proxy-server/Cargo.toml +++ b/node-hub/openai-proxy-server/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "dora-openai-proxy-server" version.workspace = true -edition = "2021" +edition.workspace = true documentation.workspace = true description.workspace = true license.workspace = true diff --git a/node-hub/terminal-print/Cargo.toml b/node-hub/terminal-print/Cargo.toml index 26c6ac4b..fa6adb14 100644 --- a/node-hub/terminal-print/Cargo.toml +++ b/node-hub/terminal-print/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "terminal-print" -edition = "2021" +edition.workspace = true version.workspace = true description.workspace = true documentation.workspace = true diff --git a/tests/queue_size_latest_data_rust/receive_data/Cargo.toml b/tests/queue_size_latest_data_rust/receive_data/Cargo.toml index a1910514..580ac98f 100644 --- a/tests/queue_size_latest_data_rust/receive_data/Cargo.toml +++ b/tests/queue_size_latest_data_rust/receive_data/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "receive_data" -edition = "2021" +edition.workspace = true version.workspace = true description.workspace = true documentation.workspace = true