Skip to content

fix(no-std): added spinlock for config checking#139

Closed
mkatychev wants to merge 3 commits intoecies:masterfrom
mkatychev:fix/no-std-rwlock
Closed

fix(no-std): added spinlock for config checking#139
mkatychev wants to merge 3 commits intoecies:masterfrom
mkatychev:fix/no-std-rwlock

Conversation

@mkatychev
Copy link

using ecies-rs in a no_std context produced compilation errors complaining about the use of std in parking_lot.

The parking_lot crate is not no_std compliant whereas lock_api is, added a spinlock backed lock_api compliant RwLock for the configuration using the spin crate when std feature is disabled.

@mkatychev mkatychev marked this pull request as ready for review October 3, 2025 23:14
@kigawas
Copy link
Member

kigawas commented Oct 9, 2025

@mkatychev Thanks for your contribution. Can you try #140 to check whether it's working for you?

@mkatychev
Copy link
Author

Hi @kigawas I'm sure the code works but I will not review AI generated output unfortunately.

@mkatychev mkatychev closed this Oct 9, 2025
@kigawas
Copy link
Member

kigawas commented Oct 14, 2025

0.2.10 is now released

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants