Cargo Features
[dependencies]
krnl = { version = "0.1.1", default-features = false, features = ["device", "serde"] }
- default = device
-
The
device
feature is set by default wheneverkrnl
is added without
somewhere in the dependency tree.default-features = false - device default
-
Enables device functionality. Not supported on the web.
Enables ash ^0.37.1, crossbeam-channel, dashmap ^5.3.4, fxhash, rspirv ^0.11.0, and vulkano ^0.33.0
Affects
device::error.DeviceIndexOutOfRange
… - serde
-
Enables serde and serde_bytes, serde of krnl-core