rust-ring
ring crate source patched for x-only assembly
WWW CVSWeb GITHub-
Package versionrust-ring-0.16.20p9
-
MaintainerTheo Buehler
Bundles the source of the ring crate patched to work with OpenBSD's
execute only policy. Use this as a BUILD_DEPENDS for ports depending
on ring 0.16. It is not needed for ring >= 0.17.
+-----------------------------------------------------------------------
| Running ${PKGSTEM} on OpenBSD
+-----------------------------------------------------------------------
It is possible to use this port for locally built crates depending on
ring. The following snippet can be added to ~/.cargo/config.toml to
replace ring from crates.io with the patched source from this port:
[patch.crates-io]
ring = { path = "${LOCALBASE}/share/ring-${VERSION}" }
One side effect one needs to be aware of is that it changes Cargo.lock
files, so one needs to be careful when dealing with projects that have
it checked into git. This is typically the case for binary crates.