8000 Dependency issues · Issue #3 · riskable/riskeyboard70 · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Dependency issues #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
sakgoyal opened this issue May 12, 2023 · 0 comments
Open

Dependency issues #3

sakgoyal opened this issue May 12, 2023 · 0 comments

Comments

@sakgoyal
Copy link
sakgoyal commented May 12, 2023

Is there something I can do to fix the dependency errors I am getting? Im assuming a lot has changed in rust over the past 2 years so the packages have changed.

warning: C:\Users\xxx\Documents\xxx\riskeyboard70\Cargo.toml: the cargo feature `resolver` has been stabilized in the 1.51 release and is no longer necessary to be listed in the manifest
  See https://doc.rust-lang.org/nightly/cargo/reference/resolver.html#resolver-versions for more information about using this feature.
    Updating crates.io index
    Updating git repository `https://github.com/jkristell/infrared.git`
    Updating git repository `https://github.com/riskable/keyberon`
error: failed to select a version for `cortex-m-rt`.
    ... required by package `riskeyboard70 v0.1.0 (C:\Users\xxx\Documents\xxx\riskeyboard70)`
versions that meet the requirements `^0.7` are: 0.7.3, 0.7.0

the package `cortex-m-rt` links to the native library `cortex-m-rt`, but it conflicts with a previous package which links to `cortex-m-rt` as well:
package `cortex-m-rt v0.6.15`
    ... which satisfies dependency `cortex-m-rt = "^0.6.10"` of package `stm32f4 v0.13.0`
    ... which satisfies dependency `stm32f4 = "^0.13"` of package `stm32f4xx-hal v0.9.0`
    ... which satisfies dependency `stm32f4xx-hal = "^0.9"` of package `riskeyboard70 v0.1.0 (C:\Users\xxx\Documents\xxx\riskeyboard70)`
Only one package in the dependency graph may specify the same links value. This helps ensure that only one copy of a native library is linked in the final binary. Try to adjust your dependencies so that only one package uses the links ='cortex-m-rt' value. For more information, see https://doc.rust-lang.org/cargo/reference/resolver.html#links.

failed to select a version for `cortex-m-rt` which could resolve this conflict

image
image

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

No branches or pull requests

1 participant
0