Skip to content

Fix/xattr cfg gate#6

Merged
bbqsrc merged 2 commits intomainfrom
fix/xattr-cfg-gate
Apr 27, 2026
Merged

Fix/xattr cfg gate#6
bbqsrc merged 2 commits intomainfrom
fix/xattr-cfg-gate

Conversation

@bbqsrc
Copy link
Copy Markdown
Owner

@bbqsrc bbqsrc commented Apr 27, 2026

No description provided.

bbqsrc added 2 commits April 23, 2026 15:01
src/sync/reader.rs called xattr::set under #[cfg(target_os = "linux")]
alone, but the xattr crate is an optional dep controlled by the xattr
feature (src/fs.rs uses the correct all(..., feature = "xattr") gate).
Downstreams that disable default-features and don't opt into xattr
(e.g. divvunspell) failed to compile on Linux with "cannot find module
or crate `xattr`".

Widen both guards in sync/reader.rs to match src/fs.rs.
Affects >= 0.9.0, < 0.16.3. Low severity. lru 0.17 is
API-compatible with how box uses it (LruCache::new + get/put).
@bbqsrc bbqsrc merged commit e94d4fc into main Apr 27, 2026
4 of 10 checks passed
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.

1 participant