Cargo Features
[dependencies]
vivisect = { version = "0.1.13", default-features = false, features = ["std", "alloc", "endian_fd", "elf32", "elf64", "mach32", "mach64", "pe64", "archive"] }
- default = archive, elf32, elf64, endian_fd, mach32, mach64, pe32, pe64, std
-
These default features are set whenever
vivisect
is added without
somewhere in the dependency tree.default-features = false - std default = alloc
-
Affects
vivisect::peek
… - alloc archive endian_fd mach32 mach64 pe32 pe64 std = log
-
Affects
vivisect::error
,elf::symver
… - endian_fd default mach32 mach64 pe32 pe64 = alloc
- elf32 default
-
Affects
vivisect::elf32
,vivisect::elf
,elf::symver
… - elf64 default
-
Affects
vivisect::elf64
,vivisect::elf
,elf::symver
… - mach32 default = alloc, endian_fd
-
for now we will require mach and pe to be alloc + endian_fd
Affects
vivisect::mach
… - mach64 default = alloc, endian_fd
-
Affects
vivisect::mach
… - pe32 pe64 default = alloc, endian_fd
-
Affects
vivisect::pe
… - archive default = alloc
-
Affects
vivisect::archive
…
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.