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 ForeignTypes to grab ForeignType::into_ptr #2297

Open
rushilmehra opened this issue Sep 4, 2024 · 10 comments
Open

Upgrade ForeignTypes to grab ForeignType::into_ptr #2297

rushilmehra opened this issue Sep 4, 2024 · 10 comments

Comments

@rushilmehra
Copy link
Contributor

We pull in ForeignTypes version 5 in the boring crate, which let us get rid of some manual mem::forgets on pointers for which we pass ownership to boringssl. Here's the PR and some background discussion. Is it worth upgrading ForeignTypes here to grab the same benefit, or is there a reason the dep is pinned to 0.3.1? Happy to do the work if we want to bump

@alex
Copy link
Collaborator

alex commented Sep 4, 2024

I believe it's stuck at an old version, because bumping it is considered semver breaking. So there's a general expectation that we'll upgrade the next time we do a semver version bump for the openssl crate.

@rushilmehra
Copy link
Contributor Author

Makes sense, thanks. When that time comes, feel free to hit me up

@alex
Copy link
Collaborator

alex commented Sep 4, 2024

Sure. I'm not sure what @sfackler is thinking in terms of when to do a semver bump release.

@sfackler
Copy link
Owner

sfackler commented Sep 4, 2024

I think it's probably a good time to cut a version bump - CentOS 7 is EOL so we can drop 1.0.2 support.

@alex
Copy link
Collaborator

alex commented Sep 4, 2024 via email

@sfackler
Copy link
Owner

sfackler commented Sep 4, 2024

I definitely don't want to cut a breaking openssl-sys release. I think we'll probably just want to try to avoid regressing the 1.0.x bindings there but it'd probably not worth putting a ton of effort into that.

@botovq
Copy link
Contributor

botovq commented Sep 4, 2024 via email

@sfackler
Copy link
Owner

sfackler commented Sep 4, 2024

Yeah, we'll want to clean up LibreSSL versions as well.

@alex
Copy link
Collaborator

alex commented Sep 5, 2024

I'll file a tracking issue for "stuff we want to do in 0.11.

@alex
Copy link
Collaborator

alex commented Sep 5, 2024

#2298

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

No branches or pull requests

4 participants