Repository navigation
v0.2.0
Upgrading from 0.1
- Update the library dependency to
file-lease = "0.2"and install the matching
helper withcargo install file-lease --version 0.2.0 --locked. - Remove
shared-volumesfrom dependency feature lists. macOS volumes are now
always shared across overlapping leases, including with default features disabled. - Upgrade the library and helper together; older helpers are rejected before
any payload is sent.
Changes
-
Add
FileOptions::filenameto expose an exact filename through a symlink in
a private temporary directory on Linux and macOS. The helper cleans up links
on release or owner exit, including after handoff; payloads remain memory-backed.
Filename validation errors useErrorKind::InvalidFilename. Rebuild the helper
with the library because the internal handshake has changed. -
Always share macOS RAM volumes across overlapping leases and remove the
shared-volumesfeature. Builds that disabled default features to get
separate volumes now share them; builds naming the feature must drop it.
Linux helpers no longer reject libraries built with a different feature set.