hwchen / keyring-rs

Cross-platform library and utility to manage passwords
Apache License 2.0
485 stars 52 forks source link

Support OpenBSD #156

Closed klemensn closed 9 months ago

klemensn commented 9 months ago

This came about as a build fix for OpenBSD's new spotifyd package:

error[E0433]: failed to resolve: use of undeclared crate or module `default`
  --> .../modcargo-crates/keyring-2.0.1/src/lib.rs:176:54

Local spotifyd patches to enable its keyring feature practically differ only in README.md and Cargo.toml churn; this makes keyring-rs build fine by adapting existing FreeBSD bits.

brotskydotcom commented 9 months ago

Sure, why not. I'll review this for formatting and then release it. Can you please open an issue requesting OpenBSD support? (I prefer to have all PRs tied to an issue.)

klemensn commented 9 months ago

Local spotifyd patches to enable its keyring feature practically differ only in README.md and Cargo.toml churn; this makes keyring-rs build fine by adapting existing FreeBSD bits.

Current patches for reference: https://github.com/openbsd/ports/commit/0aa75488a5896a7b8bf3a88282128c1e28dc1efa