Skip to content

Commit

Permalink
chore: use workspace edition (#764)
Browse files Browse the repository at this point in the history
  • Loading branch information
haixuanTao authored Jan 27, 2025
2 parents 69e5cd7 + ca61475 commit 196bc7f
Show file tree
Hide file tree
Showing 44 changed files with 45 additions and 44 deletions.
3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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."
Expand Down Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion apis/c++/node/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion apis/c++/operator/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion apis/c/node/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "dora-node-api-c"
version.workspace = true
edition = "2021"
edition.workspace = true

documentation.workspace = true
description.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion apis/c/operator/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion apis/python/node/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion apis/python/operator/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "dora-operator-api-python"
version.workspace = true
edition = "2021"
edition.workspace = true

documentation.workspace = true
description.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion apis/rust/node/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion apis/rust/operator/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion apis/rust/operator/macros/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion apis/rust/operator/types/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion binaries/cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion binaries/coordinator/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion binaries/daemon/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion binaries/runtime/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion examples/benchmark/node/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion examples/benchmark/sink/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion examples/multiple-daemons/node/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion examples/multiple-daemons/operator/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "multiple-daemons-example-operator"
version.workspace = true
edition = "2021"
edition.workspace = true
license.workspace = true
publish = false

Expand Down
2 changes: 1 addition & 1 deletion examples/multiple-daemons/sink/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion examples/rust-dataflow-url/sink/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion examples/rust-dataflow/node/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion examples/rust-dataflow/sink-dynamic/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion examples/rust-dataflow/sink/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion examples/rust-dataflow/status-node/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "rust-dataflow-example-status-node"
version.workspace = true
edition = "2021"
edition.workspace = true
license.workspace = true
publish = false

Expand Down
2 changes: 1 addition & 1 deletion examples/rust-ros2-dataflow/node/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion libraries/arrow-convert/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion libraries/communication-layer/pub-sub/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion libraries/communication-layer/request-reply/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion libraries/core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion libraries/extensions/download/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion libraries/extensions/ros2-bridge/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion libraries/extensions/ros2-bridge/msg-gen/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "dora-ros2-bridge-msg-gen"
version = "0.1.0"
edition = "2021"
edition.workspace = true
authors = ["Yuma Hiramatsu <[email protected]>"]
license = "Apache-2.0"

Expand Down
2 changes: 1 addition & 1 deletion libraries/extensions/ros2-bridge/python/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "dora-ros2-bridge-python"
version = "0.1.0"
edition = "2021"
edition.workspace = true


[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion libraries/extensions/telemetry/metrics/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion libraries/extensions/telemetry/tracing/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion libraries/message/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion libraries/shared-memory-server/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion node-hub/dora-kit-car/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "dora-kit-car"
edition = "2021"
edition.workspace = true
version.workspace = true
description.workspace = true
documentation.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion node-hub/dora-record/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion node-hub/dora-rerun/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion node-hub/openai-proxy-server/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion node-hub/terminal-print/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "terminal-print"
edition = "2021"
edition.workspace = true
version.workspace = true
description.workspace = true
documentation.workspace = true
Expand Down
Loading

0 comments on commit 196bc7f

Please sign in to comment.