The rust crate libosdp 0.2.0 specifies the following dependency:
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"