Skip to content

[C-API] Add a function to find out the current version. #971

@nico-robert

Description

@nico-robert

Why:

  • Runtime version checking (especially with dynamic libraries)
  • Better debugging and support.

Implementation: Expose CARGO_PKG_VERSION . No memory management needed (static string).

I can submit a PR on this if you are interested.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions