Skip to content

libosdp crate allows libosdp-sys ^3.2.0 despite only being compatible with 3.1.0 #293

@IntrepidEnki

Description

@IntrepidEnki

The rust crate libosdp 0.2.0 specifies the following dependency:

libosdp-sys="3.1.0" 

This results in libosdp attempting to use the latest versions of libosdp-sys beyond 3.1.0, namely 3.2.1 - however the current latest release of libosdp (0.2.0) is not compatible with libosdp 3.2.0 and greater, resulting in build failures.

The below commit makes changes to libosdp to support libosdp-sys 3.2.0 but notably these changes are not in libosdp 0.2.0:
goToMain/libosdp-rs@4a41c81#diff-6f71ce16ea41cb21450c63cd6af4ad27689dcf5bf684c3e57ad3f82d101c640b

Cargo dependency versioning ref (https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#version-requirement-syntax)

To specify this exact version in Cargo:

[dependencies]
libosdp-sys = "=3.1.0"

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