Cargo Features

[dependencies]
syscalls = { version = "0.6.18", default-features = false, features = ["full", "std", "all", "aarch64", "arm", "mips", "mips64", "powerpc", "powerpc64", "riscv32", "riscv64", "s390x", "sparc", "sparc64", "x86", "x86_64", "with-serde", "serde"] }
default = serde, std

These default features are set whenever syscalls is added without default-features = false somewhere in the dependency tree.

full = all, serde, std

Enables all extra features.

std default full?

Enables usage of libstd.

all full? = aarch64, arm, mips, mips64, powerpc, powerpc64, riscv32, riscv64, s390x, sparc, sparc64, x86, x86_64

Includes the syscall tables for all architectures.

aarch64 all?

Enable syscall tables for individual architectures.

Affects arch::aarch64

arm all?

Affects arch::arm

mips all?

Affects arch::mips

mips64 all?

Affects arch::mips64

powerpc all?

Affects arch::powerpc

powerpc64 all?

Affects arch::powerpc64

riscv32 all?

Affects arch::riscv32

riscv64 all?

Affects arch::riscv64

s390x all?

Affects arch::s390x

sparc all?

Affects arch::sparc

sparc64 all?

Affects arch::sparc64

x86 all?

Affects arch::x86

x86_64 all?

Affects arch::x86_64

with-serde = serde, serde_repr

Deprecated: Use serde instead.

serde default full? with-serde? = serde_repr

Enables Serialize/Deserialize impls.

Enables serde

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.

serde_repr serde with-serde?