Cargo Features
[dependencies]
dlopen-rs = { version = "0.4.0", default-features = false, features = ["ldso", "debug", "std", "mmap", "tls", "version", "unwinding", "libgcc", "libunwind", "fde-phdr-dl", "fde-static", "fde-gnu-eh-frame-hdr"] }
- default = ldso, libgcc, mmap, tls
-
These default features are set whenever
dlopen-rs
is added without
somewhere in the dependency tree.default-features = false - ldso default = std
-
allows dynamic libraries to be loaded using system dynamic loaders(ldso)
Enables libc
- debug = std
-
enable this when you want to use gdb/lldb to debug the loaded dynamic libraries
- std debug? ldso mmap tls
-
enable std
Enables libc, std of elf_loader
- mmap default = std
-
enable default implementation on devices with mmap
Enables libc, mmap of elf_loader
- tls default = std
-
enable this when you need to use thread local storage
Enables libc, tls of elf_loader
- version
-
activate specific versions of symbols for dynamic library loading
Enables version of elf_loader
- unwinding
-
enable this when you want to use the exception handling mechanism provided by dlopen-rs
- libgcc default
-
enable this when program uses libgcc to handle exceptions
Enables gimli ^0.30
- libunwind
-
enable this when program uses libunwind to handle exceptions
Enables gimli ^0.30
- fde-phdr-dl
-
Enables fde-phdr-dl of optional unwinding
- fde-static
-
Enables fde-static of optional unwinding
- fde-gnu-eh-frame-hdr
-
Enables fde-gnu-eh-frame-hdr of optional unwinding