Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ contains a pointer is *not* safe to send across threads. Providing an `unsafe
impl Send {}` for any data structure provided by libcryptsetup-rs that is not `Send`
may result in undefined behavior.

There is an active effort as of 2026 to make crypsetup and libdevmapper (the
thread-unsafe dependency) thread-safe. Once this is merged and released, we will
be able to remove this workaround for newer versions. However on older versions,
this restriction will remain in place.

### Building

The libcryptsetup bindings require some dependencies outside of cargo to build
Expand Down