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

Implement From<&str> and From<&[u8]> for CryptoVec #391

Merged
merged 2 commits into from
Nov 24, 2024

Conversation

joshka
Copy link
Contributor

@joshka joshka commented Nov 23, 2024

So that session.data(channel, "foo".into()) works.

@joshka
Copy link
Contributor Author

joshka commented Nov 23, 2024

I wanted to some simple tests for this, but wasn't sure why the test module was platform gated. Pinging @irvingoujAtDevolution for some insight on the rationale.

@irvingoujAtDevolution
Copy link
Contributor

If I recall correctly, it was not there when I first created the test. Vec<u8> was a replacement for some libc dependent code under WASM.

@irvingoujAtDevolution
Copy link
Contributor

irvingoujAtDevolution commented Nov 23, 2024

You can safely remove it in this case, at least for these two for now.

@joshka
Copy link
Contributor Author

joshka commented Nov 23, 2024

You can safely remove it in this case, at least for these two for now.

Sounds good: 5980e71..72cd436

@Eugeny
Copy link
Owner

Eugeny commented Nov 24, 2024

LGTM, thanks!

@all-contributors add @joshka for code

@Eugeny Eugeny merged commit c328558 into Eugeny:main Nov 24, 2024
6 checks passed
Copy link
Contributor

@Eugeny

I've put up a pull request to add @joshka! 🎉

@joshka joshka deleted the jm/add-crypto-vec-from-str branch November 24, 2024 20:14
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