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

Upgrade to zmq2 #345

Merged
merged 51 commits into from
Sep 13, 2022
Merged

Upgrade to zmq2 #345

merged 51 commits into from
Sep 13, 2022

Conversation

Jasper-Bekkers
Copy link
Collaborator

This mainly fixes a lot of build issues we were having building cross platform libraries for zmq. It's quite a few commits, but we've been running with this in production ever since the other crate got released more or less (which, for us, means we've tested Linux and Windows, not macOS).

This also updates the crate to point to the latest upstream release.

jean-airoldie and others added 30 commits February 18, 2022 00:09
* Update to zeromq-src with bumps libzmq version to 4.3.4 and
    enables building without cmake.
* Link against libsodium for encryption support for security
    and performance reasons.
`metadeps` hasn't seen an update and crate release for 4-5 years, with
`system-deps` being a fork and actively maintained successor to it.
…ke dll export settings got mixed up somewhere since we're looking for __impl_* definitions
@martynp
Copy link

martynp commented Jul 15, 2022

Any movement on getting this merged?

I use a small corner of ZMQ with Rust, probably not enough to be majorly useful against the full feature set of ZMQ - but am happy to look at test, review, CI etc. if I can be of help.

@Jasper-Bekkers
Copy link
Collaborator Author

Please do, this PR is actively looking for reviews @martynp

@Jasper-Bekkers
Copy link
Collaborator Author

Spent some time on this PR again;

  • Renamed all the zmq2 stuff back to zmq since we're moving to this crate
  • Most of the remaining changes are clippy fixes, crate updates, updates to CI infrastructure etc, nothing too major (moving away from Travis for example)

Copy link

@tosti007 tosti007 left a comment

Choose a reason for hiding this comment

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

I think these changes are good, but some are still fork-related. IMO this can be merged, once my requested changes are solved.

README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
Cargo.toml Outdated Show resolved Hide resolved
use zmq::{z85_decode, z85_encode, DecodeError, EncodeError};
//use quickcheck::{quickcheck, Arbitrary, Gen};
//use rand::Rng;
//use std::iter;
Copy link

Choose a reason for hiding this comment

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

If this code is fully redundant I think it'd be better to fully remove it from the codebase. Same goes for the comments later in this file.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I think it is still a valid test, but one that just needs to be updated eventually so I'll opt to leave it.

Copy link

@tosti007 tosti007 left a comment

Choose a reason for hiding this comment

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

I think it's good to merge!

@Jasper-Bekkers Jasper-Bekkers merged commit 92c638a into erickt:master Sep 13, 2022
@guenhter
Copy link

Hi, I know this is already some time ago, but @Jasper-Bekkers could you shortly elaborate why the vendored feature had to go?

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.

6 participants