Go to file
Simonas Kazlauskas 00c21d873a Replace `docsrs` cfg with `libloading_docs`
`docsrs` is a commonly used `cfg` identifier. `libloading`'s
implementation is written in such a way that it cannot compile with this
cfg set, but is still able to produce documentation. This is done so
that the documentation is naturally covering all platform-specific
details in a single page, without users having to e.g. switch between
Windows® and Linux when reading the documentation on `docs.rs`.

The downstream crates may accidentally set this `cfg` for `rustc`
invocations as well, which can then cause them to fail to build, for no
good reason!

Using a cfg specific to a crate (e.g. `libloading_docs`)
more accurately reflects the purpose of this cfg and avoids these
problems altogether.

Fixes #101
2022-01-15 01:28:41 +02:00
.github/workflows Replace `docsrs` cfg with `libloading_docs` 2022-01-15 01:28:41 +02:00
src Replace `docsrs` cfg with `libloading_docs` 2022-01-15 01:28:41 +02:00
tests Library & Symbol exist on supported platforms only 2021-11-15 21:44:39 +02:00
.gitignore Release preparation tweaks 2016-07-27 17:16:33 +03:00
Cargo.toml Replace `docsrs` cfg with `libloading_docs` 2022-01-15 01:28:41 +02:00
LICENSE Add license and fill cargo.toml 2015-11-08 14:21:39 +02:00
README.mkd Improved the README and `lib.rs` documentation 2021-10-08 20:37:58 +01:00

README.mkd

libloading

Bindings around the platform's dynamic library loading primitives with greatly improved memory safety. The most important safety guarantee of this library is the prevention of dangling Symbols that may occur after a Library is unloaded.

Using this library allows the loading of dynamic libraries, also known as shared libraries, as well as the use of the functions and static variables that these libraries may contain.

libloading is available to use under ISC (MIT-like) license.