Skip to content

Versioning matters _a lot_ #430

@TyOverby

Description

@TyOverby

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions