Skip to content
This repository has been archived by the owner on Jun 19, 2024. It is now read-only.

refactor: split pros up into several smaller subcrates #86

Merged
merged 32 commits into from
Mar 1, 2024

Conversation

Gavin-Niederman
Copy link
Member

Describe the changes this PR makes. Why should it be merged?

This PR splits up the large pros crate into multiple smaller subcrates. The pros crate no longer has any code of its own, but instead re-exports from the subcrates based on what features are enabled.
This closes #9.

Additional Context

  • These are breaking changes (semver: major).
  • These changes update the crate's interface (e.g. functions/modules added or changed).

@Gavin-Niederman Gavin-Niederman added semver:major Changes the existing API in a backward-incompatible manner type:refactor Updates internals without changing API interface labels Feb 4, 2024
@Gavin-Niederman Gavin-Niederman marked this pull request as ready for review February 10, 2024 21:50
packages/pros-core/src/pros_alloc/mod.rs Outdated Show resolved Hide resolved
packages/pros-core/src/competition.rs Outdated Show resolved Hide resolved
packages/pros-sync/src/lib.rs Outdated Show resolved Hide resolved
packages/pros-devices/src/lib.rs Outdated Show resolved Hide resolved
packages/pros-devices/src/screen.rs Outdated Show resolved Hide resolved
packages/pros-devices/src/smart/mod.rs Outdated Show resolved Hide resolved
packages/pros-devices/src/smart/mod.rs Outdated Show resolved Hide resolved
packages/pros-sys/src/motor.rs Show resolved Hide resolved
packages/pros/Cargo.toml Show resolved Hide resolved
packages/pros/src/lib.rs Show resolved Hide resolved
packages/pros/src/lib.rs Show resolved Hide resolved
packages/pros-devices/src/adi/mod.rs Outdated Show resolved Hide resolved
packages/pros-core/src/task/mod.rs Show resolved Hide resolved
@Gavin-Niederman Gavin-Niederman added this to the 0.8.0 milestone Feb 16, 2024
CHANGELOG.md Outdated Show resolved Hide resolved
Copy link
Member

@Tropix126 Tropix126 left a comment

Choose a reason for hiding this comment

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

LGTM

@Gavin-Niederman Gavin-Niederman dismissed doinkythederp’s stale review March 1, 2024 20:31

all of the points have been adressed

@Gavin-Niederman Gavin-Niederman merged commit 61b560b into main Mar 1, 2024
6 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
semver:major Changes the existing API in a backward-incompatible manner type:refactor Updates internals without changing API interface
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Split pros crate into multiple smaller sub-crates
3 participants