Skip to content

Construct point ID from UUID#227

Merged
timvisee merged 1 commit intodevfrom
point-id-from-uuid
Jun 27, 2025
Merged

Construct point ID from UUID#227
timvisee merged 1 commit intodevfrom
point-id-from-uuid

Conversation

@timvisee
Copy link
Member

Fixes #225

Allows PointId::from(uuid) and PointStruct::new(uuid, ...) as requested here.

Because we normally don't depend on uuid in our Rust crate, I've added it as optional dependency. Users can enable it as they please.

All Submissions:

  • Contributions should target the dev branch. Did you create your branch from dev?
  • Have you followed the guidelines in our Contributing document?
  • Have you checked to ensure there aren't other open Pull Requests for the same update/change?

This comment was marked as resolved.

@timvisee timvisee mentioned this pull request Jun 26, 2025
download_snapshots = ["reqwest", "futures-util"]
serde = ["dep:serde", "dep:serde_json"]
generate-snippets = []
uuid = ["dep:uuid"]
Copy link
Contributor

Choose a reason for hiding this comment

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

I think this is not needed, since it's an optional dependency, this can work as feature alone.
But totally fine to keep it to keep it clean.

Copy link
Member Author

Choose a reason for hiding this comment

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

You're right. I only put it there to clarify we have this 'option'.

@timvisee timvisee merged commit 300c9a7 into dev Jun 27, 2025
2 checks passed
generall pushed a commit that referenced this pull request Jul 14, 2025
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.

4 participants