Skip to content
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

Versioning matters _a lot_ #430

Closed
TyOverby opened this issue Jun 27, 2014 · 3 comments
Closed

Versioning matters _a lot_ #430

TyOverby opened this issue Jun 27, 2014 · 3 comments

Comments

@TyOverby
Copy link
Contributor

Imagine the following project structure. Assume this is after Cargo is finished.

  • My Game
    • piston
    • graphics
    • sdl2_game_window (backend)
      • sdl2
      • piston
      • gl
    • opengl_graphics (backend)
      • gl
      • graphics
      • image

Notice how both sdl2_game_window and opengl_graphics depend on gl. If we screw up and release with both those backends depending on different versions of gl, then we have a massive potential for bugs.

But even if we do everything correctly and our users screw up and depend on sdl2_game_window and opengl_graphics with incompatible versions, then there is the possibility of those same bugs.

It even gets worse when you realize that the user could select a piston version and an incompatible backend for piston.

@TyOverby
Copy link
Contributor Author

I've opened an issue on Cargo
rust-lang/cargo#73

@bvssvni
Copy link
Member

bvssvni commented Jun 27, 2014

It is nice to start thinking of this now so we can give early feedback to the Cargo project.

@bvssvni
Copy link
Member

bvssvni commented Aug 18, 2014

I'm closing this discussion to clean up the issue tracker.

@bvssvni bvssvni closed this as completed Aug 18, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants