Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Register new CName / CName as Hash #41

Merged
merged 12 commits into from
Dec 27, 2023

Conversation

Roms1383
Copy link
Contributor

This small PR adds:

  • the necessary conversion to use CName as std::hash::Hash (via newtype pattern)
  • the ability to safely register new CName in underlying CNamePool

Wishing you happy end of the year's celebrations @jac3km4 :)

allows to use std::hash:Hash with newtype pattern over CName
red4ext-sys/src/interop.rs Outdated Show resolved Hide resolved
red4ext-sys/src/interop.rs Outdated Show resolved Hide resolved
red4ext-sys/src/interop.rs Outdated Show resolved Hide resolved
@jac3km4 jac3km4 merged commit d2d7713 into jac3km4:master Dec 27, 2023
4 checks passed
@Roms1383 Roms1383 deleted the feat/register-cname branch December 28, 2023 01:01
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