Browse Source

Remove rust--toolchain.toml and use rust-version in Cargo.toml

pull/1071/head
Chrislearn Young 6 months ago
parent
commit
bcf591deb4
50 changed files with 55 additions and 12 deletions
  1. +1
    -1
      .github/workflows/pip-release.yml
  2. +2
    -0
      Cargo.toml
  3. +1
    -0
      apis/c++/node/Cargo.toml
  4. +1
    -0
      apis/c++/operator/Cargo.toml
  5. +1
    -0
      apis/c/node/Cargo.toml
  6. +1
    -0
      apis/c/operator/Cargo.toml
  7. +1
    -0
      apis/python/node/Cargo.toml
  8. +1
    -0
      apis/python/operator/Cargo.toml
  9. +1
    -0
      apis/rust/node/Cargo.toml
  10. +1
    -0
      apis/rust/operator/Cargo.toml
  11. +1
    -0
      apis/rust/operator/macros/Cargo.toml
  12. +1
    -0
      apis/rust/operator/types/Cargo.toml
  13. +1
    -0
      binaries/cli/Cargo.toml
  14. +1
    -0
      binaries/coordinator/Cargo.toml
  15. +1
    -0
      binaries/daemon/Cargo.toml
  16. +1
    -0
      binaries/runtime/Cargo.toml
  17. +1
    -0
      examples/benchmark/node/Cargo.toml
  18. +1
    -0
      examples/benchmark/sink/Cargo.toml
  19. +1
    -0
      examples/multiple-daemons/node/Cargo.toml
  20. +1
    -0
      examples/multiple-daemons/operator/Cargo.toml
  21. +1
    -0
      examples/multiple-daemons/sink/Cargo.toml
  22. +1
    -0
      examples/rust-dataflow-url/sink/Cargo.toml
  23. +1
    -0
      examples/rust-dataflow/node/Cargo.toml
  24. +1
    -0
      examples/rust-dataflow/sink-dynamic/Cargo.toml
  25. +1
    -0
      examples/rust-dataflow/sink/Cargo.toml
  26. +1
    -0
      examples/rust-dataflow/status-node/Cargo.toml
  27. +1
    -0
      examples/rust-ros2-dataflow/node/Cargo.toml
  28. +1
    -0
      libraries/arrow-convert/Cargo.toml
  29. +1
    -0
      libraries/communication-layer/pub-sub/Cargo.toml
  30. +1
    -0
      libraries/communication-layer/request-reply/Cargo.toml
  31. +1
    -0
      libraries/core/Cargo.toml
  32. +1
    -0
      libraries/extensions/download/Cargo.toml
  33. +1
    -0
      libraries/extensions/ros2-bridge/Cargo.toml
  34. +1
    -0
      libraries/extensions/ros2-bridge/msg-gen/Cargo.toml
  35. +1
    -1
      libraries/extensions/ros2-bridge/python/Cargo.toml
  36. +1
    -0
      libraries/extensions/telemetry/metrics/Cargo.toml
  37. +1
    -0
      libraries/extensions/telemetry/tracing/Cargo.toml
  38. +1
    -1
      libraries/message/Cargo.toml
  39. +1
    -0
      libraries/shared-memory-server/Cargo.toml
  40. +1
    -1
      node-hub/dora-dav1d/Cargo.toml
  41. +1
    -0
      node-hub/dora-kit-car/Cargo.toml
  42. +3
    -2
      node-hub/dora-object-to-pose/Cargo.toml
  43. +3
    -2
      node-hub/dora-rav1e/Cargo.toml
  44. +1
    -0
      node-hub/dora-record/Cargo.toml
  45. +1
    -0
      node-hub/dora-rerun/Cargo.toml
  46. +2
    -1
      node-hub/dora-rustypot/Cargo.toml
  47. +1
    -0
      node-hub/openai-proxy-server/Cargo.toml
  48. +1
    -0
      node-hub/terminal-print/Cargo.toml
  49. +0
    -3
      rust-toolchain.toml
  50. +1
    -0
      tests/queue_size_latest_data_rust/receive_data/Cargo.toml

+ 1
- 1
.github/workflows/pip-release.yml View File

@@ -66,7 +66,7 @@ jobs:
args: --release --out dist --zig
manylinux: manylinux_2_28
working-directory: ${{ matrix.repository.path }}
before-script-linux: sudo apt-get install libatomic1-i386-cross libatomic1-armhf-cross && mkdir -p $HOME/.rustup/toolchains/1.84-x86_64-unknown-linux-gnu/lib/rustlib/i686-unknown-linux-gnu/lib/ && ln -s /usr/i686-linux-gnu/lib/libatomic.so.1 $HOME/.rustup/toolchains/1.84-x86_64-unknown-linux-gnu/lib/rustlib/i686-unknown-linux-gnu/lib/libatomic.so && ln -s /usr/i686-linux-gnu/lib/libatomic.so.1 $HOME/.rustup/toolchains/1.84-x86_64-unknown-linux-gnu/lib/rustlib/i686-unknown-linux-gnu/lib/libatomic.so.1 && ln -s /usr/i686-linux-gnu/lib/libatomic.so.1 /opt/hostedtoolcache/Python/3.8.18/x64/lib/libatomic.so.1 && mkdir -p $HOME/.rustup/toolchains/1.84-x86_64-unknown-linux-gnu/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/ && ln -s /usr/arm-linux-gnueabihf/lib/libatomic.so.1 $HOME/.rustup/toolchains/1.84-x86_64-unknown-linux-gnu/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libatomic.so
before-script-linux: sudo apt-get install libatomic1-i386-cross libatomic1-armhf-cross && mkdir -p $HOME/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/i686-unknown-linux-gnu/lib/ && ln -s /usr/i686-linux-gnu/lib/libatomic.so.1 $HOME/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/i686-unknown-linux-gnu/lib/libatomic.so && ln -s /usr/i686-linux-gnu/lib/libatomic.so.1 $HOME/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/i686-unknown-linux-gnu/lib/libatomic.so.1 && ln -s /usr/i686-linux-gnu/lib/libatomic.so.1 /opt/hostedtoolcache/Python/3.8.18/x64/lib/libatomic.so.1 && mkdir -p $HOME/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/ && ln -s /usr/arm-linux-gnueabihf/lib/libatomic.so.1 $HOME/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libatomic.so
- name: Upload wheels
if: github.event_name == 'release'
uses: actions/upload-artifact@v4


+ 2
- 0
Cargo.toml View File

@@ -49,6 +49,7 @@ members = [

[workspace.package]
edition = "2021"
rust-version = "1.85.0"
# Make sure to also bump `apis/node/python/__init__.py` version.
version = "0.3.12"
description = "`dora` goal is to be a low latency, composable, and distributed data flow."
@@ -97,6 +98,7 @@ serde_yaml = "0.9.33"

[package]
name = "dora-examples"
rust-version = "1.85.0"
version = "0.0.0"
edition.workspace = true
license = "Apache-2.0"


+ 1
- 0
apis/c++/node/Cargo.toml View File

@@ -2,6 +2,7 @@
name = "dora-node-api-cxx"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
documentation.workspace = true
description.workspace = true
license.workspace = true


+ 1
- 0
apis/c++/operator/Cargo.toml View File

@@ -2,6 +2,7 @@
name = "dora-operator-api-cxx"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
documentation.workspace = true
description.workspace = true
license.workspace = true


+ 1
- 0
apis/c/node/Cargo.toml View File

@@ -2,6 +2,7 @@
name = "dora-node-api-c"
version.workspace = true
edition.workspace = true
rust-version.workspace = true

documentation.workspace = true
description.workspace = true


+ 1
- 0
apis/c/operator/Cargo.toml View File

@@ -2,6 +2,7 @@
name = "dora-operator-api-c"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
description = "C API implementation for Dora Operator"
documentation.workspace = true
license.workspace = true


+ 1
- 0
apis/python/node/Cargo.toml View File

@@ -2,6 +2,7 @@
version.workspace = true
name = "dora-node-api-python"
edition.workspace = true
rust-version.workspace = true
documentation.workspace = true
description.workspace = true
license.workspace = true


+ 1
- 0
apis/python/operator/Cargo.toml View File

@@ -2,6 +2,7 @@
name = "dora-operator-api-python"
version.workspace = true
edition.workspace = true
rust-version.workspace = true

documentation.workspace = true
description.workspace = true


+ 1
- 0
apis/rust/node/Cargo.toml View File

@@ -2,6 +2,7 @@
name = "dora-node-api"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
documentation.workspace = true
description.workspace = true
license.workspace = true


+ 1
- 0
apis/rust/operator/Cargo.toml View File

@@ -2,6 +2,7 @@
name = "dora-operator-api"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
documentation.workspace = true
description.workspace = true
license.workspace = true


+ 1
- 0
apis/rust/operator/macros/Cargo.toml View File

@@ -2,6 +2,7 @@
name = "dora-operator-api-macros"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
description = "Rust API Macros for Dora Operator"
documentation.workspace = true
license.workspace = true


+ 1
- 0
apis/rust/operator/types/Cargo.toml View File

@@ -2,6 +2,7 @@
name = "dora-operator-api-types"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
documentation.workspace = true
description.workspace = true
license.workspace = true


+ 1
- 0
binaries/cli/Cargo.toml View File

@@ -2,6 +2,7 @@
name = "dora-cli"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
documentation.workspace = true
description.workspace = true
license.workspace = true


+ 1
- 0
binaries/coordinator/Cargo.toml View File

@@ -2,6 +2,7 @@
name = "dora-coordinator"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
documentation.workspace = true
description.workspace = true
license.workspace = true


+ 1
- 0
binaries/daemon/Cargo.toml View File

@@ -2,6 +2,7 @@
name = "dora-daemon"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
documentation.workspace = true
description.workspace = true
license.workspace = true


+ 1
- 0
binaries/runtime/Cargo.toml View File

@@ -2,6 +2,7 @@
name = "dora-runtime"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
documentation.workspace = true
description.workspace = true
license.workspace = true


+ 1
- 0
examples/benchmark/node/Cargo.toml View File

@@ -2,6 +2,7 @@
name = "benchmark-example-node"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
publish = false

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html


+ 1
- 0
examples/benchmark/sink/Cargo.toml View File

@@ -2,6 +2,7 @@
name = "benchmark-example-sink"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
publish = false

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html


+ 1
- 0
examples/multiple-daemons/node/Cargo.toml View File

@@ -2,6 +2,7 @@
name = "multiple-daemons-example-node"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
publish = false

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html


+ 1
- 0
examples/multiple-daemons/operator/Cargo.toml View File

@@ -2,6 +2,7 @@
name = "multiple-daemons-example-operator"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
publish = false



+ 1
- 0
examples/multiple-daemons/sink/Cargo.toml View File

@@ -2,6 +2,7 @@
name = "multiple-daemons-example-sink"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
publish = false

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html


+ 1
- 0
examples/rust-dataflow-url/sink/Cargo.toml View File

@@ -1,6 +1,7 @@
[package]
name = "rust-dataflow-url-example-sink"
version.workspace = true
rust-version.workspace = true
edition.workspace = true
publish = false



+ 1
- 0
examples/rust-dataflow/node/Cargo.toml View File

@@ -2,6 +2,7 @@
name = "rust-dataflow-example-node"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
publish = false

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html


+ 1
- 0
examples/rust-dataflow/sink-dynamic/Cargo.toml View File

@@ -2,6 +2,7 @@
name = "rust-dataflow-example-sink-dynamic"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
publish = false

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html


+ 1
- 0
examples/rust-dataflow/sink/Cargo.toml View File

@@ -2,6 +2,7 @@
name = "rust-dataflow-example-sink"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
publish = false

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html


+ 1
- 0
examples/rust-dataflow/status-node/Cargo.toml View File

@@ -2,6 +2,7 @@
name = "rust-dataflow-example-status-node"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
publish = false



+ 1
- 0
examples/rust-ros2-dataflow/node/Cargo.toml View File

@@ -2,6 +2,7 @@
name = "rust-ros2-dataflow-example-node"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
publish = false

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html


+ 1
- 0
libraries/arrow-convert/Cargo.toml View File

@@ -2,6 +2,7 @@
name = "dora-arrow-convert"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
documentation.workspace = true
description.workspace = true
license.workspace = true


+ 1
- 0
libraries/communication-layer/pub-sub/Cargo.toml View File

@@ -2,6 +2,7 @@
name = "communication-layer-pub-sub"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
documentation.workspace = true
description.workspace = true
license.workspace = true


+ 1
- 0
libraries/communication-layer/request-reply/Cargo.toml View File

@@ -2,6 +2,7 @@
name = "communication-layer-request-reply"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
documentation.workspace = true
description.workspace = true
license.workspace = true


+ 1
- 0
libraries/core/Cargo.toml View File

@@ -2,6 +2,7 @@
name = "dora-core"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
documentation.workspace = true
description.workspace = true
license.workspace = true


+ 1
- 0
libraries/extensions/download/Cargo.toml View File

@@ -2,6 +2,7 @@
name = "dora-download"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
documentation.workspace = true
description.workspace = true
license.workspace = true


+ 1
- 0
libraries/extensions/ros2-bridge/Cargo.toml View File

@@ -2,6 +2,7 @@
name = "dora-ros2-bridge"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
description = "ROS2 bridge for dora-rs"
links = "dora-ros2-bridge"


+ 1
- 0
libraries/extensions/ros2-bridge/msg-gen/Cargo.toml View File

@@ -1,6 +1,7 @@
[package]
name = "dora-ros2-bridge-msg-gen"
version.workspace = true
rust-version.workspace = true
edition.workspace = true
description = "Message generation for ROS2 bridge"
authors = ["Yuma Hiramatsu <yuma.hiramatsu@gmail.com>"]


+ 1
- 1
libraries/extensions/ros2-bridge/python/Cargo.toml View File

@@ -1,9 +1,9 @@
[package]
name = "dora-ros2-bridge-python"
version.workspace = true
rust-version.workspace = true
edition.workspace = true


[dependencies]
dora-ros2-bridge = { path = "..", default-features = false }
dora-ros2-bridge-msg-gen = { path = "../msg-gen" }


+ 1
- 0
libraries/extensions/telemetry/metrics/Cargo.toml View File

@@ -2,6 +2,7 @@
name = "dora-metrics"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
documentation.workspace = true
description.workspace = true
license.workspace = true


+ 1
- 0
libraries/extensions/telemetry/tracing/Cargo.toml View File

@@ -2,6 +2,7 @@
name = "dora-tracing"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
documentation.workspace = true
description.workspace = true
license.workspace = true


+ 1
- 1
libraries/message/Cargo.toml View File

@@ -3,12 +3,12 @@ name = "dora-message"
# versioned separately from the other dora crates
version = "0.5.0"
edition.workspace = true
rust-version.workspace = true
documentation.workspace = true
description.workspace = true
license.workspace = true
repository.workspace = true


# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]


+ 1
- 0
libraries/shared-memory-server/Cargo.toml View File

@@ -2,6 +2,7 @@
name = "shared-memory-server"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
documentation.workspace = true
description.workspace = true
license.workspace = true


+ 1
- 1
node-hub/dora-dav1d/Cargo.toml View File

@@ -1,6 +1,6 @@
[package]
name = "dora-dav1d"
edition = "2021"
edition.workspace = true
license = "BSD-2-Clause"
version.workspace = true



+ 1
- 0
node-hub/dora-kit-car/Cargo.toml View File

@@ -1,6 +1,7 @@
[package]
name = "dora-kit-car"
edition.workspace = true
rust-version.workspace = true
version.workspace = true
description.workspace = true
documentation.workspace = true


+ 3
- 2
node-hub/dora-object-to-pose/Cargo.toml View File

@@ -1,7 +1,8 @@
[package]
name = "dora-object-to-pose"
version = "0.3.12"
edition = "2021"
version.workspace = true
rust-version.workspace = true
edition.workspace = true

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html



+ 3
- 2
node-hub/dora-rav1e/Cargo.toml View File

@@ -1,7 +1,8 @@
[package]
name = "dora-rav1e"
edition = "2021"
version = "0.3.12"
edition.workspace = true
rust-version.workspace = true
version.workspace = true
description.workspace = true
documentation.workspace = true
license = "BSD-2-Clause"


+ 1
- 0
node-hub/dora-record/Cargo.toml View File

@@ -2,6 +2,7 @@
name = "dora-record"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
documentation.workspace = true
description.workspace = true
license.workspace = true


+ 1
- 0
node-hub/dora-rerun/Cargo.toml View File

@@ -2,6 +2,7 @@
name = "dora-rerun"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
documentation.workspace = true
description.workspace = true
license.workspace = true


+ 2
- 1
node-hub/dora-rustypot/Cargo.toml View File

@@ -1,7 +1,8 @@
[package]
name = "dora-rustypot"
version = "0.1.0"
edition = "2021"
edition.workspace = true
rust-version.workspace = true

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html



+ 1
- 0
node-hub/openai-proxy-server/Cargo.toml View File

@@ -2,6 +2,7 @@
name = "dora-openai-proxy-server"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
documentation.workspace = true
description.workspace = true
license.workspace = true


+ 1
- 0
node-hub/terminal-print/Cargo.toml View File

@@ -2,6 +2,7 @@
name = "terminal-print"
edition.workspace = true
version.workspace = true
rust-version.workspace = true
description.workspace = true
documentation.workspace = true
license.workspace = true


+ 0
- 3
rust-toolchain.toml View File

@@ -1,3 +0,0 @@
[toolchain]
channel = "1.84"
components = ["rustfmt", "clippy"]

+ 1
- 0
tests/queue_size_latest_data_rust/receive_data/Cargo.toml View File

@@ -1,6 +1,7 @@
[package]
name = "receive_data"
edition.workspace = true
rust-version.workspace = true
version.workspace = true
description.workspace = true
documentation.workspace = true


Loading…
Cancel
Save