Cargo Features

hcs-rs has no features set by default.

[dependencies]
hcs-rs = { version = "0.9.1", features = ["bindings", "schema", "19h1", "vb", "utilities"] }
bindings

Affects computecore::bindings, computenetwork::bindings, computestorage::bindings, hypervdevicevirtualization::bindings

schema = base64, chrono, hex, serde, serde_json

Affects hcs-rs::netschema, hcs-rs::schema

19h1

Affects bindings::HdvRegisterDoorbellPage, bindings::HdvUnregisterDoorbellPage, hypervdevicevirtualization::register_doorbell_page, hypervdevicevirtualization::unregister_doorbell_page, device_assignment::DeviceType, device_assignment::Device.device_type, device_assignment::Device.location_path, system::SystemExitStatus.exit_type, virtual_machines::Devices.virtio_serial, compute::MemoryBackingPageSize, compute::Memory.backing_page_size, compute::Memory.pin_backing_pages, compute::Memory.forbid_small_backing_pages, compute::Memory.enable_cold_discard_hint, compute::Processor.enable_perfmon_pmu, compute::Processor.enable_perfmon_pebs, compute::Processor.enable_perfmon_lbr, compute::Processor.enable_perfmon_ipt, resources::Uefi.stop_on_boot_failure, resources::LinuxKernelDirect

vb
utilities

Affects computecore::utilities, hypervdevicevirtualization::utilities

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.

chrono schema?
base64 schema?

Enables base64 ^0.10.1

hex schema?

Enables hex ^0.3.2

serde schema?
serde_json schema?