Cargo Features

[dependencies]
libslirp = { version = "4.3.1", default-features = false, features = ["helper", "ipnetwork", "structopt", "mio", "mio-extras", "slab"] }
default = ipnetwork, mio, mio-extras, slab, structopt

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

helper = enumflags2, lazy_static, libc, libsystemd, nix, url, zbus, zvariant

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

ipnetwork default
structopt default

Affects libslirp::opt, libslirp::mio

mio default

Enables mio ^0.6.19

Affects libslirp::mio

mio-extras default
slab default
libc helper?
nix helper?

Enables nix ^0.25

libsystemd helper?

Enables libsystemd ^0.5

url helper?
lazy_static helper?
zbus helper?

Enables zbus ^1.0

zvariant helper?

Enables zvariant ^2.0

enumflags2 helper?

Enables enumflags2 ^0.6.4