Skip to content

antifuchs/cargo-dev-version-test-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repo shows the effects of non-purely numeric version numbers in a rust workspace:

  • Two crates lib-foo and lib-bar.
  • lib-foo depends on lib-bar
  • lib-bar is at version 0.1.0-dev.0
  • lib-foo still declares its dependency on lib-bar at version 0.1.0.

The result is a workspace that can not function: cargo errors out with:

error: no matching package named `lib-bar` found
location searched: /Users/asf/Mess/current/cargo-release-test/lib-bar
prerelease package needs to be specified explicitly
lib-bar = { version = "0.1.0-dev.0" }
required by package `lib-foo v0.1.0 (/Users/asf/Mess/current/cargo-release-test/lib-foo)`

About

Repo showing the effects of dev versions in cargo workspaces

Resources

Code of conduct

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages