Cargo Features

[dependencies]
hermit = { version = "0.9.1", default-features = false, features = ["fsgsbase", "instrument", "pci", "pci-ids", "randomize-layout", "rtl8139", "dns", "idle-poll"] }
default = acpi, dhcpv4, dns, fs, fsgsbase, pci, pci-ids, smp, tcp, udp

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

acpi dhcpv4 fs fsgsbase default
instrument

Build the kernel with function instrument code for mcount-based tracing

pci default pci-ids rtl8139?
pci-ids default = pci
randomize-layout

Enables -Z randomize-layout in the kernel

rtl8139 = pci

if this feature isn't set, the Virtio interface will be used

smp tcp udp dns default
trace vga shell idle-poll