Cargo Features

[dependencies]
pelite = { version = "0.10.0", default-features = false, features = ["std", "unsafe_alignment", "mmap", "unstable", "derive_pod", "resources_nostd", "serde", "data-encoding"] }
default = derive_pod, mmap

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

std mmap

Enables std of no-std-compat

Affects util::shannon_entropy, pelite::resources, pe::Pe.resources

unsafe_alignment
mmap default = libc, std, winapi
unstable

Affects pe::headers_mut

derive_pod default

Enables derive_pod of dataview

resources_nostd = hashbrown

Affects pelite::resources, pe::Pe.resources

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 implicit feature

Enables serde

serde:

A generic serialization/deserialization framework

Affects pe::PeObject.serde_name

data-encoding implicit feature

Enables data-encoding

data-encoding:

Efficient and customizable data-encoding functions like base64, base32, and hex

hashbrown resources_nostd?

Enables hashbrown ^0.8.0

libc unix mmap
winapi win mmap