Cargo Features
[dependencies]
axdriver = { version = "0.2.2-preview.2", default-features = false, features = ["bus-mmio", "bus-pci", "net", "block", "display", "input", "vsock", "virtio", "virtio-blk", "virtio-net", "virtio-gpu", "virtio-input", "virtio-socket", "ramdisk", "bcm2835-sdhci", "sdmmc", "ahci", "ixgbe", "fxmac", "irq", "dyn"] }
- bus-mmio
- bus-pci default
-
Enables axconfig, axdriver_pci, and axhal
- net fxmac? ixgbe? virtio-net?
-
Enables axdriver_net
Affects
axdriver::AllDevices.net,dyn::AxNetDevice… - block ahci? bcm2835-sdhci? ramdisk? sdmmc? virtio-blk?
-
Enables axdriver_block
Affects
dyn_drivers::blk,axdriver::AllDevices.block,dyn::AxBlockDevice… - display virtio-gpu?
-
Enables axdriver_display
Affects
axdriver::AllDevices.display,dyn::AxDisplayDevice… - input virtio-input?
-
Enables axdriver_input
Affects
axdriver::AllDevices.input,dyn::AxInputDevice… - vsock virtio-socket? = axdriver_vsock
-
Affects
axdriver::AllDevices.vsock,dyn::AxVsockDevice… - virtio virtio-blk? virtio-gpu? virtio-input? virtio-net? virtio-socket?
-
Enabled by features
virtio-*Enables axalloc, axconfig, axdriver_virtio, and axhal
- virtio-blk = block, virtio
-
various types of drivers
Enables block of axdriver_virtio
- virtio-net = net, virtio
-
Enables net of axdriver_virtio
- virtio-gpu = display, virtio
-
Enables gpu of axdriver_virtio
- virtio-input = input, virtio
-
Enables input of axdriver_virtio
- virtio-socket = virtio, vsock
-
Enables socket of axdriver_virtio
- ramdisk = block
-
Enables ramdisk of axdriver_block
- bcm2835-sdhci = block
-
Enables bcm2835-sdhci of axdriver_block
- sdmmc = block
-
Enables axconfig, axhal, sdmmc of axdriver_block
- ahci = block
-
Enables axconfig, axhal, ahci of axdriver_block
- ixgbe = net
-
Enables axhal, axalloc and axdma, ixgbe of axdriver_net
- fxmac = net
-
Enables axhal, axalloc and axdma, fxmac of axdriver_net
- irq
-
more devices example: e1000 = ["net", "axdriver_net/e1000"]
- default = bus-pci
-
The
bus-pcifeature is set by default wheneveraxdriveris added withoutsomewhere in the dependency tree.default-features = false - dyn
-
Enables axerrno, axhal, axklib, dma-api ^0.5, memory_addr, rdif-block, rdif-intc ^0.12, rdrive, and spin, rdif of arm-gic-driver ^0.15
Affects
axdriver::dyn_drivers…
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.