Skip to content

Use crazyflie-link and crazyradio through the crazyflie-lib re-exports#15

Merged
gemenerik merged 2 commits into
mainfrom
rik/use-crazyflie-lib-reexports
Jul 16, 2026
Merged

Use crazyflie-link and crazyradio through the crazyflie-lib re-exports#15
gemenerik merged 2 commits into
mainfrom
rik/use-crazyflie-lib-reexports

Conversation

@gemenerik

Copy link
Copy Markdown
Member

crazyflie-lib now re-exports crazyflie-link (which re-exports crazyradio), so the exact versions it was built against are reachable as crazyflie_lib::crazyflie_link and no longer need to be direct dependencies kept manually in sync.

crazyflie-lib now re-exports crazyflie-link (which re-exports
crazyradio), so the exact versions it was built against are reachable
as crazyflie_lib::crazyflie_link and no longer need to be direct
dependencies kept manually in sync.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the Rust crate in this repository to rely on crazyflie-lib’s re-exports of crazyflie-link (and transitively crazyradio), removing the need to keep direct dependency versions manually aligned.

Changes:

  • Switch rust/Cargo.toml from a git-pinned crazyflie-lib to the crates.io release 0.8.1 and drop direct crazyflie-link / crazyradio dependencies.
  • Update Rust code to reference crazyflie-link and crazyradio via crazyflie_lib::crazyflie_link re-exports.
  • Refresh rust/Cargo.lock to reflect the new dependency graph and resolved versions.

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated no comments.

File Description
rust/src/link_context.rs Updates type and API references to use crazyflie_lib re-exports for link/radio functionality.
rust/Cargo.toml Removes direct crazyflie-link/crazyradio deps and moves crazyflie-lib to crates.io 0.8.1.
rust/Cargo.lock Updates the lockfile to match the new dependency sources and resolved versions.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

crazyflie-lib 0.8.1 moved these commands to the new supervisor
subsystem and deprecated the localization and platform methods, which
fails our build under -D warnings. Call the supervisor methods
internally instead; the Python API is unchanged and keeps exposing
them in their current locations.

Moving them under a supervisor subsystem in the Python API too is left
to the pending supervisor subsystem PR.
@gemenerik
gemenerik merged commit b1c7afe into main Jul 16, 2026
1 check passed
@gemenerik
gemenerik deleted the rik/use-crazyflie-lib-reexports branch July 16, 2026 09:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants