Cargo Features

[dependencies]
libslirp = { version = "4.3.2", 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.

Required by the libslirp-helper binary

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

Required by the libslirp-helper binary

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.23

Affects libslirp::mio

mio-extras default
slab default
libc helper?
nix helper?
libsystemd helper?
url helper?
lazy_static helper?
zbus helper?

Enables zbus ^1.9

zvariant helper?

Enables zvariant ^2.10

enumflags2 helper?

Enables enumflags2 ^0.6.4