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

Examples: s2regex in Rust #47

Merged
merged 6 commits into from Dec 14, 2022
Merged

Examples: s2regex in Rust #47

merged 6 commits into from Dec 14, 2022

Conversation

sadroeck
Copy link
Collaborator

@sadroeck sadroeck commented Dec 13, 2022

General

This PR adds a simple s2regex example WASM rust crate supporting arbitrary regex matches on an input string.

Misc

  • Add missing Makefile & writ tests to the jsonpath example

Copy link
Member

@pvetere pvetere left a comment

Choose a reason for hiding this comment

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

Almost forgot about this -- could you add a little blurb for this example in the following README as well?

https://github.com/singlestore-labs/singlestore-wasm-toolkit/blob/main/examples/rust/README.md

examples/rust/jsonpath/Makefile Show resolved Hide resolved
* Use a single borrow of the compiled regex HashMap
* perform a single get-or-lookup for each pattern
@pvetere pvetere merged commit a85f317 into main Dec 14, 2022
@sadroeck sadroeck deleted the feature/wasm/rust-regex-example branch December 15, 2022 18:37
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.

None yet

3 participants