Cargo Features

nrf5340-hal has no features set by default.

[dependencies]
nrf5340-hal = { version = "0.0.0", features = ["app-core", "net-core"] }
app-core = nrf5340-app-pac
net-core = nrf5340-net-pac

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.

nrf5340-app-pac app-core?

Enables nrf5340-app-pac ^0.1.0

nrf5340-net-pac net-core?

Enables nrf5340-net-pac ^0.1.0