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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

joshka
Copy link

@joshka joshka commented Nov 23, 2024

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

@joshka
Copy link
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
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

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