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

Change coverage map to treat hotspot_key as bytes rather than a PublicKeyBinary #825

Merged
merged 2 commits into from
Jun 6, 2024

Conversation

bbalser
Copy link
Contributor

@bbalser bbalser commented Jun 6, 2024

In an effort to keep this crate simple and the deps small, refactored to treat the hotspot_key as just a bag of bytes rather than a PublicKeyBinary.

CoverageObject {
indoor: false,
hotspot_key: owner,
hotspot_key: vec![0, 0],
Copy link
Contributor

Choose a reason for hiding this comment

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

it's not very important, but these don't even need to be length 2. They could just be vec![0], vec![1], etc.

@@ -10,7 +10,6 @@ edition.workspace = true
[dependencies]
chrono = { workspace = true }
h3o = { workspace = true }
Copy link
Contributor

Choose a reason for hiding this comment

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

h30, helium-proto, and uuid are also candidates for removal.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

nice catch!, removed 530cb59

@bbalser bbalser merged commit 08cd5aa into main Jun 6, 2024
15 checks passed
@bbalser bbalser deleted the bbalser/coverage-map-remove-crypto branch June 6, 2024 16:29
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.

3 participants