Repository navigation
WIP [Rust SDK] Add the Cargo workspace, Gradle integration and model crate - #40508
prodriguezdefino wants to merge 1 commit into
Conversation
First change in the series that adds the Apache Beam Rust SDK. This change adds: - The Cargo workspace at sdks/rust (rustfmt and clippy configuration, workspace lints, dev profiles) with a single member. - apache-beam-model: protobuf and gRPC bindings generated at build time from the model protos in this repository (model/pipeline, model/fn-execution, model/job-management). - Gradle integration (:sdks:rust), so the SDK builds like the rest of the repository: build, check (rustfmt + clippy -D warnings), test, fmt and clean. build.gradle applies one script per build area from sdks/rust/gradle/; the tasks call cargo, which handles incremental builds. Gradle passes the Beam version from gradle.properties to cargo; no Beam version is hard-coded in the Rust sources. - Release tooling: release/src/main/scripts/set_version.sh bumps the Cargo manifests through sdks/rust/scripts/set_version.sh. - local-env-setup.sh installs Rust and protoc. - README.md and docs/development.md.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #40508 +/- ##
============================================
+ Coverage 58.65% 58.78% +0.12%
- Complexity 13843 13922 +79
============================================
Files 2579 2585 +6
Lines 270366 271702 +1336
Branches 11212 11244 +32
============================================
+ Hits 158587 159713 +1126
- Misses 105747 105987 +240
+ Partials 6032 6002 -30
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
Hey @prodriguezdefino, I would like to help this PR as much as possible since I didn't know Beam is getting a Rust SDK. I am new to beam and I am excited to see Rust based work here. I tested this branch locally on Windows with One small note: building on Windows requires Happy to help test upcoming PRs on Windows or contribute to the downstream crates as the SDK progresses. |
First change in the series that adds the Apache Beam Rust SDK.
This change adds: