I wanted to add the macroquad liblary to my midi project and get this error on building
Updating crates.io index
error: failed to select a version for `quad-alsa-sys`.
... required by package `quad-snd v0.2.0`
... which satisfies dependency `quad-snd = "^0.2"` of package `macroquad v0.3.16`
... which satisfies dependency `macroquad = "^0.3.16"` of package `midi v0.1.0 (/home/max/Desktop/Rust/midi)`
versions that meet the requirements `^0.3.2` are: 0.3.2
the package `quad-alsa-sys` links to the native library `alsa`, but it conflicts with a previous package which links to `alsa` as well:
package `alsa-sys v0.3.1`
... which satisfies dependency `alsa-sys = "^0.3.1"` of package `alsa v0.6.0`
... which satisfies dependency `alsa = "^0.6.0"` of package `midir v0.8.0`
... which satisfies dependency `midir = "^0.8.0"` of package `midi v0.1.0 (/home/max/Desktop/Rust/midi)`
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 ='quad-alsa-sys' value. For more information, see https://doc.rust-lang.org/cargo/reference/resolver.html#links.
failed to select a version for `quad-alsa-sys` which could resolve this conflict
max@max-ubuntu:~/Desktop/Rust/midi$ ```