-
Notifications
You must be signed in to change notification settings - Fork 15
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
Add libsodium feature in the crate #32
Comments
The test crate does nothing special. You can simply copy the configuration to your own crate if you need to link to libsodium. |
I see. The testcrate is just an example to show how to link to libsodium. I thought the reason that rust-zmq does not support libsodium was because zeromq-src does not support it. Do you have any idea? |
The See this link for more information.
There's no reason why libsodium wouldn't be supported. Last time I used zeromq (about 6 years ago), it could link to libsodium just fine. Could be a bug in the windows build script, based on the issue you showed. |
You can take a look at this archived repo for an example that should work. |
Those env variables are set by sodium side and zmq builders can use them. testcrate's build.rs demonstrates it. Thank you for your kind explanation. |
You're welcome. |
libsodium feature is only in the testcrate. Can we have it in the zeromq-src crate also?
The text was updated successfully, but these errors were encountered: