Cargo Features
[dependencies]
moto-sys = { version = "0.2.0", default-features = false, features = ["rustc-dep-of-std", "userspace"] }
- default = userspace
-
The
userspace
feature is set by default whenevermoto-sys
is added without
somewhere in the dependency tree.default-features = false - rustc-dep-of-std = alloc, compiler_builtins, core, userspace
- userspace default rustc-dep-of-std?
-
Affects
moto-sys::time
,moto-sys::align_up
,moto-sys::current_cpu
,moto-sys::num_cpus
,stats::get_cpu_usage
,syscalls::RaiiHandle
,syscalls::do_syscall
…
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.