diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 22b66370..6124c1e3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -30,6 +30,7 @@ jobs: -p dora-coordinator -p dora-cli -p dora-daemon" - name: "Publish packages on `crates.io`" + if: runner.os == 'Linux' run: | # Publish libraries crates cargo publish -p dora-message --token ${{ secrets.CARGO_REGISTRY_TOKEN }} diff --git a/Cargo.lock b/Cargo.lock index ece5af40..39cfadd0 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -256,7 +256,7 @@ checksum = "8c3c1a368f70d6cf7302d78f8f7093da241fb8e8807c05cc9e51a125895a6d5b" [[package]] name = "benchmark-example-node" -version = "0.2.0-rc" +version = "0.2.0-rc-2" dependencies = [ "dora-node-api", "eyre", @@ -269,7 +269,7 @@ dependencies = [ [[package]] name = "benchmark-example-sink" -version = "0.2.0-rc" +version = "0.2.0-rc-2" dependencies = [ "dora-node-api", "eyre", @@ -525,7 +525,7 @@ dependencies = [ [[package]] name = "communication-layer-pub-sub" -version = "0.2.0-rc" +version = "0.2.0-rc-2" dependencies = [ "flume", "zenoh", @@ -533,7 +533,7 @@ dependencies = [ [[package]] name = "communication-layer-request-reply" -version = "0.2.0-rc" +version = "0.2.0-rc-2" [[package]] name = "concurrent-queue" @@ -827,7 +827,7 @@ dependencies = [ [[package]] name = "dora-cli" -version = "0.2.0-rc" +version = "0.2.0-rc-2" dependencies = [ "atty", "clap 4.0.3", @@ -845,7 +845,7 @@ dependencies = [ [[package]] name = "dora-coordinator" -version = "0.2.0-rc" +version = "0.2.0-rc-2" dependencies = [ "ctrlc", "dora-core", @@ -868,7 +868,7 @@ dependencies = [ [[package]] name = "dora-core" -version = "0.2.0-rc" +version = "0.2.0-rc-2" dependencies = [ "dora-message", "eyre", @@ -884,7 +884,7 @@ dependencies = [ [[package]] name = "dora-daemon" -version = "0.2.0-rc" +version = "0.2.0-rc-2" dependencies = [ "async-trait", "bincode", @@ -909,7 +909,7 @@ dependencies = [ [[package]] name = "dora-download" -version = "0.2.0-rc" +version = "0.2.0-rc-2" dependencies = [ "eyre", "reqwest", @@ -934,7 +934,7 @@ dependencies = [ [[package]] name = "dora-message" -version = "0.2.0-rc" +version = "0.2.0-rc-2" dependencies = [ "capnp", "capnpc", @@ -944,7 +944,7 @@ dependencies = [ [[package]] name = "dora-metrics" -version = "0.2.0-rc" +version = "0.2.0-rc-2" dependencies = [ "futures", "opentelemetry", @@ -955,7 +955,7 @@ dependencies = [ [[package]] name = "dora-node-api" -version = "0.2.0-rc" +version = "0.2.0-rc-2" dependencies = [ "bincode", "capnp", @@ -977,7 +977,7 @@ dependencies = [ [[package]] name = "dora-node-api-c" -version = "0.2.0-rc" +version = "0.2.0-rc-2" dependencies = [ "dora-node-api", "eyre", @@ -987,7 +987,7 @@ dependencies = [ [[package]] name = "dora-node-api-cxx" -version = "0.2.0-rc" +version = "0.2.0-rc-2" dependencies = [ "cxx", "cxx-build", @@ -997,7 +997,7 @@ dependencies = [ [[package]] name = "dora-node-api-python" -version = "0.2.0-rc" +version = "0.2.0-rc-2" dependencies = [ "dora-node-api", "dora-operator-api-python", @@ -1010,7 +1010,7 @@ dependencies = [ [[package]] name = "dora-operator-api" -version = "0.2.0-rc" +version = "0.2.0-rc-2" dependencies = [ "dora-operator-api-macros", "dora-operator-api-types", @@ -1018,14 +1018,14 @@ dependencies = [ [[package]] name = "dora-operator-api-c" -version = "0.2.0-rc" +version = "0.2.0-rc-2" dependencies = [ "dora-operator-api-types", ] [[package]] name = "dora-operator-api-cxx" -version = "0.2.0-rc" +version = "0.2.0-rc-2" dependencies = [ "cxx", "cxx-build", @@ -1034,7 +1034,7 @@ dependencies = [ [[package]] name = "dora-operator-api-macros" -version = "0.2.0-rc" +version = "0.2.0-rc-2" dependencies = [ "proc-macro2", "quote", @@ -1043,7 +1043,7 @@ dependencies = [ [[package]] name = "dora-operator-api-python" -version = "0.2.0-rc" +version = "0.2.0-rc-2" dependencies = [ "dora-node-api", "eyre", @@ -1054,14 +1054,14 @@ dependencies = [ [[package]] name = "dora-operator-api-types" -version = "0.2.0-rc" +version = "0.2.0-rc-2" dependencies = [ "safer-ffi", ] [[package]] name = "dora-runtime" -version = "0.2.0-rc" +version = "0.2.0-rc-2" dependencies = [ "dora-core", "dora-download", @@ -1087,7 +1087,7 @@ dependencies = [ [[package]] name = "dora-tracing" -version = "0.2.0-rc" +version = "0.2.0-rc-2" dependencies = [ "eyre", "opentelemetry", @@ -3173,7 +3173,7 @@ dependencies = [ [[package]] name = "rust-dataflow-example-node" -version = "0.2.0-rc" +version = "0.2.0-rc-2" dependencies = [ "dora-node-api", "eyre", @@ -3184,14 +3184,14 @@ dependencies = [ [[package]] name = "rust-dataflow-example-operator" -version = "0.2.0-rc" +version = "0.2.0-rc-2" dependencies = [ "dora-operator-api", ] [[package]] name = "rust-dataflow-example-sink" -version = "0.2.0-rc" +version = "0.2.0-rc-2" dependencies = [ "dora-node-api", "eyre", @@ -3474,7 +3474,7 @@ dependencies = [ [[package]] name = "shared-memory-server" -version = "0.2.0-rc" +version = "0.2.0-rc-2" dependencies = [ "bincode", "eyre", @@ -4890,7 +4890,7 @@ dependencies = [ [[package]] name = "zenoh-logger" -version = "0.2.0-rc" +version = "0.2.0-rc-2" dependencies = [ "zenoh", ] diff --git a/Cargo.toml b/Cargo.toml index c38ed6d9..86d2c28e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -23,25 +23,25 @@ members = [ ] [workspace.package] -version = "0.2.0-rc" +version = "0.2.0-rc-2" description = "`dora` goal is to be a low latency, composable, and distributed data flow." -documentation = "https://dora-rs.github.io/dora" +documentation = "https://dora.carsmos.ai/dora/" [workspace.dependencies] -dora-node-api = { version = "0.2.0-rc", path = "apis/rust/node", default-features = false } -dora-operator-api = { version = "0.2.0-rc", path = "apis/rust/operator", default-features = false } -dora-operator-api-macros = { version = "0.2.0-rc", path = "apis/rust/operator/macros" } -dora-operator-api-types = { version = "0.2.0-rc", path = "apis/rust/operator/types" } -dora-operator-api-python = { version = "0.2.0-rc", path = "apis/python/operator" } -dora-core = { version = "0.2.0-rc", path = "libraries/core" } -dora-tracing = { version = "0.2.0-rc", path = "libraries/extensions/telemetry/tracing" } -dora-metrics = { version = "0.2.0-rc", path = "libraries/extensions/telemetry/metrics" } -dora-download = { version = "0.2.0-rc", path = "libraries/extensions/download" } -shared-memory-server = { version = "0.2.0-rc", path = "libraries/shared-memory-server" } -communication-layer-request-reply = { version = "0.2.0-rc", path = "libraries/communication-layer/request-reply" } -dora-message = { version = "0.2.0-rc", path = "libraries/message" } -dora-runtime = { version = "0.2.0-rc", path = "binaries/runtime" } -dora-daemon = { version = "0.2.0-rc", path = "binaries/daemon" } +dora-node-api = { version = "0.2.0-rc-2", path = "apis/rust/node", default-features = false } +dora-operator-api = { version = "0.2.0-rc-2", path = "apis/rust/operator", default-features = false } +dora-operator-api-macros = { version = "0.2.0-rc-2", path = "apis/rust/operator/macros" } +dora-operator-api-types = { version = "0.2.0-rc-2", path = "apis/rust/operator/types" } +dora-operator-api-python = { version = "0.2.0-rc-2", path = "apis/python/operator" } +dora-core = { version = "0.2.0-rc-2", path = "libraries/core" } +dora-tracing = { version = "0.2.0-rc-2", path = "libraries/extensions/telemetry/tracing" } +dora-metrics = { version = "0.2.0-rc-2", path = "libraries/extensions/telemetry/metrics" } +dora-download = { version = "0.2.0-rc-2", path = "libraries/extensions/download" } +shared-memory-server = { version = "0.2.0-rc-2", path = "libraries/shared-memory-server" } +communication-layer-request-reply = { version = "0.2.0-rc-2", path = "libraries/communication-layer/request-reply" } +dora-message = { version = "0.2.0-rc-2", path = "libraries/message" } +dora-runtime = { version = "0.2.0-rc-2", path = "binaries/runtime" } +dora-daemon = { version = "0.2.0-rc-2", path = "binaries/daemon" } [package] name = "dora-examples" diff --git a/apis/c++/node/Cargo.toml b/apis/c++/node/Cargo.toml index e0cfbc8a..f1f52ede 100644 --- a/apis/c++/node/Cargo.toml +++ b/apis/c++/node/Cargo.toml @@ -2,6 +2,8 @@ name = "dora-node-api-cxx" version.workspace = true edition = "2021" +documentation.workspace = true +description.workspace = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/apis/c++/operator/Cargo.toml b/apis/c++/operator/Cargo.toml index 56e0f57b..a831ec0b 100644 --- a/apis/c++/operator/Cargo.toml +++ b/apis/c++/operator/Cargo.toml @@ -2,6 +2,8 @@ name = "dora-operator-api-cxx" version.workspace = true edition = "2021" +documentation.workspace = true +description.workspace = true [lib] crate-type = ["staticlib"] diff --git a/apis/c/node/Cargo.toml b/apis/c/node/Cargo.toml index d1bf8b78..6d277a2e 100644 --- a/apis/c/node/Cargo.toml +++ b/apis/c/node/Cargo.toml @@ -3,6 +3,8 @@ name = "dora-node-api-c" version.workspace = true edition = "2021" license = "Apache-2.0" +documentation.workspace = true +description.workspace = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/apis/c/operator/Cargo.toml b/apis/c/operator/Cargo.toml index 09aab172..fce17026 100644 --- a/apis/c/operator/Cargo.toml +++ b/apis/c/operator/Cargo.toml @@ -4,6 +4,7 @@ version.workspace = true edition = "2021" license = "Apache-2.0" description = "C API implemetation for Dora Operator" +documentation.workspace = true [build-dependencies] dora-operator-api-types = { workspace = true } diff --git a/apis/python/node/Cargo.toml b/apis/python/node/Cargo.toml index f3bfefe2..37cdb0ec 100644 --- a/apis/python/node/Cargo.toml +++ b/apis/python/node/Cargo.toml @@ -3,6 +3,8 @@ version.workspace = true name = "dora-node-api-python" edition = "2021" license = "Apache-2.0" +documentation.workspace = true +description.workspace = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/apis/python/operator/Cargo.toml b/apis/python/operator/Cargo.toml index 94d15196..654e495b 100644 --- a/apis/python/operator/Cargo.toml +++ b/apis/python/operator/Cargo.toml @@ -3,6 +3,8 @@ name = "dora-operator-api-python" version.workspace = true edition = "2021" license = "Apache-2.0" +documentation.workspace = true +description.workspace = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/apis/rust/operator/macros/Cargo.toml b/apis/rust/operator/macros/Cargo.toml index 432d58eb..23c51ef7 100644 --- a/apis/rust/operator/macros/Cargo.toml +++ b/apis/rust/operator/macros/Cargo.toml @@ -4,6 +4,7 @@ version.workspace = true edition = "2021" license = "Apache-2.0" description = "Rust API Macros for Dora Operator" +documentation.workspace = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/apis/rust/operator/types/Cargo.toml b/apis/rust/operator/types/Cargo.toml index 156264c5..77f0a528 100644 --- a/apis/rust/operator/types/Cargo.toml +++ b/apis/rust/operator/types/Cargo.toml @@ -2,6 +2,8 @@ name = "dora-operator-api-types" version.workspace = true edition = "2021" +documentation.workspace = true +description.workspace = true # 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 4e16121d..c5b0b759 100644 --- a/binaries/cli/Cargo.toml +++ b/binaries/cli/Cargo.toml @@ -2,6 +2,8 @@ name = "dora-cli" version.workspace = true edition = "2021" +documentation.workspace = true +description.workspace = true # 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 a054ef5d..4ad47a1b 100644 --- a/binaries/coordinator/Cargo.toml +++ b/binaries/coordinator/Cargo.toml @@ -3,6 +3,8 @@ name = "dora-coordinator" version.workspace = true edition = "2021" license = "Apache-2.0" +documentation.workspace = true +description.workspace = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/binaries/daemon/Cargo.toml b/binaries/daemon/Cargo.toml index fb27b39d..76abbddb 100644 --- a/binaries/daemon/Cargo.toml +++ b/binaries/daemon/Cargo.toml @@ -2,6 +2,8 @@ name = "dora-daemon" version.workspace = true edition = "2021" +documentation.workspace = true +description.workspace = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/binaries/runtime/Cargo.toml b/binaries/runtime/Cargo.toml index 2a5366b9..8d9ef66f 100644 --- a/binaries/runtime/Cargo.toml +++ b/binaries/runtime/Cargo.toml @@ -3,6 +3,8 @@ name = "dora-runtime" version.workspace = true edition = "2021" license = "Apache-2.0" +documentation.workspace = true +description.workspace = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/libraries/communication-layer/pub-sub/Cargo.toml b/libraries/communication-layer/pub-sub/Cargo.toml index 48354b1e..e84660d4 100644 --- a/libraries/communication-layer/pub-sub/Cargo.toml +++ b/libraries/communication-layer/pub-sub/Cargo.toml @@ -2,6 +2,8 @@ name = "communication-layer-pub-sub" version.workspace = true edition = "2021" +documentation.workspace = true +description.workspace = true [features] default = ["zenoh"] diff --git a/libraries/communication-layer/request-reply/Cargo.toml b/libraries/communication-layer/request-reply/Cargo.toml index d68caaa5..c94f5f74 100644 --- a/libraries/communication-layer/request-reply/Cargo.toml +++ b/libraries/communication-layer/request-reply/Cargo.toml @@ -2,6 +2,8 @@ name = "communication-layer-request-reply" version.workspace = true edition = "2021" +documentation.workspace = true +description.workspace = true [package.metadata.docs.rs] diff --git a/libraries/core/Cargo.toml b/libraries/core/Cargo.toml index 83423284..6fbc6ef7 100644 --- a/libraries/core/Cargo.toml +++ b/libraries/core/Cargo.toml @@ -3,6 +3,8 @@ name = "dora-core" version.workspace = true edition = "2021" license = "Apache-2.0" +documentation.workspace = true +description.workspace = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/libraries/extensions/download/Cargo.toml b/libraries/extensions/download/Cargo.toml index 3ef2996b..a8773f5b 100644 --- a/libraries/extensions/download/Cargo.toml +++ b/libraries/extensions/download/Cargo.toml @@ -3,6 +3,8 @@ name = "dora-download" version.workspace = true edition = "2021" license = "Apache-2.0" +documentation.workspace = true +description.workspace = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/libraries/extensions/telemetry/metrics/Cargo.toml b/libraries/extensions/telemetry/metrics/Cargo.toml index 5b904cbf..ae90c75b 100644 --- a/libraries/extensions/telemetry/metrics/Cargo.toml +++ b/libraries/extensions/telemetry/metrics/Cargo.toml @@ -3,6 +3,8 @@ name = "dora-metrics" version.workspace = true edition = "2021" license = "Apache-2.0" +documentation.workspace = true +description.workspace = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/libraries/extensions/telemetry/tracing/Cargo.toml b/libraries/extensions/telemetry/tracing/Cargo.toml index b4e83dd1..f93d7a23 100644 --- a/libraries/extensions/telemetry/tracing/Cargo.toml +++ b/libraries/extensions/telemetry/tracing/Cargo.toml @@ -3,6 +3,8 @@ name = "dora-tracing" version.workspace = true edition = "2021" license = "Apache-2.0" +documentation.workspace = true +description.workspace = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/libraries/extensions/zenoh-logger/Cargo.toml b/libraries/extensions/zenoh-logger/Cargo.toml index 3d403cbb..8eb4de6e 100644 --- a/libraries/extensions/zenoh-logger/Cargo.toml +++ b/libraries/extensions/zenoh-logger/Cargo.toml @@ -3,6 +3,8 @@ name = "zenoh-logger" version.workspace = true edition = "2021" license = "Apache-2.0" +documentation.workspace = true +description.workspace = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/libraries/shared-memory-server/Cargo.toml b/libraries/shared-memory-server/Cargo.toml index 7c66afe6..8f003c2c 100644 --- a/libraries/shared-memory-server/Cargo.toml +++ b/libraries/shared-memory-server/Cargo.toml @@ -3,6 +3,8 @@ name = "shared-memory-server" version.workspace = true edition = "2021" license = "Apache-2.0" +documentation.workspace = true +description.workspace = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html