Skip to content

Import source code from baselibs_rust repository#236

Merged
4og merged 89 commits into
mainfrom
feat/migrate-rust-code
Jun 9, 2026
Merged

Import source code from baselibs_rust repository#236
4og merged 89 commits into
mainfrom
feat/migrate-rust-code

Conversation

@4og

@4og 4og commented Jun 5, 2026

Copy link
Copy Markdown
Member

This PR imports all source code from https://github.com/eclipse-score/baselibs_rust

Currently, the code is moved as is into the /src folder. Follow-up: #248

Part of #200

eclipse-otterdog Bot and others added 30 commits October 26, 2025 19:52
`inc_orchestrator_internal` was used as a basis.
- Update all dependencies.
- Add additional config files (e.g., `.cargo/`, `rust-toolchain.toml`,
  `rustfmt.toml`).
- Update `.github` to be more Rust-specific.
- Update Bazel configuration (e.g., `BUILD`, `MODULE.bazel`).
- Add `Cargo.toml` workspace definition.
- Update licenses.
- Update `docs/` and `README.md` (still WIP).
- Make examples and tests work, both with Cargo and Bazel.
- Remove obsolete test examples.
- Add Python dependency.
- Remove license headers check - should be done by Bazel checks.
- Remove loom run.
- Reorganize repository.
- Remove placeholders.
- Remove unnecessary deps.
- Improve docs.
- Remove `.cargo/`.
- Remove Cargo repo in `MODULE.bazel`.
- Add git_override of the score_tooling dep.
- Add copyright checks to examples and docs.
- Align Rust versions.
- Remove self-dependency.
ABI-compatible and fixed-capacity vectors
- Replacement for `core::fmt`.
- Partial implementation of common types.
- `ScoreDebug` implementation helpers.
- Unit tests.
"InsufficientCapacity" is a more precise description than "VectorFull"
or similar error names.
ABI-compatible and fixed-capacity strings
- Align to recent changes to formatting.
- Enforce Bazel target for formatting.
  - Make `rustfmt.toml` unusable with an error messag.e
- Make VS Code use Bazel target.
infra: align toolchains usage, deps and enable QNX8 CI
ABI-compatible Option and Result types
- Replacement for `format_args!` macro.
- Replacement for `Debug` derive macro.
- Unit tests.
@4og 4og changed the title Feat/migrate rust code Import source code from baselibs_rust repository Jun 5, 2026
@github-actions

github-actions Bot commented Jun 5, 2026

Copy link
Copy Markdown

The created documentation from the pull request is available at: docu-html

@4og
4og force-pushed the feat/migrate-rust-code branch from 1549273 to 2f6fa1d Compare June 5, 2026 15:59
@4og 4og self-assigned this Jun 5, 2026
@4og
4og marked this pull request as ready for review June 8, 2026 08:39
@4og
4og requested a review from antonkri as a code owner June 8, 2026 08:39
antonkri
antonkri previously approved these changes Jun 8, 2026
@github-project-automation github-project-automation Bot moved this from In Progress to On Hold in BAS - Baselibs FT Jun 8, 2026
@4og
4og requested a review from pawelrutkaq June 8, 2026 08:51
@4og

4og commented Jun 8, 2026

Copy link
Copy Markdown
Member Author

We need to archive baselibs_rust repo before merging this

@pawelrutkaq

Copy link
Copy Markdown
Contributor

We need to archive baselibs_rust repo before merging this

I would check that last release of baselib_rust covers the latest commit. Then merge this here. Do first release with it and then archive.

@pawelrutkaq pawelrutkaq left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good for now, moving to "new" location in repo will be done as next step. I would ask add me and @arkjedrz as codeowners too for rust part.

@4og
4og force-pushed the feat/migrate-rust-code branch from 58e459f to 1973833 Compare June 8, 2026 11:18
pawelrutkaq
pawelrutkaq previously approved these changes Jun 8, 2026

@fbaeuerle fbaeuerle left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mainly looked at the build files. looks good to me but we need to find a better place for the rust code.

@4og
4og force-pushed the feat/migrate-rust-code branch 2 times, most recently from 5524d57 to d92239f Compare June 8, 2026 18:51
eclipse-otterdog Bot pushed a commit to eclipse-score/.eclipsefdn that referenced this pull request Jun 9, 2026
As baselibs_rust were moved to baselibs
in eclipse-score/baselibs#236
we archive repository
@4og
4og merged commit 9bbb257 into main Jun 9, 2026
20 checks passed
@4og
4og deleted the feat/migrate-rust-code branch June 9, 2026 08:01
@github-project-automation github-project-automation Bot moved this from On Hold to Done in BAS - Baselibs FT Jun 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.