Cargo Features

[dependencies]
dlopen-rs = { version = "0.7.0", default-features = false, features = ["debug", "std", "mmap", "tls", "version", "unwinding", "libgcc", "libunwind", "fde-phdr-dl", "fde-static", "fde-gnu-eh-frame-hdr"] }
default = debug, libgcc, mmap, tls

These default features are set whenever dlopen-rs is added without default-features = false somewhere in the dependency tree.

debug default = std

enable this when you want to use gdb/lldb to debug the loaded dynamic libraries

std debug mmap tls

enable std

Enables dynamic-loader-cache, libc, fs of elf_loader ^0.7.0

Affects dlopen::imp, dlopen-rs::abi

mmap default = std

enable default implementation on devices with mmapl storage

Enables mmap of elf_loader ^0.7.0

tls default = std

enable this when you need to use thread loca

version

activate specific versions of symbols for dynamic library loading

Enables version of elf_loader ^0.7.0

unwinding

enable this when you want to use the exception handling mechanism provided by dlopen-rs

Enables hashbrown ^0.14 and unwinding

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

see https://github.com/nbdd0121/unwinding/#unwinder

Enables fde-phdr-dl of optional unwinding

fde-static

see https://github.com/nbdd0121/unwinding/#baremetal

Enables fde-static of optional unwinding

fde-gnu-eh-frame-hdr

see https://github.com/nbdd0121/unwinding/#baremetal

Enables fde-gnu-eh-frame-hdr of optional unwinding