Skip to content

Added query unique methods from existing c api to rust api#345

Open
MitchellRhysHall wants to merge 1 commit intocodyps:masterfrom
MitchellRhysHall:master
Open

Added query unique methods from existing c api to rust api#345
MitchellRhysHall wants to merge 1 commit intocodyps:masterfrom
MitchellRhysHall:master

Conversation

@MitchellRhysHall
Copy link

This PR adds support for unique value enumeration of journal fields in the Journal API, corresponding to the native systemd API sd_journal_query_unique() and sd_journal_enumerate_unique(). It enables Rust programs to efficiently retrieve all unique values for a field (e.g., _SYSTEMD_UNIT) without iterating every journal entry.

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