rustls / rustls-ffi

Use Rustls from any language
Other
124 stars 31 forks source link

Replace libc dependency with core::ffi::* #377

Open cpu opened 7 months ago

cpu commented 7 months ago

Presently rustls-ffi takes a dependency on the libc crate for the following imports:

It looks like the core::ffi module has many of these same defines, and could potentially let us drop an external dependency.

Blockers:

I propose we wait for c_size_t to stablize and then replace libc with core::ffi::* and manually defined EINVAL/EIO.