Simonas Kazlauskas f261f442bb Use mem::transmute not manual pointer casting
This avoids an `alloca` in optimised code and looks less heavy to read.
2015-11-12 14:23:59 +02:00
2015-08-27 11:34:57 +03:00
2015-11-08 14:05:33 +02:00
2015-11-07 13:17:53 +02:00
2015-11-08 14:21:39 +02:00
2015-11-08 14:21:39 +02:00
2015-11-09 09:39:35 +01:00

libloading Travis CI Appveyor CI

NOTE bindings are currently quite barebones (i.e. only allow opening a library and loading a symbol from it) and should get expanded over time.

The documentation can be found here.

This library is a safer (compared to the deprecated dynamic_lib) binding to platforms dynamic library loading utilities. The most important safety guarantee by this library is prevention of dangling-Symbols that may occur after a Library is unloaded. Due to several Rust features used in the API, these guarantees have no usability cost.

Note, that this library is not a drop-in replacement for the deprecated dynamic_lib. Many dubious APIs (notably, library search path modification) were prunned and string arguments take types that match conventions and system APIs better.

S
Description
提供动态库加载的支持。 | A Rust library that provides support for dynamic library loading.
Readme 1.2 MiB
Languages
Rust 100%