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

Wip/wasm #36

Closed
wants to merge 4 commits into from
Closed

Wip/wasm #36

wants to merge 4 commits into from

Conversation

fabiosky
Copy link
Contributor

Issue #, if available:
#23
#35

Description of changes:

  • Add to README that dcv-color-primitives C bindings requires to link also ws2_32.lib and userenv.lib.
  • WebAssembly support

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@nacho
Copy link
Contributor

nacho commented Jul 13, 2020

Looks good to me

Copy link

@Urhengulas Urhengulas left a comment

Choose a reason for hiding this comment

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

Thank you very much for the patch 😄

Cargo.toml Show resolved Hide resolved
Cargo.toml Show resolved Hide resolved
@Urhengulas
Copy link

And a small other idea would be to use cfg-if for the conditional compilation. Could make it bit cleaner.

@Urhengulas
Copy link

Hello @fabiosky 👋

When do you think this PR will land? I'd like to commit it to our main branch and would prefer a cargo release over a git-dependency.

Are there any blockers I could help with?

@fabiosky
Copy link
Contributor Author

Hi @Urhengulas ,

I rebased the code above on master,
I applied the changes you suggested, except for the cfg-if which will come in a future release.

@fabiosky
Copy link
Contributor Author

Here's the new release that comes with wasm32 support:
https://github.com/aws/dcv-color-primitives/releases/tag/v0.1.14

@fabiosky
Copy link
Contributor Author

Published on crates too:
https://crates.io/crates/dcv-color-primitives

@fabiosky
Copy link
Contributor Author

This was merged on master.
Closing.

@fabiosky fabiosky closed this Jul 31, 2020
@fabiosky fabiosky deleted the wip/wasm branch July 31, 2020 09:05
@Urhengulas
Copy link

Thank you very much for your work @fabiosky!! 😄

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