Cargo Features

[dependencies]
hermit = { version = "0.9.0", default-features = false, features = ["fsgsbase", "instrument", "pci", "pci-ids", "randomize-layout", "rtl8139", "udp", "shell"] }
default = acpi, dhcpv4, 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 default
trace vga shell