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

chore(dependencies): remove libc crate from dependencies #3377

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tottoto
Copy link
Contributor

@tottoto tottoto commented Oct 29, 2023

hyper uses libc in ffi feature for the C language's type aliases. As hyper's ffi feature is an unstable feature, hyper could use these types via std::ffi which require Rust 1.64, except for c_size_t which is a nightly only API. As libc::size_t and core::ffi::c_size_t are both defined as usize, this type might be able to be defined as type alias in hyper until it stabilizes.

Copy link

@kkocdko kkocdko left a comment

Choose a reason for hiding this comment

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

Happy to see the deps strip.

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

2 participants