diff --git a/Cargo.toml b/Cargo.toml index d98953ff..a0d04f9b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -18,12 +18,21 @@ members = [ "libraries/extensions/zenoh-logger", ] +[workspace.package] +version = "0.1.1" + +[workspace.dependencies] +dora-node-api = { version = "0.1.1", path = "apis/rust/node", default-features = false } +dora-operator-api = { version = "0.1.1", path = "apis/rust/operator", default-features = false } +dora-core = { version = "0.1.1", path = "libraries/core" } + [package] name = "dora-examples" version = "0.0.0" edition = "2021" license = "Apache-2.0" + [dev-dependencies] eyre = "0.6.8" tokio = "1.20.1" diff --git a/apis/c++/node/Cargo.toml b/apis/c++/node/Cargo.toml index 4c60e9a5..5292ff0b 100644 --- a/apis/c++/node/Cargo.toml +++ b/apis/c++/node/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dora-node-api-cxx" -version = "0.1.1" +version.workspace = true edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html @@ -10,9 +10,7 @@ crate-type = ["staticlib"] [dependencies] cxx = "1.0.73" -dora-node-api = { version = "0.1.1", path = "../../../apis/rust/node", default-features = false, features = [ - "zenoh", -] } +dora-node-api = { workspace = true, features = ["zenoh"] } eyre = "0.6.8" [build-dependencies] diff --git a/apis/c++/operator/Cargo.toml b/apis/c++/operator/Cargo.toml index 9f359563..6e3a4a82 100644 --- a/apis/c++/operator/Cargo.toml +++ b/apis/c++/operator/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dora-operator-api-cxx" -version = "0.1.1" +version.workspace = true edition = "2021" [lib] @@ -8,7 +8,7 @@ crate-type = ["staticlib"] [dependencies] cxx = "1.0.73" -dora-operator-api = { version = "0.1.1", path = "../../../apis/rust/operator" } +dora-operator-api = { workspace = true } eyre = "0.6.8" futures = "0.3.21" rand = "0.8.5" diff --git a/apis/c/node/Cargo.toml b/apis/c/node/Cargo.toml index c8cf6366..8a1d0410 100644 --- a/apis/c/node/Cargo.toml +++ b/apis/c/node/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dora-node-api-c" -version = "0.1.1" +version.workspace = true edition = "2021" license = "Apache-2.0" diff --git a/apis/c/operator/Cargo.toml b/apis/c/operator/Cargo.toml index 82d857f8..a9d98333 100644 --- a/apis/c/operator/Cargo.toml +++ b/apis/c/operator/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dora-operator-api-c" -version = "0.1.1" +version.workspace = true edition = "2021" license = "Apache-2.0" description = "C API implemetation for Dora Operator" diff --git a/apis/python/operator/Cargo.toml b/apis/python/operator/Cargo.toml index fd3a42b7..2d1efcb2 100644 --- a/apis/python/operator/Cargo.toml +++ b/apis/python/operator/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dora-operator-api-python" -version = "0.1.1" +version.workspace = true edition = "2021" license = "Apache-2.0" diff --git a/apis/rust/node/Cargo.toml b/apis/rust/node/Cargo.toml index 665b1ed7..e4064cb9 100644 --- a/apis/rust/node/Cargo.toml +++ b/apis/rust/node/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dora-node-api" -version = "0.1.1" +version.workspace = true edition = "2021" license = "Apache-2.0" diff --git a/apis/rust/operator/Cargo.toml b/apis/rust/operator/Cargo.toml index 233b42d8..144cc216 100644 --- a/apis/rust/operator/Cargo.toml +++ b/apis/rust/operator/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dora-operator-api" -version = "0.1.1" +version.workspace = true edition = "2021" license = "Apache-2.0" description = "Rust API implemetation for Dora Operator" diff --git a/apis/rust/operator/macros/Cargo.toml b/apis/rust/operator/macros/Cargo.toml index 066d808c..4f2c6e32 100644 --- a/apis/rust/operator/macros/Cargo.toml +++ b/apis/rust/operator/macros/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dora-operator-api-macros" -version = "0.1.1" +version.workspace = true edition = "2021" license = "Apache-2.0" description = "Rust API Macros for Dora Operator" diff --git a/apis/rust/operator/types/Cargo.toml b/apis/rust/operator/types/Cargo.toml index 2d6cbc21..156264c5 100644 --- a/apis/rust/operator/types/Cargo.toml +++ b/apis/rust/operator/types/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dora-operator-api-types" -version = "0.1.1" +version.workspace = true edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/binaries/cli/Cargo.toml b/binaries/cli/Cargo.toml index 96c77e33..0c504b51 100644 --- a/binaries/cli/Cargo.toml +++ b/binaries/cli/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dora-cli" -version = "0.1.1" +version.workspace = true edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/binaries/coordinator/Cargo.toml b/binaries/coordinator/Cargo.toml index fc3f18b8..e0379ab6 100644 --- a/binaries/coordinator/Cargo.toml +++ b/binaries/coordinator/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dora-coordinator" -version = "0.1.1" +version.workspace = true edition = "2021" license = "Apache-2.0" @@ -20,7 +20,7 @@ clap = { version = "3.1.8", features = ["derive"] } uuid = { version = "1.2.1" } time = "0.3.9" rand = "0.8.5" -dora-core = { version = "0.1.1", path = "../../libraries/core" } +dora-core = { workspace = true } dora-message = { path = "../../libraries/message" } tracing = "0.1.36" tracing-subscriber = "0.3.15" diff --git a/binaries/runtime/Cargo.toml b/binaries/runtime/Cargo.toml index 97b65b03..71600cde 100644 --- a/binaries/runtime/Cargo.toml +++ b/binaries/runtime/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dora-runtime" -version = "0.1.1" +version.workspace = true edition = "2021" license = "Apache-2.0" @@ -14,7 +14,7 @@ dora-node-api = { path = "../../apis/rust/node", default-features = false, featu ] } dora-operator-api-python = { path = "../../apis/python/operator" } dora-operator-api-types = { path = "../../apis/rust/operator/types" } -dora-core = { version = "0.1.1", path = "../../libraries/core" } +dora-core = { workspace = true } dora-tracing = { path = "../../libraries/extensions/telemetry/tracing", optional = true } dora-metrics = { path = "../../libraries/extensions/telemetry/metrics", optional = true } opentelemetry = { version = "0.17", features = [ diff --git a/examples/iceoryx/node/Cargo.toml b/examples/iceoryx/node/Cargo.toml index 66bea6e5..968b9a3e 100644 --- a/examples/iceoryx/node/Cargo.toml +++ b/examples/iceoryx/node/Cargo.toml @@ -1,11 +1,11 @@ [package] name = "iceoryx-example-node" -version = "0.1.1" +version.workspace = true edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -dora-node-api = { version = "0.1.1", path = "../../../apis/rust/node" } +dora-node-api = { workspace = true, features = ["iceoryx"] } eyre = "0.6.8" rand = "0.8.5" diff --git a/examples/iceoryx/operator/Cargo.toml b/examples/iceoryx/operator/Cargo.toml index eb5f3032..6b1368e6 100644 --- a/examples/iceoryx/operator/Cargo.toml +++ b/examples/iceoryx/operator/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "iceoryx-example-operator" -version = "0.1.1" +version.workspace = true edition = "2021" license = "Apache-2.0" diff --git a/examples/iceoryx/sink/Cargo.toml b/examples/iceoryx/sink/Cargo.toml index 4f3b049e..5774709e 100644 --- a/examples/iceoryx/sink/Cargo.toml +++ b/examples/iceoryx/sink/Cargo.toml @@ -1,12 +1,12 @@ [package] name = "iceoryx-example-sink" -version = "0.1.1" +version.workspace = true edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -dora-node-api = { version = "0.1.1", path = "../../../apis/rust/node" } +dora-node-api = { workspace = true, features = ["iceoryx"] } eyre = "0.6.8" futures = "0.3.21" tokio = { version = "1.20.1", features = ["macros"] } diff --git a/examples/rust-dataflow-url/sink/Cargo.toml b/examples/rust-dataflow-url/sink/Cargo.toml index f98c5d28..c0499929 100644 --- a/examples/rust-dataflow-url/sink/Cargo.toml +++ b/examples/rust-dataflow-url/sink/Cargo.toml @@ -1,10 +1,10 @@ [package] name = "rust-dataflow-example-sink" -version = "0.1.1" +version.workspace = true edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -dora-node-api = { version = "0.1.1", path = "../../../apis/rust/node" } +dora-node-api = { workspace = true, features = ["zenoh"] } eyre = "0.6.8" diff --git a/examples/rust-dataflow/node/Cargo.toml b/examples/rust-dataflow/node/Cargo.toml index 71f91475..20f36222 100644 --- a/examples/rust-dataflow/node/Cargo.toml +++ b/examples/rust-dataflow/node/Cargo.toml @@ -1,12 +1,12 @@ [package] name = "rust-dataflow-example-node" -version = "0.1.1" +version.workspace = true edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -dora-node-api = { version = "0.1.1", path = "../../../apis/rust/node" } +dora-node-api = { workspace = true, features = ["zenoh"] } eyre = "0.6.8" futures = "0.3.21" rand = "0.8.5" diff --git a/examples/rust-dataflow/operator/Cargo.toml b/examples/rust-dataflow/operator/Cargo.toml index e18c676c..2422f1fa 100644 --- a/examples/rust-dataflow/operator/Cargo.toml +++ b/examples/rust-dataflow/operator/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rust-dataflow-example-operator" -version = "0.1.1" +version.workspace = true edition = "2021" license = "Apache-2.0" diff --git a/examples/rust-dataflow/sink/Cargo.toml b/examples/rust-dataflow/sink/Cargo.toml index f98c5d28..c0499929 100644 --- a/examples/rust-dataflow/sink/Cargo.toml +++ b/examples/rust-dataflow/sink/Cargo.toml @@ -1,10 +1,10 @@ [package] name = "rust-dataflow-example-sink" -version = "0.1.1" +version.workspace = true edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -dora-node-api = { version = "0.1.1", path = "../../../apis/rust/node" } +dora-node-api = { workspace = true, features = ["zenoh"] } eyre = "0.6.8" diff --git a/libraries/communication-layer/pub-sub/Cargo.toml b/libraries/communication-layer/pub-sub/Cargo.toml index 525e5093..8eb1c92e 100644 --- a/libraries/communication-layer/pub-sub/Cargo.toml +++ b/libraries/communication-layer/pub-sub/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "communication-layer-pub-sub" -version = "0.1.1" +version.workspace = true edition = "2021" [features] diff --git a/libraries/communication-layer/request-reply/Cargo.toml b/libraries/communication-layer/request-reply/Cargo.toml index e580b981..61b9a59d 100644 --- a/libraries/communication-layer/request-reply/Cargo.toml +++ b/libraries/communication-layer/request-reply/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "communication-layer-request-reply" -version = "0.1.1" +version.workspace = true edition = "2021" [features] diff --git a/libraries/core/Cargo.toml b/libraries/core/Cargo.toml index d419f7fb..494e6160 100644 --- a/libraries/core/Cargo.toml +++ b/libraries/core/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dora-core" -version = "0.1.1" +version.workspace = true edition = "2021" license = "Apache-2.0" diff --git a/libraries/extensions/download/Cargo.toml b/libraries/extensions/download/Cargo.toml index ad851bc6..6155a6e4 100644 --- a/libraries/extensions/download/Cargo.toml +++ b/libraries/extensions/download/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dora-download" -version = "0.1.1" +version.workspace = true edition = "2021" license = "Apache-2.0" diff --git a/libraries/extensions/telemetry/metrics/Cargo.toml b/libraries/extensions/telemetry/metrics/Cargo.toml index 77c1620d..57d31315 100644 --- a/libraries/extensions/telemetry/metrics/Cargo.toml +++ b/libraries/extensions/telemetry/metrics/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dora-metrics" -version = "0.1.1" +version.workspace = true edition = "2021" license = "Apache-2.0" diff --git a/libraries/extensions/telemetry/tracing/Cargo.toml b/libraries/extensions/telemetry/tracing/Cargo.toml index ccc59e57..2dd5ae4e 100644 --- a/libraries/extensions/telemetry/tracing/Cargo.toml +++ b/libraries/extensions/telemetry/tracing/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dora-tracing" -version = "0.1.1" +version.workspace = true edition = "2021" license = "Apache-2.0" diff --git a/libraries/extensions/zenoh-logger/Cargo.toml b/libraries/extensions/zenoh-logger/Cargo.toml index 1782b11a..7ef5d588 100644 --- a/libraries/extensions/zenoh-logger/Cargo.toml +++ b/libraries/extensions/zenoh-logger/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "zenoh-logger" -version = "0.1.1" +version.workspace = true edition = "2021" license = "Apache-2.0" diff --git a/libraries/message/Cargo.toml b/libraries/message/Cargo.toml index 5f0bbea6..95f4ef0e 100644 --- a/libraries/message/Cargo.toml +++ b/libraries/message/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dora-message" -version = "0.1.1" +version.workspace = true edition = "2021" license = "Apache-2.0"