Cargo Features

[dependencies]
ethox = { version = "0.0.2", default-features = false, features = ["alloc", "std", "sys"] }
default = alloc

The alloc feature is set by default whenever ethox is added without default-features = false somewhere in the dependency tree.

alloc default std?

Interact with the alloc crate from std

std = alloc

Interact with all of std

Affects sys::wait, ipv4::ParseCidrError

sys = libc

Have libc-based platform dependent sockets

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.

libc sys?