Get the latest tech news

Can a Rust binary use incompatible versions of the same library?


An example demonstrating how Rust and cargo support incompatible transitive dependencies (like Node.js + npm not Python + pip) - brannondorsey/rust-incompatible-transitive-dependencies

Can a Rust project import multiple SemVer-incompatible library crates, or will the dependency resolver reject this scenario and cause your code to fail to compile? Like Cargo, the Node Package Manager ( npm) allows multiple incompatible dependency versions to be used in the same project. question on the Rust language users forum (which was part of the motivation to create this example repo).

Get the Android app

Or read this on Hacker News

Read more on:

Photo of library

library

Photo of Rust binary use

Rust binary use

Related news:

News photo

Age is a simple, modern and secure file encryption tool, format, and Go library

News photo

Recommended Formats Statement

News photo

Steam improves how demos "appear and behave" in your library and on the Steam store