#polyfill #pal #platform-abstraction

palaver

Cross-platform polyfills. This library attempts to provide reliable pollyfills for functionality that isn’t implemented on all platforms, for example gettid, memfd_create, fexecve, as well as providing non-atomic versions of functions like accept4, socket+SOCK_CLOEXEC, pipe2, an other miscellanea like seal to make a file descriptor read-only thus suitable for fexecve

1 unstable release

0.1.0 Aug 3, 2018
Download history 3/week @ 2018-10-01 1/week @ 2018-10-08 7/week @ 2018-10-15 151/week @ 2018-10-22 41/week @ 2018-10-29 11/week @ 2018-11-05 20/week @ 2018-11-12 15/week @ 2018-11-19 15/week @ 2018-11-26 22/week @ 2018-12-03 29/week @ 2018-12-10 14/week @ 2018-12-17 22/week @ 2018-12-24

8 downloads per month
Used in 2 crates

Apache-2.0

25KB
687 lines

palaver

Crates.io Apache-2.0 licensed Build Status Build Status

Docs

Cross-platform polyfills.

This library attempts to provide reliable pollyfills for functionality that isn't implemented on all platforms, for example gettid, memfd_create, fexecve, as well as providing non-atomic versions of functions like accept4, socket+SOCK_CLOEXEC, pipe2, and other miscellanea like seal to make a file descriptor read-only thus suitable for fexecve.

palaver = "Platform Abstraction Layer" / pa·lav·er n. – prolonged and tedious fuss.

It's currently used on unix-family systems; most Windows functionality is TODO.

License

Licensed under Apache License, Version 2.0, (LICENSE.txt or http://www.apache.org/licenses/LICENSE-2.0).

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be licensed as above, without any additional terms or conditions.

Dependencies

~16KB