xmf-sys has no features set by default.
[dependencies] xmf-sys = { version = "0.2.0", features = ["static", "dlopen"] }
Use static linking at build-time.
Use manual library loading at runtime.