Cargo Features
[dependencies]
inject-lib = { version = "0.3.3", default-features = false, features = ["std", "alloc", "nightly", "ntdll", "x86tox64"] }
- default = alloc, std
-
These default features are set whenever
inject-lib
is added without
somewhere in the dependency tree.default-features = false - std default = alloc
-
Enables mmap of pelite, std of widestring and std of once_cell
once_cell:
Enables
once_cell::sync
module. - alloc default std
-
Enables alloc of once_cell and widestring
once_cell:
Enables
once_cell::race::OnceBox
type. - nightly
- ntdll x86tox64? = ntapi
- x86tox64 = ntdll
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.