Skip to content

feat: no defaults, exports traits only - #13

Merged
mikelodder7 merged 2 commits into
masterfrom
feat/traits-only
Oct 14, 2026
Merged

mikelodder7 merged 2 commits into
masterfrom
feat/traits-only

Conversation

@mikelodder7

Copy link
Copy Markdown
Contributor

This allows the various hash functions to be selected arbitrarily. If none are selected, only the traits are exported. This is useful when the cryptography will be provided externally.

I also did some minor performance improvements and fixed cargo doc which wasn't building before.

Signed-off-by: Mike Lodder <mikelodder@tectonic.xyz>

@dhuseby dhuseby left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just one little nit in the deserialization code. I'm surprised clippy didn't catch it.

Comment thread src/serde/de.rs Resolved
Comment thread src/serde/ser.rs Resolved
Comment thread tests/xof_tests.rs Resolved

@dhuseby dhuseby left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mikelodder7
mikelodder7 merged commit 842e46e into master Oct 14, 2026
4 checks passed
@mikelodder7
mikelodder7 deleted the feat/traits-only branch October 14, 2026 20:31
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