Cargo Features

[dependencies]
libhermit-rs = { version = "0.6.3", default-features = false, features = ["vga", "newlib", "pci", "acpi", "smp", "fsgsbase", "trace", "rtl8139", "fs", "tcp", "dhcpv4", "pci-ids"] }
default = acpi, dhcpv4, fs, fsgsbase, pci, pci-ids, smp, tcp

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

vga
newlib

Affects virtualmem::kernel_heap_end, task::Task.lwip_errno, synch::recmutex, syscalls::LWIP_LOCK, tasks::SignalHandler, tasks::sys_getprio, tasks::sys_setprio, tasks::sbrk_init, tasks::sys_sbrk, tasks::sys_clone, tasks::sys_kill, tasks::sys_signal

pci default fs rtl8139?

Affects kernel::pci, kernel::pci, fs::virtio_fs, fs::virtio_pci, drivers::pci, net::virtio_pci, env::pci, transport::pci, fs::fuse

acpi default

Affects kernel::acpi, paging::identity_map

smp default = include-transformed

Affects kernel::get_possible_cpus, kernel::get_processor_count, apic::local_apic_id_count, apic::boot_application_processors, apic::ipi_tlb_flush, kernel::raw_boot_info, kernel::get_possible_cpus, kernel::get_processor_count, kernel::application_processor_init

fsgsbase default
trace
rtl8139 = pci, tcp

Affects net::rtl8139

fs default = pci

Affects drivers::fs, drivers::virtio

tcp default dhcpv4 rtl8139? = smoltcp

Affects kernel::mmio, kernel::mmio, drivers::net, fd::socket, fd::ObjectInterface.accept, fd::ObjectInterface.connect, fd::ObjectInterface.bind, fd::ObjectInterface.listen, fd::ObjectInterface.setsockopt, fd::ObjectInterface.getsockopt, fd::ObjectInterface.getsockname, fd::ObjectInterface.getpeername, fd::ObjectInterface.shutdown, syscalls::net, drivers::virtio

dhcpv4 default = tcp

Enables proto-dhcpv4 and socket-dhcpv4 of smoltcp ^0.10

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.

include-transformed smp
pci-ids default
smoltcp dhcpv4 tcp

Enables smoltcp ^0.10