Cargo Features

northstar-runtime has no features set by default.

[dependencies]
northstar-runtime = { version = "0.9.1", features = ["api", "npk", "rexec", "runtime", "seccomp"] }
api runtime? = bytes, futures, npk, pkg-version, serde_json, tokio, tokio-util

Affects northstar-runtime::api

npk api? runtime? seccomp? = base64, byteorder, ed25519-dalek, hex, humanize-rs, itertools, pkg-version, rand_core, seccomp, serde_json, serde_plain, serde_with, serde_yaml, sha2, strum, strum_macros, tempfile, toml, uuid, zeroize, zip

Affects northstar-runtime::npk

rexec = memfd, nix
runtime = api, async-stream, async-trait, bincode, bindgen, bytesize, caps, cgroups-rs, ed25519-dalek, futures, heck, hex, hmac, humantime-serde, inotify, itertools, lazy_static, libc, memfd, memoffset, nanoid, nix, npk, rlimit, serde_plain, tempfile, tokio, tokio-eventfd, tokio-util, umask, url

Affects northstar-runtime::runtime

seccomp npk? = bindgen, caps, lazy_static, memoffset, nix, npk

Affects northstar-runtime::seccomp

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.

async-stream runtime?
async-trait runtime?
base64 npk?

Enables base64 ^0.21.5

bincode runtime?
byteorder npk?
bytes api?
bytesize runtime?
caps runtime? seccomp?
cgroups-rs runtime?
ed25519-dalek npk? runtime?
futures api? runtime?
heck runtime?

Enables heck ^0.4.1

hex npk? runtime?
hmac runtime?
humanize-rs npk?
humantime-serde runtime?
inotify runtime?
itertools npk? runtime?

Enables itertools ^0.11.0

lazy_static runtime? seccomp?
libc runtime?
memfd rexec? runtime?
memoffset runtime? seccomp?
nanoid runtime?
nix rexec? runtime? seccomp?

Enables nix ^0.27.1

pkg-version api? npk?
rand_core npk?
rlimit runtime?
serde_json api? npk?
serde_plain npk? runtime?
serde_with npk?
serde_yaml npk?
sha2 npk?
strum npk?

Enables strum ^0.25.0

strum_macros npk?

Enables strum_macros ^0.25.3

tempfile npk? runtime?
tokio api? runtime?
tokio-eventfd runtime?
tokio-util api? runtime?
toml npk?

Enables toml ^0.7.6

umask runtime?
url runtime?
uuid npk?
zeroize npk?
zip npk?

Enables zip ^0.6.6

bindgen build runtime? seccomp?

Enables bindgen ^0.65.1