Cargo Features

c_ffi has no features set by default.

c-ffi = { version = "0.4.6", features = ["memory"] }
memory = libc, smart-ptr

Affects c-ffi::memory, c-ffi::env

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features.

libc memory?

Enables libc

Enable with libc feature to access C standard library

Affects c-ffi::locale, c-ffi::process, c-ffi::int, c-ffi::memory, c-ffi::env

smart-ptr memory?

Enables smart-ptr ^0.4