https://bugzilla.redhat.com/show_bug.cgi?id=2549486
--- Comment #4 from Fabio Valentini <[email protected]> --- Having multiple libraries that do the same thing is one concern, but the bigger concern is that multiple "-sys" crates that link the same "native" library are can cause problems (due to unpredictable symbol resolution during link time and / or linker errors). This is why cargo enforces this and errors out if multiple crates in an application's dependency tree have the same "links" attribute - see also the cargo docs: https://doc.rust-lang.org/cargo/reference/build-scripts.html#the-links-manifest-key It looks like native-ossl would only not hit this safety check issue because it sets `links = "ssl"` (which is arguably more correct) while the openssl-sys and ossl-sys crates use `links = "openssl"` - but *technically* any application that has two or more of openssl-sys / ossl-sys / native-openssl-sys in its dependency tree is at risk of hard-to-debug issues or linker errors. --- Side note: > ring wrappers so that RustCrypt consumers can work without changes The RustCrypto ecosystem does not use the "ring" crate. It was primarily used as the default backend of rustls, but is now superseded by aws-lc-rs. -- You are receiving this mail because: You are always notified about changes to this product and component You are on the CC list for the bug. https://bugzilla.redhat.com/show_bug.cgi?id=2549486 Report this comment as SPAM: https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202549486%23c4 -- _______________________________________________ package-review mailing list -- [email protected] To unsubscribe send an email to [email protected] Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/[email protected] Do not reply to spam, report it: https://forge.fedoraproject.org/infra/tickets/issues/new
